php mvc auth system
1.0.0
OOP PHP MVC Authorization system without framework. Included 2 languages, main(profile) page, page authorization and page registration with same fields and upload photo. Docker running Nginx, PHP-FPM, Composer, MySQL and PHPMyAdmin.
To install Git, download it and install following the instructions :
git clone https://github.com/utz0r2/php-mvc-auth-system.gitGo to the project directory :
cd php-mvc-auth-systemStart the application :
sudo docker-compose upOpen your favorite browser :
Stop and clear services
sudo docker-compose down -vWhen developing, you can use Makefile for doing the following operations :
| Name | Description |
|---|---|
| code-sniff | Check the API with PHP Code Sniffer (PSR2) |
| composer-up | Update PHP dependencies with composer |
| docker-start | Create and start containers |
| docker-stop | Stop and clear all services |
| logs | Follow log output |
| mysql-dump | Create backup of all databases |
| mysql-restore | Restore backup of all databases |
| phpmd | Analyse the API with PHP Mess Detector |
| test | Test application with phpunit |
Start the application :
sudo make docker-startdocker-compose exec -T php ./vendor/bin/phpunitdocker-compose exec -T php ./vendor/bin/phpcbf -v --standard=PSR2 ./appdocker-compose exec -T php ./vendor/bin/phpcs -v --standard=PSR2 ./appsudo docker-compose exec -T php ./vendor/bin/phpcs ./app text cleancode,codesize,controversial,design,naming,unusedcodeHello, my name is Igor Veselov. I am Senior Full Stack Web Developer. Main specialization - Ecommerce websites. Opened for interesting offers.