Typo
Typo

Changed 
$model = EloquentModel:create(['name' => 'my name']); //slug is now "my-name";
to
$model = EloquentModel::create(['name' => 'my name']); //slug is now "my-name";
spatie/laravel-sluggable