This is not recommended for very large & complex projects. Building PHP made more simple over complicated frameworks on the market. This is also one of my prototype templates.
- Quite & less modular but still easy to learn for newbies
- OOP Structured
- Documented and plenty of comments inside
- Render whether a JSON object or a web page
- Using Medoo for more easier database handling (called DB in Core)
- Multi-user login setup like the Google Auth System (disabled by default)
- Modular PHP application using Composer!
- Supports phpcs (CodeSniffer)
- Supports PHPUnit (Unstable yet)
- Knowledge in PHP 7 or higher
- Familiar in Object-Oriented Programming
- Docker
With Docker & VSCode, you can start developing without hassle, or without installing anything. Know more here.
$ composer install
NOTE: You can add more dependency by using this command
$ composer require author/dependency_name
$ yarn install
This project uses Phinx by CakePHP as database migration tool.
Just execute the following, and that's it!
$ php ./vendor/bin/phinx migrate
$ php ./vendor/bin/phinx seed:run
- Again, this is not recommended for large/complex projects
- For Apache: This project is provided with a handy .htaccess in the views folder that denies direct access to the files within the folder (so that people cannot render the views directly). However, these .htaccess files only work if you have set
AllowOverride
toAll
in your Apache Virtual Host configs. There are lots of tutorials on the web on how to do this. - Laravel's Linux is the easiest way to test your project locally!
- This project is technically a fork from panique's code base, so big thanks to him!
Licensed under MIT. You can use this script for free for any private or commercial projects.