Download the PHP package yongfook/bannerbear without Composer

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

Bannerbear PHP Library

A PHP wrapper for the Bannerbear API - an image and video generation service.

Documentation

Find the full API documentation here

Requirements

PHP 7.4 or Higher

Installation

Install the package with:

To use the bindings, load it via Autoload

Usage

Table of Contents

Please note that all methods return dictionaries/associative arrays. Responses can be found in the developer documentation here.

Authentication

Get the API key for your project in Bannerbear and then instantiate a new client.

Alternatively, set the API key in an environment variable named BANNERBEAR_API_KEY.

Account Info

Return info about the account or project associated with the API key.

Images

Create an Image

To create an image you reference a template uid and a list of modifications. The default is async generation meaning the API will respond with a pending status and you can use get_image to retrieve the final image.

You can also create images synchronously - this will take longer to respond but the image will be delivered in the response:

Options

Get an Image

List all images

Optionally you can provide a page and limit

Videos

Create a Video

Options

If your video is using the "Multi Overlay" build pack then you can pass in a set of frames to render via:

Get a video

Update a Video

Options

List all Videos

Options

Collections

Create multiple images in one API request.

Options for create_collection

Animated Gifs

Create a slideshow style gif

Options for create_animated_gif

Movies

Assemble video clips or still images into a single movie with transitions.

Options for create_movie

Screenshots

Take screenshots of websites.

Options for create_screenshot

Templates

Template Sets

Video Templates

Signed URLs

This gem also includes a convenient utility for generating signed urls. Authenticate as above, then:

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yongfook/bannerbear-php. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Bannerbear project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.


All versions of bannerbear with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-curl Version *
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 yongfook/bannerbear contains the following files

Loading the files please wait ....