Download the PHP package bnomei/kirby3-instagram without Composer

On this page you can find all versions of the php package bnomei/kirby3-instagram. 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 kirby3-instagram

Kirby 3 Instagram

Release Stars Downloads Issues Build Status Coverage Status Maintainability Demo Gitter Twitter

Kirby 3 Plugin to call Instagram (or any other) API Endpoints

  1. Instagram
  2. Any API

Commercial Usage

This plugin is free but if you use it in a commercial project please consider to

Installation

Setup

You can set the token in the config.

site/config/config.php

You can also set a callback if you use the dotenv Plugin.

site/config/config.php

Usage

Instagram

site/templates/default.php

TIP: all site()->instagram() function parameters are optional if their value is set in config.

Any API

Since you can configure the api-url, endpoint and json-root data element you could actually query any API you want not just Instagram.

TIP: since the params can be a callback you can forward any data you want and again even from an .env file. Go wild!

Cache

This plugin does have a cache unless global debug options is set or your $force the refresh because the instagram api will stop working if you push to may requests in a short period of time.

Settings

bnomei.instagram. Default Description
expire 60*24 in minutes. 0 will never expire (aka forever).
token null you could add a default token
api https://api.instagram.com/v1
endpoint users/self/media/recent you could change default endpoint
params [] you could change default params for api
json-root data node to unwrap in json response

TIP: All setting params could be callbacks. Example see Setup with DotEnv.

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

License

MIT

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.


All versions of kirby3-instagram with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
getkirby/composer-installer Version ^1.1
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 bnomei/kirby3-instagram contains the following files

Loading the files please wait ....