Skip to content

The code in this project is an example of how to create root level URLs for dynamic content without causing wildcard clashes

Notifications You must be signed in to change notification settings

tolgahanbayraktar/seo-demo

 
 

Repository files navigation

Laravel SEO Slug Demo

This is a simple project I produced to demonstrate how to make root level URL slug work with asimple service provider and the Laravel router's defaults method.

You can read about it in my article The Power of Laravel’s Route ‘defaults’ for making root level SEO pages.

Running it

To run it simply migrate a database and seeding it. Afterwards you can run php artisan route:list which shows all the routes generated. Try loading one or two of them up after running php artisan serve

About

The code in this project is an example of how to create root level URLs for dynamic content without causing wildcard clashes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.8%
  • HTML 3.5%
  • Vue 0.7%