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.git
Go to the project directory :
cd php-mvc-auth-system
Start the application :
sudo docker-compose up
Open your favorite browser :
Stop and clear services
sudo docker-compose down -v
When 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-start
docker-compose exec -T php ./vendor/bin/phpunit
docker-compose exec -T php ./vendor/bin/phpcbf -v --standard=PSR2 ./app
docker-compose exec -T php ./vendor/bin/phpcs -v --standard=PSR2 ./app
sudo docker-compose exec -T php ./vendor/bin/phpcs ./app text cleancode,codesize,controversial,design,naming,unusedcode
Hello, my name is Igor Veselov. I am Senior Full Stack Web Developer. Main specialization - Ecommerce websites. Opened for interesting offers.