mx13/slugable
Composer 安装命令:
composer require mx13/slugable
包简介
A package to add slug functionality to an Eloquent model
README 文档
README
Introduction
A package to add slug functionality to an Eloquent model.
Installation
Install the package through Composer.
Run the Composer require command from the Terminal:
composer require mx13/slugable
Usage
- The Eloquent model should implement the
\MX13\Slugable\SlugInterfacecontract which enforces implementing thegetSlugColumn()method which returns the name of the slug column. - The Eloquent model should use
\MX13\Slugable\Slugabletrait which has all the functionality needed to make the Eloquent model slugable.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-20