MVC framework for building PHP web applications
composer create-project barebone/barebone --no-dev [YOUR_PROJECT_NAME]
Setup your application details and database connection /app/config.json
Define your models as needed in /app/models
Write your controller actions in /app/controllers
Anything else under the namespace App
can be created in /app/lib
Add as many views as referenced in your controllers in /app/views
Connect your controller "actions" to URLs in /app/routes.php
You can write from models and controllers to a log in /app/logs
You can manage your database schema using migrations in /app/database
Get gulp with "npm install" in /app/frontend
, comes preconfigured for SASS and JS
Develop your frontend code /app/frontend/js
supported by Browserify and Babel.
By default SASS renders to CSS from /app/frontend/sass
, but LESS is also available.
Upload everything to Server with at least PHP 5.5 and point your virtual host to /public
Any PR is welcome. If you find issues, please report.