0

I just wonder how i can make dynamic pages in Laravel 5? I know this has properbly been asked before, however i couldn't find any questions/answers matching exactly what i need.

I'm building a CMS for myself in Laravel and i want to be able to dynamically generate new pages (stored in the database). How can i make dynamic routes, to match url's with pagenames?

eg: domain.com/{URL} where {URL} is the page, retrieved from the database storage.

Thanks in advance :)

StevenThelin
  • 235
  • 1
  • 3
  • 10

1 Answers1

0

See route parameters in the laravel docs, and this chapter of code bright.

stef
  • 1,446
  • 1
  • 17
  • 26