Releases: Vectorface/SnappyRouter
v0.4.0
v0.3.3
Version 0.3.1: Fix PHP 8.1 compat
Full Changelog: v0.3.1...v0.3.2
Version 0.3.1: Bump minimum to PHP 7.3, support PHP 8.1
What's Changed
- Support PHP 8.1, minimum to 7.3 by @francislavoie in #20
- Bump PHPUnit to v9, so we can test 8.x. Migrate the config.
- Bump PHP minimum to 7.3, we don't need older anymore
- Remove
dunit
, obsolete - Add
#[\ReturnTypeWillChange]
attributes to silence PHP 8.1 deprecations (will remove them when PHP is >=8.0) - Test on Github Actions for PHP versions 7.3 to 8.1
- Update tests to switch from
setExpectedException
toexpectException
/expectExceptionMessage
Full Changelog: v0.3.0...v0.3.1
Version 0.3.0: Bump minimum to PHP 7.0
See #19
- Bump minimum version to PHP 7.0
- Upgrade dependencies
- Add PHP-CS-Fixer config, run on everything
- Fix most warnings reported by PHPStorm
- Use Github Actions for testing rather than TravisCI
Version 0.2.1: Bug fix release
- Fix bug with
strpos
being passed an empty needle in base path handling (#18) - Upgraded tests (#17, thanks @peter279k)
- Dropped testing for PHP versions older than 5.6
Version 0.2.0: Minor Update & Features
This release includes the following changes:
- Support for overriding input stream
- Basic PSR-3 logger support
- CI pipeline updates
- RestHandler encoder improvements
- fast-route version bump
Version 0.1.1
Tiny Tweak Release
This is a bugfix release, and includes no new functionality.
Version 0.1
First release!
SnappyRouter is a lightweight router written in PHP. Our primary focus is to provide a PHP router/framework that helps alleviate common pain points when working with "seasoned" PHP applications. PHP is a very tried-and-true language with lots of older applications needing ongoing maintenance. To support this goal we take a "configuration over convention" approach.
We also provide a number of different handlers to support many common PHP application configurations such as:
- Controller/Action based routes,
- Rest-like routes with API versioning,
- Pattern matching routes (based off nikic/FastRoute),
- JSON RPC 1.0/2.0,
- Direct file invocation (wrap paths to specific files through the router).
Finally we make it easy to add your own handler if your application has some custom conventions. All of our code is fully unit tested and we run the router ourselves in production environments with multiple handlers in place. The code is easy to read and fully documented and we greatly look forward to feedback from the community!
Happy routing!