Download the PHP package reliqarts/laravel-guided-image without Composer

On this page you can find all versions of the php package reliqarts/laravel-guided-image. 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 laravel-guided-image

Laravel Guided Image

Guided Image is an image utility package for Laravel based on Intervention Image.

Built For Laravel Build Status (all) Scrutinizer Codecov Maintainability License Latest Stable Version

 

Key Features

Guided Image can be integrated seamlessly with your existing image model.

Guided Routes

The package provides routes for generating resized/cropped/dummy images.

Image file reuse

For situations where different instances of models use the same image.

Installation & Usage

Installation

Install via composer; in console:

or require in composer.json:

then run composer update in your terminal to pull it in.

Finally, publish package resources and configuration:

You may opt to publish only configuration by using the guidedimage-config tag:

Setup

Set the desired environment variables so the package knows your image model, controller(s), etc.

Example environment config:

These variables, and more are explained within the config file.

And... it's ready! :ok_hand:

Usage

To use Guided Image you must do just that from your Image model. :smirk:

Implement the ReliqArts\GuidedImage\Contract\GuidedImage contract and use the ReliqArts\GuidedImage\Concern\Guided trait, e.g:

See example here.

Implement the ReliqArts\GuidedImage\Contract\ImageGuide contract and use the ReliqArts\GuidedImage\Concern\Guide trait from your ImageController, e.g:

See example here.

Features

Safely Remove Image (dissociate & conditionally delete the image)

An guided image instance is removed by calling the remove method. e.g:

$force is optional and is false by default.

Link Generation

You may retrieve guided links to resized or cropped images like so:

NB: In the above example _ resolves to null.

Have a look at the GuidedImage contract for more info on model functions.

For more info on controller functions see the ImageGuide contract.

Routes

Your actually routes will depend heavily on your custom configuration. Here is an example of what the routes may look like:


All versions of laravel-guided-image with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.1
intervention/image Version ^3.7
reliqarts/laravel-common Version ^8.0
ext-json Version *
ext-fileinfo Version *
anhskohbo/no-captcha Version @dev
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 reliqarts/laravel-guided-image contains the following files

Loading the files please wait ....