Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yngfoxx/php-boilerplate
- Owner: yngfoxx
- Created: 2021-04-29T14:01:02.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-16T07:30:57.000Z (over 3 years ago)
- Last Synced: 2024-11-18T15:44:13.292Z (3 months ago)
- Topics: boilerplate-template, lesscss, mvc, php, twig, vuejs
- Language: JavaScript
- Homepage:
- Size: 2.94 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)