Jump to content
Sign in to follow this  
lilmer

Dynamic URL

Recommended Posts

I am new to Laravel,

I have registration form which set an extension on the URL on the database table for each user.
Example.

Quote

www.site.com/my-choose-name

I am using Laravel 5.6. Anyone can suggest what is  the best way to get check if the URL exist on the database and it will proceed.

As I now I try to set the Model and make a condition on the config/routes.php  to check if the extension from database, but I know it is not the best solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.