PHP code example of nagara / metode-skripshit
1. Go to this page and download the library: Download nagara/metode-skripshit 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/ */
nagara / metode-skripshit example snippets
// another code here
use Nagara\Src\Img\ImgMagic;
$image = new ImgMagic;
$path = "naruto.jpg";
$image->filter($path, "grayscale");
bash
php -S localhost:8000