PHP Fat-Free Framework

Home

Fat-Free Framework is a powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!

Condensed in a single 55KB file, F3 gives you solid foundation, a mature code base, and a no-nonsense approach to writing Web applications. Under the hood is an easy-to-use Web development tool kit, a high-performance URL routing engine, i18n support for multilingual applications, HTML forms processor, integrated multilayer cache engine, spam and bandwidth theft protection, unit testing tools, and code profiler. It's so small and fast - it even has a throttle for controlling Web server traffic.

Whether you're a novice or an expert PHP programmer, F3 will get you up and running in no time. No unnecessary and painstaking installation procedures. No complex configuration required. No convoluted directory structures. It's all object-oriented, but you can use it as a procedural code library if you know nothing about OOP. There's no better time to start developing Web applications the easy way than right now!

No other PHP framework has three object-relational mappers for data abstraction and modeling:-

  • Axon is F3's smart mini-ORM for SQL databases. It's just as lightweight as the framework, and it supports MySQL, SQLite, MSSQL/Sybase, dblib, and PostgreSQL. No configuration needed.
  • M2 is the MongoDB mapper. F3 supports NoSQL off-the-shelf.
  • Think database engines are overkill, but you want a mapper to simplify data storage and retrieval? Jig is F3's native NoSQL implementation. It's a lightning-fast mini-ORM that uses flat files.

If you don't mind getting grease on your hands, there's a plug-in for fine-tuning and direct interaction with SQL databases. That's not all. F3 is packaged with other optional plug-ins that extend its capabilities:-

  • Fast and clean template engine,
  • Dynamic XML sitemaps,
  • Atom/RSS feed reader,
  • CAPTCHA, thumbnail and fake image generator,
  • On-the-fly Javascript/CSS compressor,
  • Identicons,
  • User authentication,
  • OpenID (consumer),
  • Custom logger,
  • Network diagnostics,
  • Lightweight subsets of PHP's mb_string and intl extensions,
  • SMTP over SSL/TLS,
  • API wrappers for Google, Twitter, Yahoo! and Akismet,
  • Tools for communicating with other servers
  • ZIP archive manager,
  • And more!
Unlike other frameworks, F3 aims to be usable - not usual.

The philosophy behind the framework and its approach to the Model-View-Controller design pattern is towards minimalism in structural components, avoiding application complexity and striking a balance between code elegance, application performance and programmer productivity.

Version 2.0 Has Arrived

The latest official release marks a major milestone in the development of the Fat-Free Framework. Packed with exciting new features and outstanding documentation that took several months to develop and refine, version 2.0 is finally available for download. Still as user-friendly as before. Same lightweight footprint. Yet sturdier and more powerful than ever!

It is highly recommended that users upgrade to this new version to take advantage of the latest features and significant performance improvements. Check out the Migration Guide.

Reviews

If you're looking for independent reviews and tutorials to find out how well the framework performs (on its own, and in comparison to other PHP frameworks), visit these pages:

F3 redefines the meaning of "lightweight", "easy to use", and "fast". All these in one tiny supercharged package!