Download the PHP package hiddeco/laravel-giphy without Composer

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

Laravel Giphy

LARAVEL GIPHY

Laravel Giphy is a Giphy API wrapper for Laravel (and Lumen but ssh, don't tell anyone), providing an easy to access Giphy facade.

Installation

To use this package without running in to trouble you will need PHP 5.5+ or HHVM 3.6+, and Composer.

  1. Get the latest version of Laravel Giphy, add the following line to your composer.json file

    `

  2. Run composer update or composer install

  3. Register the Laravel Giphy service provider in config/app.php by adding 'HiddeCo\Giphy\GiphyServiceProvider to the providers key

  4. Add the Giphy facade to the aliases key: 'Giphy' => 'HiddeCo\Giphy\Facades\Giphy'

Configuration

The only configuration Laravel Giphy needs is a GIPHY_API_KEY in your .env file. A public beta key is available in the Giphy API Documentation.

Note: On Laravel it is also possible to configure Laravel Giphy by running php artisan config:publish and adding your apiKey to config/giphy.php.

Injecting Giphy

Injecting Giphy in to a controller could not have been any easier.

``

The API

Using this package to communicate with the Giphy API is fairly simple by using the Giphy facade.

Giphy: GIFs

Do you want to find a sweet GIF based on a keyword, translate a keyword to just one GIF or just get a random GIF? It is all possible.

Giphy::gif->search($query, $params = [])

Searches all GIFs for the provided word or phrase and accepts 4 optional parameters as array.

Gipgy::gif()->get($id)

Returns JSON meta data about a GIF by id. ``

Giphy::gif()->getMultiple($ids = [])

Returns JSON meta data about mulitple GIFs by id. ``

Giphy::gif()->translate($query, $params = [])

Returns a GIF from the Giphy 'translation engine', enter a keyword and get a GIF translation back. Accepts 2 optional parameters.

Giphy::gif()->random($params = [])

Returns a random GIF, limitation is possible by using the following optional parameters.

``

Giphy::gif()->trending($params = [])

Returns currently trending GIFs on the internet. Accepts 3 optional parameters.

``

Giphy: Stickers

Giphy stickers are animated stickers (animated GIFs with transparent backgrounds).

Giphy::sticker()->search($query, $params = [])

Searches all sticker GIFs for the provided word or phrase and accepts 4 optional parameters as array.

Giphy::sticker()->translate($query, $params = [])

Returns a sticker GIF from the Giphy 'translation engine', enter a keyword and get a sticker GIF translation back. Accepts 2 optional parameters.

Giphy::sticker()->random($params = [])

Returns a random sticker GIF, limitation is possible by using the following optional parameters.

``

Giphy::sticker()->trending($params = [])

Returns currently trending sticker GIFs on the internet. Accepts 3 optional parameters.

``

License

Laravel Giphy is licensed under the MIT License (MIT).


All versions of laravel-giphy with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version 5.0.*|5.1.*
guzzlehttp/guzzle Version ~5.0|~5.3
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 hiddeco/laravel-giphy contains the following files

Loading the files please wait ....