Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yngfoxx/php-boilerplate

PHP Boilerplate
https://github.com/yngfoxx/php-boilerplate

boilerplate-template lesscss mvc php twig vuejs

Last synced: 24 days ago
JSON representation

PHP Boilerplate

Awesome Lists containing this project

README

        

# Stephen's PHP Boiler Plate

A boilerplate similar to Symfony's architecture using Twig and VueJs for frontend and MySQL

## Installation

- Git clone this repo to the root of your site.
```bash
git clone https://github.com/itsYoungFox/stephens-php-boilerplate.git
```
- Change the parameters in the .htaccess file to match the configuration of your server.
```
2 | SetEnv HTTP_APP_ENV "dev" or "prod"
3 | SetEnv HTTP_SERVER_ROOT ""
|
5 | DirectoryIndex //index.php
|
12 | RewriteBase //
|
19 | RewriteRule ^(.*)$ //index.php [QSA]
```
- run `composer update` to install composer dependencies.
- That's all! simple stuff.

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)