Answers for "spatie sluggable not working"

PHP
0

spatie sluggable not working

$model = EloquentModel:create(['name' => 'my name']); //slug is now "my-name";
$model->slug = 'my-custom-url';
$model->save(); //slug is now "my-custom-url";
Posted by: Guest on August-05-2020

Code answers related to "spatie sluggable not working"

Browse Popular Code Answers by Language