OriginPHP is a MVC web application framework for PHP developers designed to be fast, easy to use (and learn) and scalable.
- High Performance and low memory usage: The bookmarks demo with multiple database associations and callbacks uses about 800k without debug. The framework itself is 1.4mb without git data and frameworks unit tests.
- MVC (Model View Controller) design pattern.
- Dockerized Development Environment - Highly Recommended!!!
- Console Apps: build console apps
- Autoloading with Composer full integrated.
- Easy to use Routing
- ORM: Works with MySQL and has easy to use finders.
- Cache: supports file, APCu, Memcached, Reddis out of the box.
- Queue: Speed up processing time by running background jobs without having to install addtional servers such as beanstalk.
- Helpers: View helpers include forms, date,number with an easy to use localization. If you want to use the Intl extention, there is a helper for that too.
- Integration Testing - Test your controllers and console apps with minimal lines of code.
- Middleware: An easy to understand and use middleware system for those who must have it.
- Code Generation: Generate your apps using existing database schema, effortlessly adjust the templates before generating them and bang! Its how you want it.
- Plugins: build resuable apps within apps, called plugins.
- Events: integrate events so that you can communicate between different parts of your web application.
- Render JSON and XML views with no extra effort or files!
- Includes annotations to help your IDE with code completion (and guide you to what things do). If you are not using Visual Studio Code then i recommend you give it a go.
- and much much more
See the documentation to find out more. If you want to help contribute make this even better then I would love to hear from you.
The bookmarks demo app can be found here https://bookmarks.originphp.com/users/login. You can get a feel for some of the features and performance.
The username is
email@example.com and the password is
This library is heavily inspired by CakePHP 2.x and CakePHP 3.x. (You might even call it CakePHP 5.0)