baldeweg/extra-bundle

Offers tools for management of users, testing and setup.

Installs: 918

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:symfony-bundle

v55.0.3 2023-09-19 15:35 UTC

README

Offers tools for management of users, testing and setup.

Getting Started

composer req baldeweg/extra-bundle

Activate the bundle in your config/bundles.php, if not done automatically.

Baldeweg\Bundle\ExtraBundle\BaldewegExtraBundle::class => ['all' => true],

User

Add optional routes to your config/routes.yaml. The me endpoint gives you some details of the current user. Change your password with the password endpoint. For more info have a look into the corresponding classes.

me:
  path: /api/me
  controller: Baldeweg\Bundle\ExtraBundle\Service\MeUser::me
  methods: GET

password:
  path: /api/password
  controller: Baldeweg\Bundle\ExtraBundle\Service\PasswordUser::password
  methods: PUT

Maker

  • make:extra:subscriber - Create a Subscriber