Example of Microservices Application development using PHP
- Make sure you are using php 7.1+, composer, and MySQL
- git clone git@github.com:Khachornchit/PHP-Symfony-4-Microservices.git
- cd SymfonyMicroservices
- composer install
- Update mysql connection in .env file at DATABASE_URL
- Example
- DATABASE_URL=mysql://root:1234@127.0.0.1:3306/microservices
- Run follow command 6.1-6.2 to create database and table in MySQL
- 6.1 php bin/console doctrine:database:create
- 6.2 php bin/console doctrine:migrations:migrate
* php bin/console pluto:hello
* php bin/console pluto:user:create
* php bin/console pluto:user:read
* php bin/console pluto:user:update
* php bin/console pluto:user:delete