Change sluggable implementation

This commit is contained in:
Jonny Barnes 2017-06-13 19:17:55 +01:00
parent e409cf68f9
commit 522f06162e
7 changed files with 285 additions and 58 deletions

160
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "7cfa8f05a76283f45a0f1a30d00ecbad",
"content-hash": "af5dc6e36b50396acecb6c17d3392645",
"packages": [
{
"name": "aws/aws-sdk-php",
@ -180,6 +180,70 @@
],
"time": "2016-08-19T16:43:44+00:00"
},
{
"name": "cocur/slugify",
"version": "v2.5",
"source": {
"type": "git",
"url": "https://github.com/cocur/slugify.git",
"reference": "e8167e9a3236044afebd6e8ab13ebeb3ec9ca145"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cocur/slugify/zipball/e8167e9a3236044afebd6e8ab13ebeb3ec9ca145",
"reference": "e8167e9a3236044afebd6e8ab13ebeb3ec9ca145",
"shasum": ""
},
"require": {
"php": ">=5.5.9"
},
"require-dev": {
"laravel/framework": "~5.1",
"latte/latte": "~2.2",
"league/container": "^2.2.0",
"mikey179/vfsstream": "~1.6",
"mockery/mockery": "~0.9",
"nette/di": "~2.2",
"phpunit/phpunit": "~4.8|~5.2",
"pimple/pimple": "~1.1",
"plumphp/plum": "~0.1",
"silex/silex": "~1.3",
"symfony/config": "~2.4|~3.0",
"symfony/dependency-injection": "~2.4|~3.0",
"symfony/http-kernel": "~2.4|~3.0",
"twig/twig": "~1.26|~2.0",
"zendframework/zend-modulemanager": "~2.2",
"zendframework/zend-servicemanager": "~2.2",
"zendframework/zend-view": "~2.2"
},
"type": "library",
"autoload": {
"psr-4": {
"Cocur\\Slugify\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ivo Bathke",
"email": "ivo.bathke@gmail.com"
},
{
"name": "Florian Eckerstorfer",
"email": "florian@eckerstorfer.co",
"homepage": "https://florian.ec"
}
],
"description": "Converts a string into a slug.",
"keywords": [
"slug",
"slugify"
],
"time": "2017-03-23T21:52:55+00:00"
},
{
"name": "composer/ca-bundle",
"version": "1.0.7",
@ -239,6 +303,58 @@
],
"time": "2017-03-06T11:59:08+00:00"
},
{
"name": "cviebrock/eloquent-sluggable",
"version": "4.2.3",
"source": {
"type": "git",
"url": "https://github.com/cviebrock/eloquent-sluggable.git",
"reference": "cbeb6e16b783173dbb95e00f78237d349e73c07d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cviebrock/eloquent-sluggable/zipball/cbeb6e16b783173dbb95e00f78237d349e73c07d",
"reference": "cbeb6e16b783173dbb95e00f78237d349e73c07d",
"shasum": ""
},
"require": {
"cocur/slugify": "^2.3",
"illuminate/config": "^5.4",
"illuminate/database": "^5.4",
"illuminate/support": "^5.4",
"php": ">=5.6.4 || ^7.0"
},
"require-dev": {
"mockery/mockery": "^0.9.4",
"orchestra/database": "~3.4",
"orchestra/testbench": "^3.4",
"phpunit/phpunit": "~5.7"
},
"type": "library",
"autoload": {
"psr-4": {
"Cviebrock\\EloquentSluggable\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Colin Viebrock",
"email": "colin@viebrock.ca"
}
],
"description": "Easy creation of slugs for your Eloquent models in Laravel 5.",
"homepage": "https://github.com/cviebrock/eloquent-sluggable",
"keywords": [
"eloquent",
"laravel",
"slug"
],
"time": "2017-04-18T15:03:20+00:00"
},
{
"name": "dnoegel/php-xdg-base-dir",
"version": "0.1",
@ -1971,48 +2087,6 @@
"description": "Flysystem adapter for the AWS S3 SDK v3.x",
"time": "2017-06-08T13:37:03+00:00"
},
{
"name": "martinbean/laravel-sluggable-trait",
"version": "0.2.0",
"source": {
"type": "git",
"url": "https://github.com/martinbean/laravel-sluggable-trait.git",
"reference": "8984dc9bc2596814f79baf44aeb9a39c9c07b149"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/martinbean/laravel-sluggable-trait/zipball/8984dc9bc2596814f79baf44aeb9a39c9c07b149",
"reference": "8984dc9bc2596814f79baf44aeb9a39c9c07b149",
"shasum": ""
},
"require": {
"illuminate/database": ">=4.0",
"illuminate/support": ">=4.0",
"php": ">=5.4.0"
},
"type": "library",
"autoload": {
"psr-4": {
"MartinBean\\Database\\Eloquent\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Martin Bean",
"email": "martin@martinbean.co.uk"
}
],
"description": "A trait you can apply to Eloquent models to have slugs automatically generated on save.",
"keywords": [
"eloquent",
"laravel"
],
"time": "2015-02-17T22:47:44+00:00"
},
{
"name": "mf2/mf2",
"version": "v0.3.2",