Code Monkey home page Code Monkey logo

Comments (13)

freekmurze avatar freekmurze commented on May 20, 2024

Hi, what's the status on L5 compatibilty?

from eloquent-sluggable.

cviebrock avatar cviebrock commented on May 20, 2024

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.

ricardocanelas avatar ricardocanelas commented on May 20, 2024

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.

oknoote avatar oknoote commented on May 20, 2024

I get the same error, using the dev-develop branch.

from eloquent-sluggable.

ttocskcaj avatar ttocskcaj commented on May 20, 2024

I'm getting the same error. Any news?

from eloquent-sluggable.

cviebrock avatar cviebrock commented on May 20, 2024

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.

freekmurze avatar freekmurze commented on May 20, 2024

nice, looking forward to testing your changes!

from eloquent-sluggable.

oknoote avatar oknoote commented on May 20, 2024

That would be awesome! It's one of the final pieces to finish upgrade my project to L5.

from eloquent-sluggable.

cviebrock avatar cviebrock commented on May 20, 2024

Want to try dev-master now?

from eloquent-sluggable.

oknoote avatar oknoote commented on May 20, 2024

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.

ttocskcaj avatar ttocskcaj commented on May 20, 2024

dev-master seems to work for me now. Did a quick test with a seeder.

from eloquent-sluggable.

oknoote avatar oknoote commented on May 20, 2024

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.

cviebrock avatar cviebrock commented on May 20, 2024

👍

from eloquent-sluggable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.