PHPackages                             oasys/core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. oasys/core

ActiveLibrary[HTTP &amp; Networking](/categories/http)

oasys/core
==========

Minimal PSR-compatible HTTP framework with routing, middleware pipeline, and exception handling

v1.0.0(5mo ago)013MITPHPPHP ^8.2

Since Dec 6Pushed 5mo agoCompare

[ Source](https://github.com/kweensey/oasys-core)[ Packagist](https://packagist.org/packages/oasys/core)[ RSS](/packages/oasys-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

Oasys
=====

[](#oasys)

Minimal HTTP framework for modern PHP.

Works with any PSR-7 messages, PSR-15 middleware, and PSR-11 container.

- Manual and attribute-based routing
- Controller and method level middleware pipeline
- Exception-to-handler mapping
- Small dependency-free kernel

---

Installation
------------

[](#installation)

Example using PHP-DI container and Guzzle's request/response:

```
composer require oasys/core
composer require php-di/php-di
composer require guzzlehttp/psr7
```

---

Quick start
-----------

[](#quick-start)

`public/index.php`:

```
