PHP code example of krbv / minifyit

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

    

krbv / minifyit example snippets

 php
""krbv/minifyit": "0.1.*"
}
 php
'providers' => [
    Krbv\Minifyit\MinifyitServiceProvider::class
];
 php
        $this->minifyit = \App::make('minifyit');
                 
        $this->minifyit->setCSS( 

            ['/css/style.css','/css/form.css'], // will be merged in one new file.

            '/css/single.css'

         );

        $this->minifyit->setJS( \* the same *\ );
 bash
php artisan vendor:publish