Halim's avatar
Level 2

Eloquent-Sluggable with Lumen

Hi there,

Is anyone used this package with Lumen,

https://github.com/cviebrock/eloquent-sluggable

  • I tried to install it but not work when I tried to publish it,
  • I think Lumen does not support publish, and you should do it manually...,
  • I did lot of search on google but nothing about Lumen, all answers is for Laravel :(,

Please advice Thank you,

0 likes
1 reply
ahmismail's avatar

You have to add:

$app->register(Cviebrock\EloquentSluggable\ServiceProvider::class);

Inside your bootstrap/app.php and before $app->withEloquent();

1 like

Please or to participate in this conversation.