A minimal PHP MVC framework from scratch
This is a minimal web MVC framework written in PHP from scratch. It is for demonstration purpose only. It is not efficient, secured or ready for use in production.
apps folder of your WAPP/MAPP/LAPP installation).
git clone git@github.com:yunpengn/PHP-MVC.git
composer.json.
composer install
apache2/conf/bitnami/bitnami-apps-prefix.conf (the path may be different):
Include "C:/WAPP/apps/PHP-MVC/config/httpd.conf"
config folder under the PHP-MVC folder we cloned just now.
config.example.php and httpd.example.conf each, and rename them to config.php and httpd.conf respectively.config.php to fit your actual settings.httpd.conf to the correct ones according to your WAPP/MAPP/LAPP installation path.http://localhost/mvc (do not use https). Now you should see an empty page.A simple blog system is available on the example branch of this repository. It supports basic user sign up/login/log out. It also supports posting blogs.
The following frameworks and/or resources are being used:
The idea is inspired by the following work:
This repository is under GNU General Public Licence 3.0.
You have the freedom to distribute copies of any content within this repository, if and only if, under the same licence. In other words, you must make sure that these copies are also free and open source.
Also, anything provided here is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.