Skip to content
A micro web framework - lightweight and flexible open source PHP5 MVC framework
PHP JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
conf
lib
tool
web
.htaccess
LICENSE
README.md
dispatcher.php

README.md

Thin PHP Framework

Thin PHP Framework is a lightweight, flexible open source PHP5 MVC framework. It aims to be a fast, simple and highly extensible framework.

Thin PHP Framework is suitable for web developers who want a robust framework to start their projects but don't want too many dependencies or unnecessary code like other big frameworks.

Features:

  • MVC (Model-View-Controller), OOP
  • RAD: download, unzip and start coding your ideas
  • URL routing to the controllers
  • Multi languages, i18n support
  • Log messages
  • Extension (plugin) system
  • Auto generate code (DB tables to VO (value object) classes)
  • Code is optimized: cache URI routes, minify js, css files, etc.
  • OAuth signin using: Google, Facebook, Twitter, etc.

Support:

  • Data-access layer: PDO (Mysql, SQLite...)
  • MongoDB
  • View layer (Template engine): support Smarty (optional)
  • Caching: APC, Memcache
  • Apache, nginx
  • jQuery

And More:

  • Easy to apply the framework to most Website Templates
  • Validate instantly (ajax), both client side and server side
  • Sanitize input data
  • Anti flooding
  • Minify, compress and cache js, css files
  • Prevent form resubmission, remote Post... with form token
  • Switch different views for: themes, languages...
  • Built-in extensions: authentication, captcha, twitter, editor, wiki, code highlighter
  • Authentication extension supports OAuth signin using: Google, Facebook, Twitter...
  • Google Analytics helpers, to track events, auto track ajax links, outbound links

Website

Please visit the website for more information and documentation:

http://thinphp.com

This source code is deployed live as a demo at: http://demo.thinphp.com

Download

System Requirements: TPF requires PHP 5.2 or later. PHP 5.4+ is recommended.

http://thinphp.com/download

Documentation:

http://thinphp.com/docs

Change Log:

http://bit.ly/thinphp-change-log

License

http://bit.ly/TPFLicense

Contact Us

http://thinphp.com/contact-us

You can’t perform that action at this time.