https://github.com/0mars/clean-architecture-symfony
An opninionated clean architecture implementation [Symfony 4, PHP, REST, Docker, MongoDB, Doctrine ODM]
https://github.com/0mars/clean-architecture-symfony
clean-architecture docker doctrine microservice mongodb php rest restful-api symfony
Last synced: about 1 year ago
JSON representation
An opninionated clean architecture implementation [Symfony 4, PHP, REST, Docker, MongoDB, Doctrine ODM]
- Host: GitHub
- URL: https://github.com/0mars/clean-architecture-symfony
- Owner: 0mars
- Created: 2019-08-15T13:01:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T05:54:01.000Z (about 5 years ago)
- Last Synced: 2025-04-13T11:41:28.927Z (about 1 year ago)
- Topics: clean-architecture, docker, doctrine, microservice, mongodb, php, rest, restful-api, symfony
- Language: PHP
- Homepage:
- Size: 514 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clean Architecture in PHP Symfony
An example project following clean architecture principles in Symfony
Setup instructions
==================
1. create a .env file
```
cp .env.dist .env
```
2. create containers
```
make start
```
3. build php app
- install vendor packages
- check style/mess detector
- run unit tests
```
make build-php-app php
```
4. restart php container
```
make restart php
```
Hosts
=====
Service
- URL: http://localhost:8021/
Documentation
=============
- README.md
- docs/architecture_overview.pdf
- Swagger/OpenAPI
- json: http://localhost:8021/api/docs.json
- swagger ui: http://localhost:8021/docs/