Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/khachornchit/php-symfony4-microservices

Example of Microservices Application development using PHP
https://github.com/khachornchit/php-symfony4-microservices

composer entity-framework mysql oop orm php repository symfony-application symfony-console symfony-micro-framework symfony2

Last synced: 25 days ago
JSON representation

Example of Microservices Application development using PHP

Awesome Lists containing this project

README

        

# Symfony Microservices Application
Example of Microservices Application development using PHP

## Setup Guide
1. Make sure you are using php 7.1+, composer, and MySQL
2. git clone [email protected]:Khachornchit/PHP-Symfony-4-Microservices.git
3. cd SymfonyMicroservices
4. composer install
5. Update mysql connection in .env file at DATABASE_URL
* **Example**
* DATABASE_URL=mysql://root:[email protected]:3306/microservices
6. 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

## Command List
### Hello
* php bin/console pluto:hello

### CREATE User
* php bin/console pluto:user:create

### READ User
* php bin/console pluto:user:read

### UPDATE User
* php bin/console pluto:user:update

### DELETE User
* php bin/console pluto:user:delete