PHPackages                             thiagogomesverissimo/symfony\_traditional\_login - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. thiagogomesverissimo/symfony\_traditional\_login

ActiveProject[Authentication &amp; Authorization](/categories/authentication)

thiagogomesverissimo/symfony\_traditional\_login
================================================

v1.0.1(8y ago)2205MITPHPPHP ^7.1.3

Since Jun 9Pushed 7y ago2 watchersCompare

[ Source](https://github.com/thiagogomesverissimo/symfony_traditional_login)[ Packagist](https://packagist.org/packages/thiagogomesverissimo/symfony_traditional_login)[ RSS](/packages/thiagogomesverissimo-symfony-traditional-login/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (27)Versions (3)Used By (0)

Symfony 4 Traditional Login Form with users from database (migrations available to mysql)
=========================================================================================

[](#symfony-4-traditional-login-form-with-users-from-database-migrations-available-to-mysql)

This project is an basic implementation of traditional login form with users from database on symfony, as described in the [https://symfony.com/doc/current/security/form\_login\_setup.html](https://symfony.com/doc/current/security/form_login_setup.html) and some codes from [symfony demo](https://github.com/symfony/demo)

[![Symfony 4 Traditional Login Form with users from database (migrations available to mysql)](https://camo.githubusercontent.com/8e7d024f1afe49132c578c5730243d73b3a264566ae3fad5e7df5b8633da2d76/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f50784346734f5347317a672f302e6a7067)](https://www.youtube.com/watch?v=PxCFsOSG1zg)

Included:

- login and logout routes configured
- web crud and commands to manage users in database
- passwords encoded with bcrypt

Not Included:

- Registration to anonymous
- Area to user to change the own password

The main reason for this project is to be a start point to another projects thet depends of local users to work.

Deploy
======

[](#deploy)

Download lastest release:

```
composer create-project thiagogomesverissimo/symfony_traditional_login

```

Download branch master:

```
composer create-project thiagogomesverissimo/symfony_traditional_login -s dev

```

Configure .env variables and run migrations (only for mysql users):

```
php bin/console doctrine:migrations:migrate

```

Up server:

```
php bin/console server:run

```

Three suggestions to create users on database:
----------------------------------------------

[](#three-suggestions-to-create-users-on-database)

### 1. To use data fixtures that create two users: *admin* and *user*, same for passwords:

[](#1-to-use-data-fixtures-that-create-two-users-admin-and-user-same-for-passwords)

```
 php bin/console doctrine:fixtures:load

```

### 2. To use command:

[](#2-to-use-command)

```
php bin/console app:add-user user user123
php bin/console app:add-user admin admin123 --admin
php bin/console app:list-users
php bin/console app:delete-user admin
php bin/console app:delete-user user

```

### 3. For learning purposes, you can use psysh:

[](#3-for-learning-purposes-you-can-use-psysh)

```
bin/console psysh
$em = $container->get('doctrine')->getManager()
$admin = new App\Entity\User
$admin->setUsername('admin')
$password = $container->get('security.password_encoder')->encodePassword($admin, 'admin')
$admin->setPassword($password)
$em->persist($admin)
$em->flush()

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2943d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/908508?v=4)[Thiago Gomes Verissimo](/maintainers/thiagogomesverissimo)[@thiagogomesverissimo](https://github.com/thiagogomesverissimo)

---

Top Contributors

[![thiagogomesverissimo](https://avatars.githubusercontent.com/u/908508?v=4)](https://github.com/thiagogomesverissimo "thiagogomesverissimo (25 commits)")

### Embed Badge

![Health badge](/badges/thiagogomesverissimo-symfony-traditional-login/health.svg)

```
[![Health](https://phpackages.com/badges/thiagogomesverissimo-symfony-traditional-login/health.svg)](https://phpackages.com/packages/thiagogomesverissimo-symfony-traditional-login)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M719](/packages/sylius-sylius)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M379](/packages/easycorp-easyadmin-bundle)[forumify/forumify-platform

122.0k12](/packages/forumify-forumify-platform)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
