baldeweg / extra-bundle
此包已被弃用且不再维护。未建议替代包。
提供用户管理、测试和设置工具。
v55.0.3
2023-09-19 15:35 UTC
Requires
- php: >=8.2
- doctrine/orm: ^2.16
- symfony/console: ^6.3
- symfony/dependency-injection: ^6.3
- symfony/form: ^6.3
- symfony/framework-bundle: ^6.3
- symfony/http-foundation: ^6.3
- symfony/options-resolver: ^6.3
- symfony/security-bundle: ^6.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.23
- phpunit/phpunit: ^10.3
- symfony/maker-bundle: ^1.50
- symfony/var-dumper: ^6.3
This package is auto-updated.
Last update: 2024-07-16 12:29:54 UTC
README
提供用户管理、测试和设置工具。
入门
composer req baldeweg/extra-bundle
如果自动完成,请在 config/bundles.php
中激活此包。
Baldeweg\Bundle\ExtraBundle\BaldewegExtraBundle::class => ['all' => true],
用户
将可选路由添加到您的 config/routes.yaml
。使用 me
端点获取当前用户的详细信息。通过 password
端点更改您的密码。更多详情请查看相应的类。
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
制作人
- make:extra:subscriber - 创建订阅者