-
- Downloads
Add a new "core" bundle which other bundles can depend on.
This is meant to for sharing code between the main app and the bundles
parents
No related branches found
No related tags found
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- README.md 4 additions, 0 deletionsREADME.md
- composer.json 47 additions, 0 deletionscomposer.json
- phpstan.neon 14 additions, 0 deletionsphpstan.neon
- phpunit.xml.dist 35 additions, 0 deletionsphpunit.xml.dist
- psalm.xml 16 additions, 0 deletionspsalm.xml
- src/DbpCoreBundle.php 15 additions, 0 deletionssrc/DbpCoreBundle.php
- src/DependencyInjection/Configuration.php 16 additions, 0 deletionssrc/DependencyInjection/Configuration.php
- src/DependencyInjection/DbpCoreExtension.php 21 additions, 0 deletionssrc/DependencyInjection/DbpCoreExtension.php
- src/Resources/config/services.yaml 2 additions, 0 deletionssrc/Resources/config/services.yaml
- tests/bootstrap.php 11 additions, 0 deletionstests/bootstrap.php
.gitignore
0 → 100644
README.md
0 → 100644
composer.json
0 → 100644
{ | |||
"name": "dbp/api-core-bundle", | |||
"type": "symfony-bundle", | |||
"license": "AGPL-3.0-or-later", | |||
"require": { | |||
"php": "^7.2.24", | |||
"api-platform/core": "^2.4", | |||
"symfony/framework-bundle": "^4.1.12" | |||
}, | |||
"require-dev": { | |||
"symfony/phpunit-bridge": "^4.4", | |||
"vimeo/psalm": "^3.12", | |||
"phpstan/phpstan": "^0.12.33", | |||
"phpstan/phpstan-phpunit": "^0.12.13" | |||
}, | |||
"autoload": { | |||
"psr-4": { | |||
"DBP\\API\\CoreBundle\\": "src/" | |||
} | |||
}, | |||
"autoload-dev": { | |||
"psr-4": { | |||
"DBP\\API\\CoreBundle\\Tests\\": "tests/" | |||
} | |||
}, | |||
"config": { | |||
"sort-packages": true, | |||
"platform": { | |||
"php": "7.2.24" | |||
} | |||
}, | |||
"scripts": { | |||
"test": [ | |||
"@php vendor/bin/simple-phpunit" | |||
], | |||
"phpstan": [ | |||
"@php vendor/bin/phpstan analyze --ansi" | |||
], | |||
"psalm": [ | |||
"@php vendor/bin/psalm" | |||
], | |||
"lint": [ | |||
"@composer run phpstan", | |||
"@composer run psalm" | |||
] | |||
} | |||
} |
phpstan.neon
0 → 100644
phpunit.xml.dist
0 → 100644
psalm.xml
0 → 100644
src/DbpCoreBundle.php
0 → 100644
src/DependencyInjection/Configuration.php
0 → 100644
src/DependencyInjection/DbpCoreExtension.php
0 → 100644
src/Resources/config/services.yaml
0 → 100644
tests/bootstrap.php
0 → 100644
Please register or sign in to comment