dayspring-tech / login-bundle
Form login user authentication for Symfony2, with forgot/reset password, change password.
Installs: 49 259
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/dayspring-tech/login-bundle
Requires
- php: >=8.0
- dayspring-tech/propel-bundle: ^6.0
- doctrine/annotations: ^1.13.1
- egulias/email-validator: ^2.1.25|^3.0|^4.0
- sensio/framework-extra-bundle: ^5.5.6|^6.0
- symfony/asset: ^5.3|^6.0
- symfony/console: ^5.2.5|^6.0
- symfony/expression-language: ^5.1|^6.0
- symfony/form: ^5.2|^6.0
- symfony/framework-bundle: ^5.4|^6.0
- symfony/mailer: ^5.2|^6.0
- symfony/monolog-bundle: ^3.6.0
- symfony/routing: ^5.3|^6.0
- symfony/security-bundle: ^5.3|^6.0
- symfony/twig-bundle: ^4.4.19|^5.0.9|^6.0
- symfony/validator: ^5.2|^6.0
- symfony/yaml: ^4.4.9|^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: ^8.5.23|^9.0
- rector/rector: ^0.19.0
- symfony/browser-kit: ^5.4|^6.0
- symfony/css-selector: ^4.4.11|^5.0|^6.0
- symfony/phpunit-bridge: ^5.0|^6.0
- 6.x-dev
- 6.0.0
- 5.2.0
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.2.0
- 4.1.0
- 4.0.1
- 4.0.0
- 2.0.0
- 1.0.0
- 0.8.1
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.1
- 0.1.0
- dev-feature/webauthn
- dev-master
- dev-feature/pen_test_remediation
- dev-feature/build-om
- dev-feature/php8
- dev-hotfix/CVE-2021-21424
- dev-feature/symfony_4
- dev-feature/deactive-forgot-password
- dev-feature/json_serialize
- dev-feature/user-modification
- dev-develop
- dev-feature/2fa-totp
This package is auto-updated.
Last update: 2025-12-01 00:06:15 UTC
README
This bundle provides basic username/password authentication, forgot/reset password, and change password.
Minimally, your security.yml should contain the following:
security:
providers:
dayspring:
id: dayspring_login.user_provider
password_hashers:
Dayspring\LoginBundle\Model\User:
algorithm: bcrypt
cost: 12
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
login:
pattern: ^/login$
security: false
secured_area:
pattern: ^/
user_checker: dayspring_login.user_checker
form_login:
check_path: _login_check
login_path: _login
default_target_path: /_demo/secure
provider: dayspring
success_handler: dayspring_login.success_handler
logout:
path: _logout
target: /
anonymous: ~
User Profiles
If your application requires additional information to be stored with the user, the recommended strategy is to create
a UserProfile model using Propel's inheritance features.
http://propelorm.org/Propel/documentation/09-inheritance.html#class-table-inheritance
Example:
<table name="user_profiles" phpName="UserProfile" idMethod="native">
<behavior name="concrete_inheritance">
<parameter name="extends" value="users" />
</behavior>
<column name="first_name" type="VARCHAR" size="100"/>
<column name="last_name" type="VARCHAR" size="100"/>
</table>