Built with Slim Micro Framework 4 in an ADR-ish pattern (Action-Domain-Responder).
- Log in/Log out
- Add/edit/delete/view user
- PSR-7 HTTP message interfaces: slim/psr-7
- PSR-11 Container interface: PHP-DI
- PSR-2 coding style
- PSR-4 autoloading
- PHP Codesniffer runs automatically before every
git commit
using GrumPHP - Twig for templates
- Phinx for database migrations
- PHP 7.4+
- MySQL 5.5+
$ cd /var/www/public_html
$ git clone https://github.com/biesbjerg/user-management.git ./
$ composer install
$ cp config/.env.example config/.env
$ nano config/.env
DATABASE_HOST=localhost
DATABASE=users
DATABASE_USER=users
DATABASE_PASSWORD=your_password
$ vendor/bin/phinx migrate
...
$ vendor/bin/phinx seed:run