jorisros / boilerplate-bundle
Package info
github.com/jorisros/BoilerPlateBundle
Type:symfony-bundle
pkg:composer/jorisros/boilerplate-bundle
v1.3
2023-03-04 11:23 UTC
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
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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