Download the PHP
package hooman.mirghasemi/yii2-iviewer without Composer
On this page you can find all versions of the php package
hooman.mirghasemi/yii2-iviewer. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor hooman.mirghasemi Package yii2-iviewer Short Description iviewer can use for zoom and rotate image, it is use iviewer jquery plugin , and iviewerGallery widget can use for some images open in modal with iviewer zoom and rotate License
LGPL-3.0+
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.
iviewer can use for zoom and rotate image, it is use iviewer jquery plugin
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json file.
Usage
Note : you should load fontAsome in your project before use it.
Once the extension is installed, simply use it in your code by :
Or you can use it as image gallery one or more in a page that open in a bootstrap modal with next and previwe buttons
like this:
first config iviewer module in config of application
for use it in a view file write code like this:
points:
be sure that selectorId and html element contains iviwer elements
are same. and use iviewer-gallery-item-holder and iviewer-gallery-item classes for
elements. data-target should be same with selectorId+"-modal". also
data-iviewer-src is a necessary field
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 hooman.mirghasemi/yii2-iviewer contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.