Surface is simple, light-weight, MVC based framework written in PHP to provide a faster, secure and efficent way to build websites.
- Object Relational Mapper used - Eloquent
- Templating Engine - Twig
- Simple Router
- Serverend Validation
- SMTP settings to send mail
- Easy and simple middlewares
- MVC design pattern
- Easy integration with 3rd party packages
git clone https://github.com/feat7/Surface.git <app-name>
cd <app-name>
composer install
To serve:
php -S 0.0.0.0:8000
Checkout http://localhost:8000
in your browser!
- Install
LAMP
stack on your PC. - Install virtualhost bash script.
- Create a virtualhost as per given in above link.
cd /var/www/
- Delete the folder created by your virtualhost. Please note the name of the folder before deleting.
git clone https://github.com/feat7/Surface.git <folder-name-you-just-deleted>
- Open that folder in terminal and run
composer install
- Done! Check the website from your browser!
If you're using XAMPP
then simply move of the contents to htdocs
folder. Note that htdocs should be root folder and don't make any subfolder inside it.
I will make the installation procedure easier and more convenient. Create issue if you face any problem regarding installation. Router will be very robust and flexible in next version.
- New Router
- Command Line Interface tool
- Migrations from CLI
- SHELL to debug
- PHPUnit for unit tests
- Docker implementation.
- suggest more..
Please create issue first if you're planning to contribute.
The MIT LICENSE. See LICENSE for more.