Download the PHP package vishal-pawar/image-convert without Composer

On this page you can find all versions of the php package vishal-pawar/image-convert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package image-convert

THIS PACKAGE CAN CONVERT YOUR IMAGE IN TO WEBP AND DESIRED RESOLUTION

HOW TO USE

add this line in the composer json file

composer require vishal-pawar/image-convert:v1.0.0 -w

run this command to install the package

Now, go through these steps for converting image into webp and desired resolution using our library :

firstly you need to use the helper function on the top of the file use VishalPawar\ImageConvert\helper\ImageHelper;

Now let's see the available functions

Save Image Function

This function accepts 3 param

Here is an example code snippet

In above code we are saving normal jpg images with object store disable by default

Resize & Save Image

This function accepts 5 param

Here is an example code snippet

In above code we are saving normal jpg/png images with object store disable by default

saveWebpImage function

This function works same as saveImage but it can convert you png/jpg image into webp formate webpImage.

This function accepts 3 param

Here is an example code snippet

In above code we are saving normal jpg images with object store disable by default

Resize & Save Image

This function works same as resizeSaveImage but it can convert you png/jpg image into webp formate resizeSaveWebpImage.

This function accepts 5 param

Here is an example code snippet

In above code we are saving normal jpg/png images with object store disable by default

HOW WE CAN USE THE OBJECT STORAGE FUNCTIONALITY

To save you Image into Object storage like digital ocean

Create Config File in you app/config folder with name ImageConvert.php

specify these things to getting started

To save store you image into Object store you need to pass true or 1 at the end of the function.


All versions of image-convert with dependencies

PHP Build Version
Package Version
Requires intervention/image Version ^2.5
league/flysystem-aws-s3-v3 Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vishal-pawar/image-convert contains the following files

Loading the files please wait ....