Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khachornchit/php-symfony-4-crud
Develop PHP Web API Application using PHP Symfony 4.2 framework to develop full functionality of CRUD by using Entity, Repository, Doctrine, ORM, MySQL, Docker, Docker-compose, etc. Feel free to contact Pluto Solutions at [email protected]
https://github.com/khachornchit/php-symfony-4-crud
ddd entity mysql oop php repository symfony-application symfony-web symfony4
Last synced: 11 days ago
JSON representation
Develop PHP Web API Application using PHP Symfony 4.2 framework to develop full functionality of CRUD by using Entity, Repository, Doctrine, ORM, MySQL, Docker, Docker-compose, etc. Feel free to contact Pluto Solutions at [email protected]
- Host: GitHub
- URL: https://github.com/khachornchit/php-symfony-4-crud
- Owner: khachornchit
- License: mit
- Created: 2019-02-14T13:01:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T14:30:49.000Z (almost 5 years ago)
- Last Synced: 2024-11-10T12:47:05.663Z (2 months ago)
- Topics: ddd, entity, mysql, oop, php, repository, symfony-application, symfony-web, symfony4
- Language: PHP
- Homepage:
- Size: 298 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Symfony 4.2 CRUD API Development
`Develop PHP Web API Application using PHP Symfony 4.2 framework to develop full functionality of CRUD by using Entity, Repository, Doctrine, ORM, MySQL, Docker, Docker-compose, etc.`#### Contact Information
* Author : Pluto Solutions
* Web : http://plutosolutions.net#### Setup
* git clone [email protected]:plutosolutions/PHP-Symfony-4-CRUD.git
* cd PHP-Symfony-4-CRUD
* composer install#### Update database configuration at file .env
* DATABASE_URL=mysql://{username}:{password}@{host}:{port}/{database}#### Create database using follow command
* php bin/console doctrine:database:create
* php bin/console doctrine:migrations:migrate#### Start server
* php bin/console server:run localhost:8000
* browse http://localhost:8000#### Example API
* POST /api/users
* GET /api/users
* GET /api/users/{id}
* PUT /api/users/{id}
* DELETE /api/users/{id}