loadsman / symfony-plugin
Symfony plugin for Loadsman
0.0.1
2017-03-03 11:30 UTC
Requires
- php: >=5.4.0
- loadsman/php-contract: ^0.0.4
- symfony/framework-bundle: 3.*
Requires (Dev)
- phpunit/phpunit: ^5.7
- scrutinizer/ocular: ^1.3
This package is not auto-updated.
Last update: 2024-12-08 02:03:08 UTC
README
Installation
- Require this package with composer:
composer require loadsman/symfony-plugin
- Add
LoadsmanSymfonyBundle
toAppKernel
as dev bundle. Like this:
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { // ... new \Loadsman\SymfonyPlugin\LoadsmanSymfonyBundle(), }
- Then add routes to
routing_dev.yml
:
loadsman-symfony: resource: "@LoadsmanSymfonyBundle/Controller/" type: annotation
Licence
MIT