New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Allow customisation of routes #54
Comments
I will keep an eye out for it. Thanks, |
FYI PR is up in #55 😄 |
Awesome package! Could you please publish this issue and release a new version? |
Created release. Thanks for catching that. |
Great, thank you. The only thing - 3 releases before there was v2.4.2 published, and then 1.1.1, and then 1.2.0. Is that intentional? |
Good catch, that’s just a bonehead error on my part. All fixed :) |
Thanks a lot! :) |
I think this would be a good feature to add.
I think the best way to do this would be similar to how the base laravel auth routes are registered.
You would add
LaravelLogger::routes()
to your routes file for your app, and this would take an array of config options, such as:etc
This would be applied to the routes, which would then be added to the app's router routes.
Obviously would have to make it backwards compatible.
The other way would be to allow you to disable the routes with a config option, and then you could add them yourself to your routes file (using the full controller namespace + name)
I'll try and get a PR up when I have a chance :)
This is related to #17
The text was updated successfully, but these errors were encountered: