jorisros / boilerplate-bundle
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.1
- symfony/config: ^5.4|^6.0
- symfony/dependency-injection: ^5.4|^6.0
- symfony/http-kernel: ^5.4|^6.0
Requires (Dev)
- phpunit/phpunit: ^9.6|^10.0
README
This libary is an boilerplate for writing new bundles in Symfony.
Usage
Run the following command to add the bundle to your project.
composer require jorisros/boilerplate-bundle
To see if the bundle is correctly installed run the following command.
php bin/console debug:container jorisros.service.example
The result should be look like:
Information for Service "jorisros.service.example"
==================================================
---------------- --------------------------------------------
Option Value
---------------- --------------------------------------------
Service ID jorisros.service.example
Class JorisRos\BoilerPlateBundle\Service\Example
Tags -
Public yes
Synthetic no
Lazy no
Shared yes
Abstract no
Autowired no
Autoconfigured no
Usages none
---------------- --------------------------------------------
Then the bundle is succesful installed.
Tests
Run the tests as followed
php vendor/bin/phpunit tests