Comments (13)
Hi, what's the status on L5 compatibilty?
from eloquent-sluggable.
Have you tried dev-develop
? To be honest, I haven't had a chance to look at this before. But now that L5 has been released, the plan is to package this up in the next few days.
So, try the develop
branch and let me know if you have any issues with it.
from eloquent-sluggable.
After install and run 'artisan php' on the terminal
my composer.json
"require": {
"laravel/framework": "5.0.*",
"illuminate/html": "~5.0",
"cviebrock/eloquent-sluggable": "dev-develop"
},
...
app.config
..
'Cviebrock\EloquentSluggable\SluggableServiceProvider',
..
composer dump-autoload
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /MyFolder/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:226
Stack trace:
#0 /MyFolder/vendor/cviebrock/eloquent-sluggable/src/Cviebrock/EloquentSluggable/SluggableServiceProvider.php(22): Illuminate\Support\ServiceProvider->__call('package', Array)
#1 /MyFolder/vendor/cviebrock/eloquent-sluggable/src/Cviebrock/EloquentSluggable/SluggableServiceProvider.php(22): Cviebrock\EloquentSluggable\SluggableServiceProvider->package('cviebrock/eloqu...')
#2 [internal function]: Cviebrock\EloquentSluggable\SluggableServiceProvider->boot()
#3 /MyFolder/vendor/laravel/framework/src/Illuminate/Container/Container.php(523): call_user_func_array(Array, Array)
#4 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(631): Illuminate\Container\Container->call(Array)
#5 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(613): Illuminate\Foundation\Application->bootProvider(Object(Cviebrock\EloquentSluggable\SluggableServiceProvider))
#6 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Cviebrock\EloquentSluggable\SluggableServiceProvider), 19)
#7 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(614): array_walk(Array, Object(Closure))
#8 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(15): Illuminate\Foundation\Application->boot()
#9 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(165): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#10 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(192): Illuminate\Foundation\Application->bootstrapWith(Array)
#11 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(89): Illuminate\Foundation\Console\Kernel->bootstrap()
#12 /MyFolder/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 {main}
from eloquent-sluggable.
I get the same error, using the dev-develop branch.
from eloquent-sluggable.
I'm getting the same error. Any news?
from eloquent-sluggable.
Yeah, I kinda broke it while trying to consolidate everything for L5. Sorry! :(
Composer is being super slow for me today, but I'm getting it all organized and will try and push up an alpha version for L5 later today.
from eloquent-sluggable.
nice, looking forward to testing your changes!
from eloquent-sluggable.
That would be awesome! It's one of the final pieces to finish upgrade my project to L5.
from eloquent-sluggable.
Want to try dev-master
now?
from eloquent-sluggable.
Hi Colin, I tried it but the slug column in the database remains empty. No
time to debug now unfortunately so perhaps I've made a mistake. Will
investigate tomorrow!
2015-02-10 21:05 GMT+01:00 Colin Viebrock [email protected]:
Want to try dev-master now?
—
Reply to this email directly or view it on GitHub
#92 (comment)
.
from eloquent-sluggable.
dev-master seems to work for me now. Did a quick test with a seeder.
from eloquent-sluggable.
Silly me, I had commented out the SluggableServiceProvider in the
configuration. It's working like a charm! Thanks!!
2015-02-11 6:47 GMT+01:00 Jack Scott [email protected]:
dev-master seems to work for me now. Did a quick test with a seeder.
—
Reply to this email directly or view it on GitHub
#92 (comment)
.
from eloquent-sluggable.
👍
from eloquent-sluggable.
Related Issues (20)
- Slug still duplicated when generate new one with exact same title HOT 3
- Polymorphic One-to-One (Question) HOT 1
- Conditionally force new slug HOT 4
- slug another language HOT 1
- Checking the pull request HOT 1
- Sluggable HOT 1
- throw new \UnexpectedValueException HOT 2
- Я
- Laravel 10 support HOT 8
- Laravel 10 Install issue... HOT 1
- Should findBySlugOrFail return Model instead? HOT 1
- Issue when testing a model factory using make() HOT 3
- Turkish character slug problem
- Slugging behavior when creating a new model varies depending on onUpdate setting HOT 4
- Is it possible to use the slug as source? HOT 4
- SluggableScopeHelpers Trait: Support for orWhere and whereIn HOT 1
- Slugging with Laravel Nova HOT 4
- Remove HTML Tags Before Creating Slug HOT 3
- Bug when using $with properties that include belongTo relationships HOT 7
- Case-sensitivity and slug uniqueness HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eloquent-sluggable.