Download the PHP package acamposm/docker-engine-api-poller without Composer

On this page you can find all versions of the php package acamposm/docker-engine-api-poller. 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 docker-engine-api-poller

License Latest Stable Version Latest Unstable Version CodeFactor StyleCI Total Downloads

Docker Poller for Laravel


This package allows Laravel applications to interact with the Docker Engine API.

The Docker Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API.

Installation

You can install the package via composer and then publish the assets:

Note: We try to follow SemVer v2.0.0.

Requirements

To use this packet, you must enable first the Docker Engine API, normally the Engine API listens on port 2375, but it is configurable.

Note: In production environments, you must always secure the API with SSL encryption and control who can perform request to this API.

Usage

Basic Initialization

First, create a DockerServer instance with the details of the docker server hosts.

Note: By default, the DockerServer class uses the default port (2375) and the protocol (http) of the Docker Engine API.

Docker Engine API over HTTP

or

Docker Engine API over HTTPS

or

API Resources

Containers

Get Containers List

Get a list of the running containers in the docker host.

Get Container Details

To get the full details of a container...

Get Container Stats

Get the resources used by a single container, then use the class ContainerMetrics to get the usage of a container.

The result will be a json object with the container statistics, ready to save to a database.

Images

Get Images List

To get a list with all images on the docker host.

Get Image Details

To get the full details of an image.

Networks

Get Networks List
Get Network Details

To get the full details of a network in the docker host.

Volumes

Get Volumes List

Get a list of volumes in the docker host.

Get Volume Details

Get a list of volumes in the docker host.

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Thank you for considering contributing to the improvement of the package. Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security related issues, please send an e-mail to Angel Campos via [email protected] instead of using the issue tracker. All security vulnerabilities will be promptly addressed.

Credits

License

The package Ping is open-source package and is licensed under The MIT License (MIT). Please see License File for more information.


All versions of docker-engine-api-poller with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json 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 acamposm/docker-engine-api-poller contains the following files

Loading the files please wait ....