PHP code example of lara-zeus / chaos

1. Go to this page and download the library: Download lara-zeus/chaos 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/ */

    

lara-zeus / chaos example snippets


public static function form(Form $form): Form
{
    return ChaosForms::make($form, [
        Section::make()
            ->columns()
            ->schema([
                //
            ]),
    ]);
}

public static function table(Table $table): Table
{
    return ChaosTables::make(
        static::class,
        $table,
        columns:[
            //
        ],
        actions: [
            //
        ],
        bulkActions: [
            //
        ],
        filters: [
            //
        ]
    );
}