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

Commit 70487b3

Browse files
committed
first commit
0 parents  commit 70487b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+6945
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor/
2+
.env

bin/selami

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env php
2+
<?php
3+
chdir(__DIR__ . '/..');
4+
5+
require 'src/Infrastructure/Ui/Console/console.php';
6+

composer.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"name": "selami/skeleton",
3+
"description": "Selami Skeleton App",
4+
"type": "project",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Mehmet Korkmaz",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"minimum-stability": "stable",
13+
"autoload": {
14+
"psr-4": {
15+
"Web\\Application\\Controller\\": "src/Infrastructure/Ui/Web/Middleware/Application/Controller",
16+
"Web\\Authentication\\Controller\\": "src/Infrastructure/Ui/Web/Middleware/Authentication/Controller",
17+
"Web\\Middleware\\": "src/Infrastructure/Ui/Web/Middleware",
18+
"Web\\Factory\\": "src/Infrastructure/Ui/Factory",
19+
"Console\\Command\\": "src/Infrastructure/Ui/Console/Command"
20+
}
21+
},
22+
"require": {
23+
"container-interop/container-interop": "^1.2",
24+
"psr/container": "^1.0",
25+
"psr/http-message": "^1.0",
26+
"psr/http-server-handler": "^1.0",
27+
"psr/http-server-middleware": "^1.0",
28+
"psr/log": "^1.1",
29+
"selami/foundation": "^0.13",
30+
"selami/router": "^1.1",
31+
"selami/views": "0.9",
32+
"zendframework/zend-config": "^3.2",
33+
"zendframework/zend-diactoros": "^2.1",
34+
"zendframework/zend-servicemanager": "^3.4",
35+
"zendframework/zend-stdlib": "^3.2",
36+
"zendframework/zend-stratigility": "^3.0",
37+
"zendframework/zend-httphandlerrunner": "^1.0",
38+
"symfony/http-foundation": "^4.2",
39+
"twig/twig": "^2.6",
40+
"twig/extensions": "^1.5",
41+
"vlucas/phpdotenv": "^2.5",
42+
"selami/console": "^1.0",
43+
"symfony/console": "^4.2",
44+
"symfony/process": "^4.2"
45+
},
46+
"require-dev": {
47+
"roave/security-advisories": "dev-master",
48+
"codeception/codeception": "^2.5",
49+
"php-coveralls/php-coveralls": "^2.1",
50+
"squizlabs/php_codesniffer": "^3.4",
51+
"phpstan/phpstan": "^0.10.6",
52+
"filp/whoops": "^2.3",
53+
"middlewares/whoops": "^1.2"
54+
},
55+
"config": {
56+
"preferred-install": {
57+
"*": "dist"
58+
},
59+
"optimize-autoloader": true,
60+
"classmap-authoritative": true
61+
},
62+
"scripts": {
63+
"post-update-cmd": [
64+
"composer dump-autoload -a"
65+
],
66+
"post-create-project-cmd": [
67+
"cp config/autoload/local.php.dist config/autoload/local.php",
68+
"cp config/autoload/view.local.php.dist config/autoload/view.local.php",
69+
"cp config/autoload/commands.local.php.dist config/autoload/commands.local.php",
70+
"cp config/autoload/dependencies.local.php.dist config/autoload/dependencies.local.php",
71+
"echo 'SELAMI_ENVIRONMENT=dev' >> .env",
72+
"composer dump-autoload -a"
73+
],
74+
"unit-tests": "vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml --configuration ./phpunit.xml",
75+
"phpstan": "vendor/bin/phpstan analyse -l 7 src test/resources/app",
76+
"phpstan-test": "vendor/bin/phpstan analyse -l 7 -c phpstan.test.neon test/SelamiTests",
77+
"phpcs": "vendor/bin/phpcs --standard=PSR2 src test test/resources/app/Contents",
78+
"phpcbf": "vendor/bin/phpcbf --standard=PSR2 src test test/resources/app/Contents"
79+
}
80+
}

0 commit comments

Comments
 (0)