1. Go to this page and download the library: Download 23m/dev-panel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use TTM\DevPanel\Testing\ResourceCrudTester;
it('can do CRUD for :dataset in the dev panel', function (string $model) {
$this->actingAs(User::factory()->create());
ResourceCrudTester::for($model)->assertCanCreate();
// also: assertCanList(), assertCanEdit(), assertCanDelete()
})->with($models);