Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jan 3, 2019
0 parents commit 70487b3
Show file tree
Hide file tree
Showing 75 changed files with 6,945 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor/
.env
6 changes: 6 additions & 0 deletions bin/selami
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env php
<?php
chdir(__DIR__ . '/..');

require 'src/Infrastructure/Ui/Console/console.php';

80 changes: 80 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"name": "selami/skeleton",
"description": "Selami Skeleton App",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Mehmet Korkmaz",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Web\\Application\\Controller\\": "src/Infrastructure/Ui/Web/Middleware/Application/Controller",
"Web\\Authentication\\Controller\\": "src/Infrastructure/Ui/Web/Middleware/Authentication/Controller",
"Web\\Middleware\\": "src/Infrastructure/Ui/Web/Middleware",
"Web\\Factory\\": "src/Infrastructure/Ui/Factory",
"Console\\Command\\": "src/Infrastructure/Ui/Console/Command"
}
},
"require": {
"container-interop/container-interop": "^1.2",
"psr/container": "^1.0",
"psr/http-message": "^1.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^1.1",
"selami/foundation": "^0.13",
"selami/router": "^1.1",
"selami/views": "0.9",
"zendframework/zend-config": "^3.2",
"zendframework/zend-diactoros": "^2.1",
"zendframework/zend-servicemanager": "^3.4",
"zendframework/zend-stdlib": "^3.2",
"zendframework/zend-stratigility": "^3.0",
"zendframework/zend-httphandlerrunner": "^1.0",
"symfony/http-foundation": "^4.2",
"twig/twig": "^2.6",
"twig/extensions": "^1.5",
"vlucas/phpdotenv": "^2.5",
"selami/console": "^1.0",
"symfony/console": "^4.2",
"symfony/process": "^4.2"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"codeception/codeception": "^2.5",
"php-coveralls/php-coveralls": "^2.1",
"squizlabs/php_codesniffer": "^3.4",
"phpstan/phpstan": "^0.10.6",
"filp/whoops": "^2.3",
"middlewares/whoops": "^1.2"
},
"config": {
"preferred-install": {
"*": "dist"
},
"optimize-autoloader": true,
"classmap-authoritative": true
},
"scripts": {
"post-update-cmd": [
"composer dump-autoload -a"
],
"post-create-project-cmd": [
"cp config/autoload/local.php.dist config/autoload/local.php",
"cp config/autoload/view.local.php.dist config/autoload/view.local.php",
"cp config/autoload/commands.local.php.dist config/autoload/commands.local.php",
"cp config/autoload/dependencies.local.php.dist config/autoload/dependencies.local.php",
"echo 'SELAMI_ENVIRONMENT=dev' >> .env",
"composer dump-autoload -a"
],
"unit-tests": "vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml --configuration ./phpunit.xml",
"phpstan": "vendor/bin/phpstan analyse -l 7 src test/resources/app",
"phpstan-test": "vendor/bin/phpstan analyse -l 7 -c phpstan.test.neon test/SelamiTests",
"phpcs": "vendor/bin/phpcs --standard=PSR2 src test test/resources/app/Contents",
"phpcbf": "vendor/bin/phpcbf --standard=PSR2 src test test/resources/app/Contents"
}
}
Loading

0 comments on commit 70487b3

Please sign in to comment.