Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.
654
stars
123
forks
source link
Fixed php-di class loader example in the README #681
In the previous version of the README, the example custom php-di class loader was importing the wrong exception (ClassNotFoundHttpException), while a different exception (NotFoundHttpException) is being used in the code, causing the code to not work.
Edit: it does make more sense to use the ClassNotFoundHttpException, so I will make a different pull request to do that.
In the previous version of the README, the example custom php-di class loader was importing the wrong exception (ClassNotFoundHttpException), while a different exception (NotFoundHttpException) is being used in the code, causing the code to not work. Edit: it does make more sense to use the ClassNotFoundHttpException, so I will make a different pull request to do that.