Laravel.io
<?php namespace App;

use Cviebrock\EloquentSluggable\Sluggable;

use Illuminate\Database\Eloquent\Model;
use Nestable\NestableTrait;

class Catalog extends Model  {
    
    use Sluggable;
    use NestableTrait;
    
    public function sluggable()
    {
        return [
            'slug' => [
                'source' => 'title'
            ]
        ];
    }

    protected $table = 'catalogs';

    
    protected $guarded = ['id'];

    public function category()
    {
        return $this->belongsTo('App\CategoryCatalog','title','category_id');
    }

}

Please note that all pasted data is publicly available.