Download the PHP package maniruzzaman/laravel-unique-slug without Composer
On this page you can find all versions of the php package maniruzzaman/laravel-unique-slug. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download maniruzzaman/laravel-unique-slug
More information about maniruzzaman/laravel-unique-slug
Files in maniruzzaman/laravel-unique-slug
Download maniruzzaman/laravel-unique-slug
More information about maniruzzaman/laravel-unique-slug
Files in maniruzzaman/laravel-unique-slug
Vendor maniruzzaman
Package laravel-unique-slug
Short Description A simple but beautiful unique slug generator for Laravel eloquent model.
License MIT
Homepage https://github.com/ManiruzzamanAkash/laravel-unique-slug-generator
Package laravel-unique-slug
Short Description A simple but beautiful unique slug generator for Laravel eloquent model.
License MIT
Homepage https://github.com/ManiruzzamanAkash/laravel-unique-slug-generator
Please rate this library. Is it a good library?
Informations about the package laravel-unique-slug
Laravel-unique-slug-generator
A simple but beautiful unique slug generator for Laravel eloquent model.
Installation
Configuration
Service Provider Registration
In config/app.php
, add in providers
array -
Facade Class Alias Add in aliases array -
Use from Controller
Import first the UniqueSlug facade
Example #01- Post unique slug from title
Let's assume, we have in Post
class, we've added slug
column which is unique. Now, if we passed title
and generate slug
from that, then -
Example #02 - Pass custom separator
Let's assume separator is ''
empty.
Example - Unique slug for category or any model easily
API Docs
Generate method -
Publish configuration
Configurations
Contribution
You're open to create any Pull request.
All versions of laravel-unique-slug with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package maniruzzaman/laravel-unique-slug contains the following files
Loading the files please wait ....