Recommend this page to a friend! |
Download |
Info | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 50 | All time: 10,703 This week: 455 |
Version | License | PHP version | Categories | |||
clean-architecture-s 1.0.0 | The PHP License | 5 | PHP 5, Systems administration, Language |
Description | Author | |||||||||||||||||||||||
This package can be used to implement a Symfony based application in a Docker container. Innovation Award |
|
An example project following clean architecture principles in Symfony
create a .env file
cp .env.dist .env
create containers
make start
make build-php-app php
restart php container
make restart php
Service - URL: http://localhost:8021/
Files (78) | / | docker |
File | Role | Description | ||
---|---|---|---|---|
grafana (1 file, 1 directory) | ||||
nginx (3 files) | ||||
prometheus (2 files) |
Files (78) | / | docker | / | grafana |
File | Role | Description | ||
---|---|---|---|---|
provisioning (2 directories) | ||||
config.monitoring | Data | Auxiliary data |
Files (78) | / | docker | / | grafana | / | provisioning |
File | Role | Description | ||
---|---|---|---|---|
dashboards (1 file) | ||||
datasources (1 file) |
Files (78) | / | docker | / | grafana | / | provisioning | / | dashboards |
File | Role | Description |
---|---|---|
dashboard.yml | Data | Auxiliary data |
Files (78) | / | docker | / | grafana | / | provisioning | / | datasources |
File | Role | Description |
---|---|---|
datasource.yml | Data | Auxiliary data |
Files (78) | / | docker | / | nginx |
File | Role | Description |
---|---|---|
Dockerfile | Data | Auxiliary data |
nginx.conf | Data | Auxiliary data |
symfony.conf | Data | Auxiliary data |
Files (78) | / | docker | / | prometheus |
File | Role | Description |
---|---|---|
alert.rules | Data | Auxiliary data |
prometheus.yml | Data | Auxiliary data |
Files (78) | / | store |
File | Role | Description | ||
---|---|---|---|---|
bin (2 files) | ||||
config (5 files, 2 directories) | ||||
public (1 file) | ||||
src (1 file, 3 directories) | ||||
tests (1 file, 1 directory) | ||||
.env | Data | Auxiliary data | ||
.env.test | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
Dockerfile | Data | Auxiliary data | ||
Makefile | Data | Auxiliary data | ||
phpmd.xml | Data | Auxiliary data | ||
phpunit.xml.dist | Data | Auxiliary data |
Files (78) | / | store | / | bin |
Files (78) | / | store | / | config |
File | Role | Description | ||
---|---|---|---|---|
packages (10 files, 3 directories) | ||||
routes (1 file, 1 directory) | ||||
bootstrap.php | Class | Class source | ||
bundles.php | Class | Class source | ||
doctrine.yaml | Data | Auxiliary data | ||
routes.yaml | Data | Auxiliary data | ||
services.yaml | Data | Auxiliary data |
Files (78) | / | store | / | config | / | packages |
File | Role | Description | ||
---|---|---|---|---|
dev (2 files) | ||||
prod (3 files) | ||||
test (4 files) | ||||
api_platform.yaml | Data | Auxiliary data | ||
cache.yaml | Data | Auxiliary data | ||
doctrine_mongodb.yaml | Data | Auxiliary data | ||
framework.yaml | Data | Auxiliary data | ||
hb_swagger_ui.yaml | Data | Auxiliary data | ||
nelmio_cors.yaml | Data | Auxiliary data | ||
routing.yaml | Data | Auxiliary data | ||
security.yaml | Data | Auxiliary data | ||
twig.yaml | Data | Auxiliary data | ||
validator.yaml | Data | Auxiliary data |
Files (78) | / | store | / | config | / | packages | / | dev |
File | Role | Description |
---|---|---|
monolog.yaml | Data | Auxiliary data |
routing.yaml | Data | Auxiliary data |
Files (78) | / | store | / | config | / | packages | / | prod |
File | Role | Description |
---|---|---|
doctrine.yaml | Data | Auxiliary data |
doctrine_mongodb.yaml | Data | Auxiliary data |
monolog.yaml | Data | Auxiliary data |
Files (78) | / | store | / | config | / | packages | / | test |
File | Role | Description |
---|---|---|
framework.yaml | Data | Auxiliary data |
monolog.yaml | Data | Auxiliary data |
routing.yaml | Data | Auxiliary data |
validator.yaml | Data | Auxiliary data |
Files (78) | / | store | / | config | / | routes |
File | Role | Description | ||
---|---|---|---|---|
dev (1 file) | ||||
api_platform.yaml | Data | Auxiliary data |
Files (78) | / | store | / | src |
File | Role | Description | ||
---|---|---|---|---|
DataProviders (1 directory) | ||||
Domain (2 directories) | ||||
EntryPoints (1 directory) | ||||
Kernel.php | Class | Class source |
Files (78) | / | store | / | src | / | DataProviders | / | Database |
File | Role | Description | ||
---|---|---|---|---|
MongoDb (2 files, 1 directory) |
Files (78) | / | store | / | src | / | DataProviders | / | Database | / | MongoDb |
File | Role | Description | ||
---|---|---|---|---|
Assemblers (1 file) | ||||
Key.php | Class | Class source | ||
MongoKeyDataProvider.php | Class | Class source |
Files (78) | / | store | / | src | / | DataProviders | / | Database | / | MongoDb | / | Assemblers |
File | Role | Description |
---|---|---|
EntryAssembler.php | Class | Class source |
Files (78) | / | store | / | src | / | Domain |
Files (78) | / | store | / | src | / | Domain | / | UseCases |
File | Role | Description | ||
---|---|---|---|---|
DataProviderDefinitions (1 file) | ||||
Exception (1 file) | ||||
DeleteAllValuesUseCase.php | Class | Class source | ||
DeleteValueUseCase.php | Class | Class source | ||
GetAllValuesUseCase.php | Class | Class source | ||
GetValueUseCase.php | Class | Class source | ||
SetValueUseCase.php | Class | Class source |
Files (78) | / | store | / | src | / | Domain | / | UseCases | / | DataProviderDefinitions |
File | Role | Description |
---|---|---|
KeyDataProvider.php | Class | Class source |
Files (78) | / | store | / | src | / | Domain | / | UseCases | / | Exception |
File | Role | Description |
---|---|---|
ValueNotFoundException.php | Class | Class source |
Files (78) | / | store | / | src | / | EntryPoints | / | Rest |
File | Role | Description | ||
---|---|---|---|---|
Assemblers (1 file) | ||||
DataProviders (1 file) | ||||
Endpoints (5 files, 1 directory) | ||||
Resources (1 file) | ||||
Responses (1 file) |
Files (78) | / | store | / | src | / | EntryPoints | / | Rest | / | Assemblers |
File | Role | Description |
---|---|---|
KeyAssembler.php | Class | Class source |
Files (78) | / | store | / | src | / | EntryPoints | / | Rest | / | DataProviders |
File | Role | Description |
---|---|---|
KeyItemDataProvider.php | Class | Class source |
Files (78) | / | store | / | src | / | EntryPoints | / | Rest | / | Endpoints |
File | Role | Description | ||
---|---|---|---|---|
Core (2 files) | ||||
DeleteAllValues.php | Class | Class source | ||
DeleteValue.php | Class | Class source | ||
GetAllValues.php | Class | Class source | ||
GetValue.php | Class | Class source | ||
SetValue.php | Class | Class source |
Files (78) | / | store | / | src | / | EntryPoints | / | Rest | / | Endpoints | / | Core |
File | Role | Description |
---|---|---|
AbstractEndpoint.php | Class | Class source |
AbstractResourceAwareEndpoint.php | Class | Class source |
Files (78) | / | store | / | src | / | EntryPoints | / | Rest | / | Resources |
File | Role | Description |
---|---|---|
Key.php | Class | Class source |
Files (78) | / | store | / | src | / | EntryPoints | / | Rest | / | Responses |
File | Role | Description |
---|---|---|
StatusResponse.php | Class | Class source |
Files (78) | / | store | / | tests |
File | Role | Description | ||
---|---|---|---|---|
Domain (1 directory) | ||||
MockeryTestCase.php | Class | Class source |
Files (78) | / | store | / | tests | / | Domain | / | UseCases |
File | Role | Description |
---|---|---|
DeleteAllValuesUseCaseTest.php | Class | Class source |
DeleteValueUseCaseTest.php | Class | Class source |
GetAllValuesUseCaseTest.php | Class | Class source |
GetValueUseCaseTest.php | Class | Class source |
SetValueUseCaseTest.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.