Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/debuss/borsch-application
- Owner: debuss
- License: mit
- Created: 2020-04-28T04:47:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-02T03:58:44.000Z (over 4 years ago)
- Last Synced: 2023-08-21T08:22:23.520Z (over 1 year ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.