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 Jun 15, 2017
0 parents commit f3c8511
Show file tree
Hide file tree
Showing 27 changed files with 1,504 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
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


14 changes: 14 additions & 0 deletions bin/console
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 added cache/.gittrack
Empty file.
24 changes: 24 additions & 0 deletions composer.json
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"
}
}
}
Loading

0 comments on commit f3c8511

Please sign in to comment.