runroom-packages / user-bundle
Manage admin users for Sonata
Installs: 3 554
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Type:symfony-bundle
Requires
- php: ^7.4 || ^8.0
- doctrine/doctrine-bundle: ^2.3
- doctrine/orm: ^2.8
- doctrine/persistence: ^2.0 || ^3.0
- psr/container: ^1.1 || ^2.0
- sonata-project/admin-bundle: ^3.103 || ^4.9
- symfony/asset: ^4.4 || ^5.4 || ^6.0
- symfony/config: ^4.4 || ^5.4 || ^6.0
- symfony/dependency-injection: ^4.4 || ^5.4 || ^6.0
- symfony/doctrine-bridge: ^4.4 || ^5.4 || ^6.0
- symfony/form: ^4.4 || ^5.4 || ^6.0
- symfony/framework-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/http-foundation: ^4.4.7 || ^5.4 || ^6.0
- symfony/http-kernel: ^4.4.13 || ^5.4 || ^6.0
- symfony/options-resolver: ^4.4 || ^5.4 || ^6.0
- symfony/routing: ^4.4 || ^5.4 || ^6.0
- symfony/security-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/security-core: ^4.4 || ^5.4 || ^6.0
- symfony/security-http: ^4.4 || ^5.4 || ^6.0
- symfony/translation: ^4.4 || ^5.4 || ^6.0
- symfony/twig-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/validator: ^4.4 || ^5.4 || ^6.0
- twig/twig: ^2.12 || ^3.0
Requires (Dev)
- matthiasnoback/symfony-config-test: ^4.2
- matthiasnoback/symfony-dependency-injection-test: ^4.1
- phpunit/phpunit: ^9.5
- runroom-packages/testing: ^0.16
- sonata-project/block-bundle: ^3.23 || ^4.11
- sonata-project/doctrine-extensions: ^1.13 || ^2.0
- sonata-project/doctrine-orm-admin-bundle: ^3.34 || ^4.0
- sonata-project/form-extensions: ^1.8 || ^2.0
- sonata-project/twig-extensions: ^1.9 || ^2.0
- symfony/browser-kit: ^5.4 || ^6.0
- symfony/mailer: ^4.4 || ^5.4 || ^6.0
- symfony/mime: ^4.4 || ^5.4 || ^6.0
- symfony/phpunit-bridge: ^6.0
- symfony/yaml: ^4.4 || ^5.4 || ^6.0
- symfonycasts/reset-password-bundle: ^1.9
- zenstruck/foundry: ^1.13.2
README
This bundle is inspired and replaces SonataUserBundle to have a working solution for Symfony 5 with the new authentication mechanism. It also picks some features of FOSUserBundle and classes generated by the SymfonyMakerBundle.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require runroom-packages/user-bundle
Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php
file of your project:
// config/bundles.php return [ // ... Runroom\UserBundle\RunroomUserBundle::class => ['all' => true], ];
Update doctrine schema
Finally, execute doctrine schema update to create the new tables:
console doctrine:schema:update --force
Contribute
The sources of this package are contained in the Runroom monorepo. We welcome contributions for this package on runroom/runroom-packages.
License
This bundle is under the MIT license.