PHP code example of marcha / image2

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

    

marcha / image2 example snippets


return [
];

$image2 = new Marcha\Image2();
echo $image2->echoPhrase('Hello, Marcha!');
bash
php artisan vendor:publish --tag="image2-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="image2-config"
bash
php artisan vendor:publish --tag="image2-views"