PHP code example of black-paradise / laravel-admin
1. Go to this page and download the library: Download black-paradise/laravel-admin 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/ */
black-paradise / laravel-admin example snippets
use BlackParadise\CoreAdmin\EntityDefinition;
use BlackParadise\CoreAdmin\Domain\Fields\TextField;
use BlackParadise\CoreAdmin\Domain\Fields\BooleanField;
class Users extends EntityDefinition
{
public string $model = \App\Models\User::class;
public function fields(): array
{
return [
TextField::make('name')->