PHP code example of michaelfrank / dynamicphoto

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

    

michaelfrank / dynamicphoto example snippets


Route::post('/uploud-photo', 'APIs\UploudImages@uploud');

use michaelFrank\dynamicphoto\config\CkeditorUploud;

public function uploud(Request $req){
  $file =  new CkeditorUploud();
  $saved = $file->uploadAction($req, 'Album01');
  return $saved;
}
bash
php artisan vendor:publish --tag=config
bash
php artisan make:controller APIs/UploudImages