Download the PHP package axsor/laravel-phpipam without Composer

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

Laravel - PhpIPAM

Latest Stable Version Build Status StyleCI Scrutinizer Code Quality

PhpIPAM wrapper for laravel

Attention: Lastest stable version is from this repository. Actual developement is not finished and posted to packagist yet.

Index

Installation

Install it via composer:

composer require axsor/laravel-phpipam

If you are using Laravel 5.4 or lower you must add PhpIPAMServiceProvider to your config/app.php:

Higher versions will auto-discover it.

Configuration

Edit your .env file and add your PhpIPAM credentials:

And run php artisan config:cache to reload config cache.

If you want to use different PhpIPAM connections, you have to publish the config file using the next command and configure as connections as you want:

php artisan vendor:publish --provider="Axsor\\PhpIPAM\\PhpIPAMServiceProvider" --tag="config"

If in some moment you want to use other different configuration you can set it:

How to use

Object parameters nomenclature and data type must agree on PhpPIAM API Documentation.

Most of methods returns Models (Address, Subnet, ...), Collections of models or action results as boolean ('created', 'updated', ...).

When you call PhpIPAM model you can pass the ID or the model that contains the id. ex. PhpIPAM::subnet($subnetId) will return same than PhpIPAM::subnet($subnetObject).

Connections

You can set multiple instances of PhpIPAM.

Available methods

All api calls are wrapped by the controllers into Models, Collections or simple data types.

(Pending:) If you want to get the response content without wrapping you can use the same command adding "Raw" as suffix. ex. PhpIPAM::addressRaw($address). That will return you an associative array with the response content.

The model methods will call Global methods;

Section

Global methods

Model methods

Device

Global methods

Model methods

Subnet

Global methods

Model methods

Address

Global methods

Model methods

Circuit

Global methods

Model methods

Tools

Global methods

Model methods

License

GPL-3.0


All versions of laravel-phpipam with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
guzzlehttp/guzzle Version ^7.3
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 axsor/laravel-phpipam contains the following files

Loading the files please wait ....