public function tags($tag)
    {
        return $this->model->where('is_published', 1)
            ->where('published_at', '<=', Carbon::now(config('app.timezone'))->format('Y-m-d H:i:s'))
            ->where('tags', 'LIKE', '%'.$tag.'%')->orderBy('created_at', 'desc')
            ->paginate(config('cms.pagination', 24));
    }
public function tags($tag)
    {
        return $this->model->where('is_published', 1)
            ->where('published_at', '<=', Carbon::now(config('app.timezone'))->format('Y-m-d H:i:s'))
            ->where('tags', 'LIKE', '%'.$tag.'%')->orderBy('created_at', 'desc')
            ->paginate(config('cms.pagination', 24));
    }
public function tags ( $ tag ) { return $ this -> model -> where ( 'is_published' , 1 ) -> where ( 'published_at' , '<=' , Carbon :: now ( config ( 'app.timezone' ) ) -> format ( 'Y-m-d H:i:s' ) ) -> where ( 'tags' , 'LIKE' , '%' . $ tag . '%' ) -> orderBy ( 'created_at' , 'desc' ) -> paginate ( config ( 'cms.pagination' , 24 ) ) ; }
Blog tags, with similar name

@param  string $tag

@return Illuminate\Support\Collection
Blog tags with similar name