stakx-io / stakx

An opinionated, powerful, and simple static website generator built in PHP
https://stakx.io/
MIT License
14 stars 3 forks source link

Use the Symfony Router #99

Closed allejo closed 5 years ago

allejo commented 5 years ago

Summary

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed issues Fixes #98

Description

This PR swaps out nikic's FastRoute with Symfony's Router. This router allows for configuration to allow / to exist as route parameters which solves the problem shown in #98.

In our web server controller, routes are now being modified to allow /s but only in the last route parameter.

Check List