PHP code example of umobi / laravel-simple-storage

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

    

umobi / laravel-simple-storage example snippets

 php
$user = new User();
$user->name = 'Jane Doe';
$user->image = UploadFile|File|Url;
$user->save();
 html
<img src="{!! $user->image !!}">