sebkay / spindle
An easy to use Slim 4 starter app. Comes with a DI container, Eloquent ORM, Twig for templating, VueJS and Sass.
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- fakerphp/faker: ^1.13
- illuminate/database: ^8.27
- monolog/monolog: ^2.2
- php-di/slim-bridge: ^3.1
- slim/csrf: ^1.0
- slim/psr7: ^1.2
- slim/slim: ^4.6
- twig/twig: ^3.1
- vlucas/phpdotenv: ^5.2
Requires (Dev)
- phpunit/phpunit: ^9.4
- spatie/ray: ^1.19
- squizlabs/php_codesniffer: ^3.5
- vimeo/psalm: ^4.1
README
What's Included
- Eloquent database models
- Dependency Injection via a container
- CSRF protection (via Slim CSRF)
- Twig 3 for templating
- Vue.js 3 for reactivity and single file components
- Sass for styling
- CSS autoprefixing (via autoprefixer)
- Webpack 5 for compiling
Why
- A single instance app makes building and testing easy.
- No hunting around fragmented include files trying to figure out what's going on.
- Using Laravel's ORM, Eloquent, makes working with the database a straightforward.
- Easily add services to the container by extending the base
App\Container\Service
class.
How
New Project
composer create-project sebkay/spindle project-name