runroom-packages / user-bundle
Manage admin users for Sonata
Installs: 3 562
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Type:symfony-bundle
Requires
- php: ^8.1
- doctrine/dbal: ^3.6 || ^4.0
- doctrine/doctrine-bundle: ^2.10
- doctrine/orm: ^2.19 || ^3.2
- doctrine/persistence: ^3.1
- psr/container: ^1.1 || ^2.0
- sonata-project/admin-bundle: ^4.25
- symfony/asset: ^6.4 || ^7.1
- symfony/config: ^6.4 || ^7.1
- symfony/dependency-injection: ^6.4 || ^7.1
- symfony/doctrine-bridge: ^6.4 || ^7.1
- symfony/form: ^6.4 || ^7.1
- symfony/framework-bundle: ^6.4 || ^7.1
- symfony/http-foundation: ^6.4 || ^7.1
- symfony/http-kernel: ^6.4 || ^7.1
- symfony/options-resolver: ^6.4 || ^7.1
- symfony/password-hasher: ^6.4 || ^7.1
- symfony/routing: ^6.4 || ^7.1
- symfony/security-bundle: ^6.4 || ^7.1
- symfony/security-core: ^6.4 || ^7.1
- symfony/security-http: ^6.4 || ^7.1
- symfony/translation: ^6.4 || ^7.1
- symfony/twig-bundle: ^6.4 || ^7.1
- symfony/validator: ^6.4 || ^7.1
- twig/twig: ^3.14
Requires (Dev)
- dama/doctrine-test-bundle: ^8.0
- matthiasnoback/symfony-config-test: ^5.1
- matthiasnoback/symfony-dependency-injection-test: ^5.1
- phpunit/phpunit: ^9.6
- runroom-packages/testing: ^0.20
- sonata-project/block-bundle: ^5.0
- sonata-project/doctrine-extensions: ^2.0
- sonata-project/doctrine-orm-admin-bundle: ^4.13
- sonata-project/form-extensions: ^2.0
- sonata-project/twig-extensions: ^2.0
- symfony/browser-kit: ^6.4 || ^7.1
- symfony/mailer: ^6.4 || ^7.1
- symfony/mime: ^6.4 || ^7.1
- symfony/phpunit-bridge: ^7.1
- symfony/yaml: ^6.4 || ^7.1
- symfonycasts/reset-password-bundle: ^1.10
- zenstruck/foundry: ^2.0
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.