Closed tomkochi closed 6 years ago
How did you installed the library?
Use:
composer req gregwar/image
And then include the vendor/autoload.php
file generated by composer in your code
Thanks a lot, dear.
Actually, I missed to include the autoload.php
Anyway, it's great work! I love your plugin. Its superb.
Now I am up to searching if you have more plugins... I am sure there will be.
Fantastic work!
On Mon, Jan 1, 2018 at 4:00 PM, Grégoire Passault notifications@github.com wrote:
How did you installed the library?
Use:
composer req gregwar/image
And then include the vendor/autoload.php file generated by composer in your code
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Gregwar/Image/issues/146#issuecomment-354646689, or mute the thread https://github.com/notifications/unsubscribe-auth/Af7vuVCwDVSBIYJ-Ul366l1kBwyDY1q3ks5tGLPEgaJpZM4RQA2R .
packagist.org
will be the place you want then ;-)
I am new to use composer. when i use image resize svcript it gives the error: Fatal error: Class 'Gregwar\Image\Image' not found in index.php on line 3
index.php: <?php use Gregwar\Image\Image;
Image::open('in.jpg') ->resize(100, 100) ->negate() ->save('out.jpg');