Esqueleto - PHP MVC skeleton
Esqueleto is a skeleton PHP MVC application.
It aims to be simple and fast with a good structure.
Ideal for rapid prototyping.
This is a work in progress
These instructions will get you a copy of the project up and running on your local machine for development.
Edit the file with admin priviledges
Add a new line with:
On apache server, uncomment the line from the file
On the httpd-vhosts file add
<VirtualHost *:80> ServerName esqueleto.localhost DocumentRoot C:/wamp64/www/esqueleto/public <Directory "C:/wamp64/www/esqueleto/public/"> Options Indexes FollowSymLinks MultiViews AllowOverride All Require local </Directory> </VirtualHost>
Directory accordingly (point to where you put the project inside the server)
This means that, everytime
esqueleto.localhost is called in the browser, it will load the index file inside the
From the command prompt, navigate to the root of the project and execute:
Import the db located at
- Edit configs in
- Routes are defined in the db. You aldo need to update
- If you add a new controller, update the
config folder there are two files, one for development and other for production. In
public/index.php change the mode you want
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- Gonçalo Gonçalves - Initial work - http://goncalogoncalves.com/
This project is licensed under the Apache License - see the LICENSE file for details