PHP code example of geofftech / laravel-tools

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

    

geofftech / laravel-tools example snippets


    use HasStorage;

    protected $storage = [
        'image',
        'banner',
        'content' => 'image',
        'content' => 'image,file',
        'content' => ['image', 'file'],
    ];

    protected $storage_disk = 'private';

    protected $storage_disk = [
        'content' => 'private'
        ];