Download the PHP package devtemple/lara-lol without Composer

On this page you can find all versions of the php package devtemple/lara-lol. 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 lara-lol

Laralol

This is a Laravel package which let you faster getting data from League of Legends API.

Getting Started

Install this package with packagist.

Installing

Type with you terminal:

Set API key

Open your .env file and set a which you can generate on the League of Legends developers API page

Options

You can export config files:

Default server:

Default season:

Possible is define server with every new call endpoint with function:

ex.

How use

League of Legends API giving use some endpoint to get different data from the RIOT servers.

Every call to endpoint require one function:

If you want, you can set attribute with fields you want get from the call. You can define array with fields or one field. You can set it empty and get all data from the endpoint.

ex.

List of all fields for specific endpoints you can find on League of Legends API Full Reference

Champion

Champion endpoint let us get some data about champions. This endpoint don't have any specified for it functions.

ex.

Champion Mastery

Champion Mastery Endpoint let us get information about masteries champions for specified summoner. We have some functions which we can use for get some data.

This function let us get a scores for specified summoner ID

This function give us information about scores for every summoner champion by summoner ID

This function give us information about scores for specific champion ID and summoner ID

ex.

League

League endpoint give you some data about challenger and masters leagues and leagues for specified summoners. You can do this with some specified functions.

This combination functions let you get information about challenger or master league:

This function let you get league by league ID

This function let you get leagues for specified summoner ID

ex.

Lol Status

Lol Status endpoint give you information about specified server. This endpoint don't have any specified functions.

ex.

Match

Match endpoint give you some data about matches and timelines for specific match. This endpoint have a some specified functions.

Options which you can use is:

// Notice: Working with tournament code require specific policy for your API.

ex.

Spectator

Spectator endpoint give you some information about summoner if he is in game or give you featured games. You can take information with two specified functions.

This function return for you featured games:

This function give you information if user is in game now:

ex.

Summoner

Summoner endpoint let us get data about summoner like a account ID, summoner ID, name or icon ID. This endpoint has some functions which let us get awesome data from League of Legends API.

This functions let us get information about summoner:

ex.

Third Party Code

Third Party Code endpoint return for you third party code defined in the League of Legends Client. You can do this with one specified function.

This function give you third party code for specified summoner:

ex.

TOURNAMENT STUB

This endpoint let you work with Tournament codes and tournament matches. This is a stub for testing and only working on development . If you want know to options, go on lol api reference and check what you can use.

This function give you tournament stub data:

TOURNAMENT

This endpoint let you use all functions from tournament stub endpoint and extra few functions. You need to remember if you want use this endpoint, you need a .

Check some additional functions:

Built With

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details


All versions of lara-lol with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
guzzlehttp/guzzle Version ^6.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 devtemple/lara-lol contains the following files

Loading the files please wait ....