Download the PHP package hiddeco/laravel-transip without Composer

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

Laravel TransIP

Build Status Scrutinizer Code Quality MIT license StyleCI SensioLabsInsight

Laravel TransIP provides a bridge between the TransIP package and Laravel 5.*.

Installation

To use this package without running into trouble you will need PHP 5.5+ or HHVM 3.6+, and Composer.

  1. Get the latest version of Laravel TransIP, add the following line to your composer.json file "hiddeco/laravel-transip": "~5.3"

  2. Run composer update or composer install

  3. Register the Laravel TransIP service provider in config/app.php by adding 'TransIP\Laravel\TransIPServiceProvider::class' to the providers key

  4. Add the TransIP facade to the aliases key: 'TransIP' => TransIP\Laravel\Facades\TransIP::class

Configuration

To manage your TransIP connections run the php artisan vendor:publish command, this will create the config/transip.php file where you can modify and manage your client connections.

The following configuration options are available:

Default Connection Name

The TransIP connection name set here (default) is the default connection used for all API requests. However, you may use as many connections as you need using the manager class. The default setting is 'main'.

TransIP Connections

This is the place to configure your TransIP connections (connections). A default configuration with possible options (except your API credentials) is already present and there is no limit to the amount of connections.

Each connection has 2 required fields (username and private_key) and 2 optional fields (mode and endpoint). It is worth mentioning the mode field only accepts readonly and readwrite as values.

Usage

TransIP Manager

The TransIPManager is where the magic happens. Bounded to the ioc container as transip and accessible by using the Facade\TransIP facade. It uses parts of the Laravel Manager package to manage the TransIP client connections. For more information about the Manager you should check out the respective docs.

It is worth noting the connection returned will always be an instance of \HiddeCo\TransIP\Client. You can find more information about this instance and its methods in the TransIP docs.

TransIP Facade

The TransIP facade will pass static method calls to the transip object in the ioc container, which as stated before is the TransIPManager class.

Examples

The usage of this package is fairly simple. Add your TransIP API credentials to the main connection and the package will work without any further settings.

Using the Facade

``

Using the TransIP Manager

The TransIPManager returns an instance of \HiddeCo\TransIP\Client and will behave like it. If you want to call a specific connection, you can use the connection method:

``

Changing the default connection and further explanations:

``

Dependency Injection

Prefer the use of a dependency injection over facades? You can easily inject the manager:

``

License

Laravel TransIP is licensed under The MIT License (MIT).


All versions of laravel-transip with dependencies

PHP Build Version
Package Version
Requires illuminate/contracts Version 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0
illuminate/support Version 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0
graham-campbell/manager Version ~3.0|~4.0
hiddeco/transip Version ~5.7
laravel/helpers Version ^1.0
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 hiddeco/laravel-transip contains the following files

Loading the files please wait ....