Skip to content

Releases: Vectorface/SnappyRouter

v0.4.0

22 Jan 01:13
eae1567
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.3...v0.4.0

v0.3.3

21 Jan 23:08
c31be2c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.2...v0.3.3

Version 0.3.1: Fix PHP 8.1 compat

26 Nov 23:11
96565ec
Compare
Choose a tag to compare

Version 0.3.1: Bump minimum to PHP 7.3, support PHP 8.1

26 Nov 18:55
df4ca79
Compare
Choose a tag to compare

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 to expectException/expectExceptionMessage

Full Changelog: v0.3.0...v0.3.1

Version 0.3.0: Bump minimum to PHP 7.0

07 Dec 21:33
839e3ba
Compare
Choose a tag to compare

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

02 Sep 14:54
e47d18e
Compare
Choose a tag to compare
  • 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

08 Nov 13:35
c109042
Compare
Choose a tag to compare

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

18 Dec 17:07
Compare
Choose a tag to compare

Tiny Tweak Release

This is a bugfix release, and includes no new functionality.

Version 0.1

02 Feb 20:37
Compare
Choose a tag to compare

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!