ImageFile library contains ImageFile class that allows to create and save image files from base64 encoded strings. It's very useful for APIs written via Laravel framework.
ImageFile requires PHP 7.1 and greater. To get the latest version, simply require the project using Composer:
$ composer require gevorgmelkumyan/image-file
Look at examples/example.php
file.
See the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.