PHP code example of cerbero / pest-plugin-laravel-octane

1. Go to this page and download the library: Download cerbero/pest-plugin-laravel-octane 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/ */

    

cerbero / pest-plugin-laravel-octane example snippets


test('Octane application')
    ->assertOctaneCacheMissing('foo')
    ->assertOctaneTableMissing('example', 'row')
    ->assertOctaneTableCount('example', 0)
    ->expectsConcurrencyResults([1, 2, 3])
    ->get('octane/route')
    ->assertOk()
    ->assertOctaneCacheHas('foo', 'bar')
    ->assertOctaneTableHas('example', 'row.votes', 123)
    ->assertOctaneTableCount('example', 1);