A sample Silex skeleton app that has command support (based on Symfony Console), Guzzle as HTTP client, Laravel's Fluent Query Builder and Eloquent ORM ([1], [2], [3]), and PHPMig as migration handler.
Also, if it's installed with dev-dependencies, Whoops and Symfony VarDumper is also installed.
##Installation
- Clone the repository
- Set your web root into the
public
path and redirect all the requests intopublic/index.php
file. You can refer to here for Web Server configuration. - Copy
app/config.sample.yml
toapp/config.yml
, set your timezone and fill your database credentials, - Navigate to your app or run the command.
- Start developing! 😄
Note: After installation, don't forget to check suggestions!
##Contributing
- Fork the repository
- Do your magic
- Create a pull request
Please feel free to post your suggestions and pull requests!
This repository is created while authoring the following article:
https://arda.pw/using-eloquent-and-schema-builder-commands-outside-laravel/