Download the PHP package oguzcandemircan/laravel-unique-sluggable without Composer
On this page you can find all versions of the php package oguzcandemircan/laravel-unique-sluggable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oguzcandemircan/laravel-unique-sluggable
More information about oguzcandemircan/laravel-unique-sluggable
Files in oguzcandemircan/laravel-unique-sluggable
Package laravel-unique-sluggable
Short Description This package allows you to create unique slugs. It keeps all the slugs you define in the slugs table. It also satisfies all requests and directs it to the controller you define in your model.
License MIT
Homepage https://github.com/oguzcandemircan/laravel-unique-sluggable
Informations about the package laravel-unique-sluggable
LaravelUniqueSluggable
This package allows you to create unique slugs. It keeps all the slugs you define in the slugs table. It also satisfies all requests and directs it to the controller you define in your model.
Installation
Usage
Your models should use the OguzcanDemircan\LaravelUniqueSluggable\HasSlug
trait and define slugSource
property
If you want all your requests to be captured and routed automatically, you should add the controller
property to your model.
When your application receives a request, OguzcanDemircan\LaravelUniqueSluggable\Controllers\SlugController
calls the controller class you defined in your model if there is a matching slug.
Change log
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
- Oğuzcan Demircan
- All Contributors
License
license. Please see the license file for more information.