Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/khachornchit/php-symfony4-microservices
- Owner: khachornchit
- License: mit
- Created: 2019-02-16T02:05:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-23T12:35:57.000Z (over 5 years ago)
- Last Synced: 2024-10-13T06:03:54.430Z (25 days ago)
- Topics: composer, entity-framework, mysql, oop, orm, php, repository, symfony-application, symfony-console, symfony-micro-framework, symfony2
- Language: PHP
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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