Download the PHP package darthsoup/laravel-whmcs without Composer

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

WHMCS API for Laravel

Latest Stable Version Total Downloads License

An interface for interaction with the WHMCS API in Laravel. This Package is heavily inspired by Laravel GitLab created by Graham Campbell.

Notice:

The legacy version 0.3 can be found here

Installation

WHMCS API for Laravel requires PHP ^7.4 | ^8.0 with at least Laravel 8.

Install the package through Composer. Run the Composer require command from the Terminal:

Package will be installed automatically through composer package discovery. If not, then you need to register the DarthSoup\Whmcs\WhmcsService service provider in your config/app.php.

Optionally, you can add the alias if you prefer to use the Facade:

Configuration

To get started, you'll need to publish vendor assets for Laravel-Whmcs.

This will create the config/whmcs.php file in your app, modify it to set your configuration.

Default Connection

The option default is where you specify the default connection.

WHMCS Connections

The option connections is where you can add multiple connections to your whmcs instances. You can choose between both API connection types from whmcs. These methods are password and token. Example connections has been included, but you can add as many connections you would like.

Usage

via dependency injection

If you prefer to use Dependency Injection, you can easily add it to your controller as below:

Via Facade

If you prefer the classic Laravel facade style, this might be the way to go:

Real examples

For more information on how to use the WhmcsApi Client DarthSoup\WhmcsApi\Client class, check out the documentation at https://github.com/darthsoup/php-whmcs-api.

Support

Please open an issue in github

License

This package is released under the MIT License. See the bundled LICENSE file for details.


All versions of laravel-whmcs with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
ext-json Version *
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
illuminate/session Version ^8.0|^9.0|^10.0|^11.0
illuminate/events Version ^8.0|^9.0|^10.0|^11.0
darthsoup/php-whmcs-api Version ~1.3
graham-campbell/manager Version ^5.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 darthsoup/laravel-whmcs contains the following files

Loading the files please wait ....