PHP code example of ibecsystems / admin-kit-core
1. Go to this page and download the library: Download ibecsystems/admin-kit-core 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/ */
ibecsystems / admin-kit-core example snippets
// Filament/Resources/Resource.php
public static function form(Form $form): Form
{
return $form->schema([
// other fields ...
TranslatableTabs::make(fn ($locale) => [
Forms\Components\TextInput::make("title.$locale")
->label('Title')
->
shell
php artisan admin-kit:install
shell
php artisan shield:super-admin