jorisros/boilerplate-bundle

v1.3 2023-03-04 11:23 UTC

This package is auto-updated.

Last update: 2024-04-12 07:07:19 UTC


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