Skip to content
Authentication & Registration features on Symfony 4
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
bin
config
public
src
templates
.env.dist
.gitignore
README.md
composer.json
composer.lock
package-lock.json
package.json
symfony.lock
webpack.config.js

README.md

Symfony 4 Auth

This project is a "proof of concept" to demonstrate how to build an authentication system with Symfony 4 using no dependencies (such as FOSUserBundle).

It covers the following features :

  • User registration, automatically logging the user and redirecting him to home page with a flash message
  • User login with email
  • Remember me option available on the login form
  • Automatically sets up the user's created_at timestamp upon registration using Doctrine Lifecycle events
  • Listener to prevent the user to go back to anonymous pages when logged in
  • Listener to automatically update user's last login timestamp upon every successfull authentication
  • Assets management with @symfony/webpack-encore

Live demo

https://symfony4-auth.frank-fidanza.fr/

You can’t perform that action at this time.