This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f3c8511
Showing
27 changed files
with
1,504 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Selami Example App Skeleton | ||
|
||
### Installation | ||
|
||
```bash | ||
composer create-project selami\skeleton-app myApp | ||
cd myApp | ||
cp config/autoload/local.php.dist config/autoload/local.php | ||
``` | ||
|
||
### Testing locally | ||
|
||
```bash | ||
php -S 127.0.0.1:8080 -t public/ | ||
``` | ||
|
||
### Available routes with the default installation: | ||
|
||
* http://127.0.0.1:8080/ | ||
* http://127.0.0.1:8080/category/test-category-slug | ||
* http://127.0.0.1:8080/2017/05/test-json-slug | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
declare(strict_types=1); | ||
|
||
define('SELAMI_CONSOLE_PATH', dirname(__DIR__)); | ||
|
||
require_once SELAMI_CONSOLE_PATH . '/vendor/autoload.php'; | ||
|
||
use Selami\Console\ApplicationFactory; | ||
|
||
$container = require SELAMI_CONSOLE_PATH . '/config/container.php'; | ||
|
||
$cli = ApplicationFactory::makeApplication($container); | ||
$cli->run(); |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "selami/skeleton-app", | ||
"description": "Skeleton app that is built on selami/foundation", | ||
"type": "project", | ||
"require": { | ||
"selami/foundation": "^0.3.0", | ||
"symfony/http-foundation": "^3.3", | ||
"selami/console": "^0.2.1" | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Mehmet Korkmaz", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"minimum-stability": "stable", | ||
"autoload": { | ||
"psr-4": { | ||
"SelamiApp\\": "src/apps/www/controllers", | ||
"SelamiApp\\Command\\": "src/commands" | ||
} | ||
} | ||
} |
Oops, something went wrong.