LaravelPackages.net
Acme Inc.
Toggle sidebar
hopekelldev/laravel_whmcs

A Laravel package for interacting with WHMCS API in Laravel 10

10
0
1.0.1
About hopekelldev/laravel_whmcs

hopekelldev/laravel_whmcs is a Laravel package for a laravel package for interacting with whmcs api in laravel 10. It currently has 0 GitHub stars and 10 downloads on Packagist (latest version 1.0.1). Install it with composer require hopekelldev/laravel_whmcs. Discover more Laravel packages by hopekelldev or browse all Laravel packages to compare alternatives.

Last updated

Laravel WHMCS

Latest Version Total Downloads License PHP Version Laravel Scrutinizer Code Quality

A Laravel package for integrating with the WHMCS API in Laravel 10. This package has been tested in laravel 10 and it's compatible with it, It has not been tested with the current version of laravel. We will be working on improving it. You can are free to contribute to the project.

Installation

You can install the package via Composer:

composer require hopekelldev/laravelwhmcs

Register your service provider:

Add your service provider to the providers array in config/app.php:

'providers' => [
    // Other Service Providers
    HopekellDev\LaravelWHMCS\WHMCSServiceProvider::class,
],

Add Aliases

'aliases' => [
    // Other Aliases
    'WHMCS' => HopekellDev\LaravelWHMCS\Facades\WHMCS::class,
],

Publish the configuration file:

php artisan vendor:publish --provider="HopekellDev\LaravelWHMCS\WHMCSServiceProvider" --tag="config"

Set your WHMCS credentials in your .env file:

YOUR_WHMCS_API_URL=
YOUR_API_IDENTIFIER=your_whmcs_username
YOUR_API_SECRET=your_whmcs_password

Now you can use the package in your Laravel application:

use HopekellDev\LaravelWHMCS\Facades\WHMCS;

// Example usage
$clients = WHMCS::getClients();

License

This package is licensed under the MIT License

  • see the LICENSE file for details.
Comments