PHP code example of elvendor / imgjss

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

    

elvendor / imgjss example snippets


@js('js/jquery.js')

@js('js/jquery')

@img('uploads/cat.jpg')

@css('css/print', ['media' => 'print'])

@js('js/translations', ['charset' => 'utf-8'], false) // disabled timestamp appending

@img('img/logo.png', ['alt' => 'Alternative text', 'class' => 'brand-logo'])

'providers' => [
  // ...
  'Elvendor\Imgjss\ImgjssServiceProvider',
],

php artisan config:publish elvendor/imgjss