PHP code example of geowrgetudor / transaction-rollback

1. Go to this page and download the library: Download geowrgetudor/transaction-rollback 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/ */

    

geowrgetudor / transaction-rollback example snippets


<livewire:transaction-rollbacks cols="full" />
bash
php artisan vendor:publish --tag="transaction-rollback-views"

return [
    // ...

    'recorders' => [
        // Existing recorders...

        \Geow\TransactionRollback\Recorders\TransactionRollbackRecorder::class => [
            'enabled' => env('GEOW_TRANSACTION_ROLLBACKS', true),
            'ignore' => [
                // Ignore connections or databases.
            ],
        ]
    ]
]