shameerc / slim-skeleton
Slim Framework 3 skeleton project with Doctrine DBAL and Aura.Di
Installs: 274
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 3
Forks: 3
Open Issues: 0
Type:project
Requires
- php: >=5.5.0
- doctrine/dbal: 2.5.*
- monolog/monolog: ^1.19
- shameerc/slim3-aura-di: ^1.0
- slim/flash: ^0.1.0
- slim/slim: ^3.4
- slim/twig-view: ^2.1
- vlucas/phpdotenv: ^2.2
This package is not auto-updated.
Last update: 2024-11-09 19:31:57 UTC
README
This is a simple Slim 3 project skeleton with Doctrine, Twig, Monolog, etc. Heavily inspired by akrabat/slim3-skeleton
We have replaced Pimple Container with Aura.Di for dependency injection.
###Installation
composer create-project shameerc/slim-skeleton
###Configuration
This project uses phpdotenv for the managing configuration values. We have a .env.example
file in the root of the project, as a placeholder for the required config values. Copy this file to .env
and change the values as needed for your development machine.
###Directory Permissions
Once you install the project, you may need to change the permission for app/storage/*
directories to make it writable by the web server.
###Run it! Now we are ready to run the application
php -S localhost:9000 -t public/