PHP code example of khelaia / pixover

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

    

khelaia / pixover example snippets


$image = new pixover($file, $filename, $upload_path);

public function store(Request $request){
    $file = $request->file('image');
    $image = new pixover($file,'thumbnail',public_path('images'));
    $image->setHight([256,512,128]);
    $image->done();
    return "success";
}
 php
khelaia\pixover\pixoverServiceProvider::class