We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4112ab5 commit 11d6baaCopy full SHA for 11d6baa
README.md
@@ -19,4 +19,15 @@ php artisan migrate
19
20
finally, paste ``` ShortUrl::routes(); ``` at the end of ``` routes/web.php ```
21
22
-Nice! Laravel short url is now set up on your homepage.
+### Advanced configuration
23
+
24
+Instead of adding ``` ShortUrl::routes(); ``` you can call three separates methods:
25
+- ``` ShortUrl::createRoutes(); ``` to shorten urls
26
+- ``` ShortUrl::manageRoutes(); ``` to manage urls
27
+- ``` ShortUrl::redirectRoute(); ``` to redirect to the url
28
29
+this allows you to add middlewares or prefix routes.
30
31
+## Nice!
32
33
+Laravel short url is now set up on your homepage.
0 commit comments