Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/debuss/borsch-application

Borsch Framework application.
https://github.com/debuss/borsch-application

Last synced: about 1 month ago
JSON representation

Borsch Framework application.

Awesome Lists containing this project

README

        

# Borsch - Application

Borsch Framework application wrapper.

This package is part of the Borsch Framework.

## Installation

Via [composer](https://getcomposer.org/) :

`composer require borsch/application`

## Usage

```php
require_once __DIR__.'/vendor/autoload.php';

use Borsch\Application\App;
use Laminas\Diactoros\ServerRequestFactory;

$app = new App();

$pipeline = (require_once __DIR__.'/config/pipeline.php');
$routes = (require_once __DIR__.'/config/routes.php');

$pipeline($app);
$routes($app);

$app->run(ServerRequestFactory::fromGlobals());
```

## License

The package is licensed under the MIT license. See [License File](https://github.com/debuss/borsch-application/blob/master/LICENSE.md) for more information.