Skip to content

Commit

Permalink
updated Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
irfanevrens committed Jul 26, 2017
1 parent 7e8f406 commit 37d3e93
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Ortaya koyulan standartlar ve önerileri herkesin benimseyerek kullanması ve ö
## Booting (index.php)

```php
<?php

require_once 'vendor/autoload.php';

$app = new \Karma\App();
Expand All @@ -34,6 +36,8 @@ $app->run();
Karma Framework `php-di/php-di` paketi ile birlikte gelmektedir ve varsayılan container olarak **php-di** kullanmaktadır.

```php
<?php

require_once 'vendor/autoload.php';

$container = \App\Base\Container::build(
Expand All @@ -46,12 +50,12 @@ $app = new \Karma\App($container);
$app->run();
```

## Rouing
## Routing

Slim Framework routing özelliklerine ek olarak Çözümleme stratejisi olarak `[\App\Controller\MainController::class, 'Index']` şeklinde bir kullanımı mümkün kılmaktadır.

```php
<?php
<?php

require_once 'vendor/autoload.php';

Expand Down

0 comments on commit 37d3e93

Please sign in to comment.