// Pro operations work seamlessly
use Backpack\Pro\Http\Controllers\Operations\CloneOperation;
use Backpack\Pro\Http\Controllers\Operations\FetchOperation;
class ArticleCrudController extends CrudController
{
use CloneOperation, FetchOperation; // ✅ Traits properly typed
public function setup()
{
$this->crud->setModel(Article::class);
$this->crud->setRoute('admin/article');
$this->crud->clone(); // ✅ Pro method resolved
$this->crud->fetch(); // ✅ Pro method resolved
}
}
CRUD::field('name')->type('text')->
bash
composer analyse
bash
composer analyse
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.