PHP code example of nham24 / macroable

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

    

nham24 / macroable example snippets


collect($posts)->paginate(5);


$request = 

request()->isApi();