pangpondpon/laravel-lb
Library that let you connect your laravel application to Logicboxes with ease
292
2
| Install | |
|---|---|
composer require pangpondpon/laravel-lb |
|
| Latest Version: | 0.9.9.30 |
| Last Updated: | Apr 19, 2026 |
| Links: | GitHub · Packagist |
Maintainer: pangpondpon
Laravel-lb
This library let your laravel application talk with Logicboxes API with ease.
How to install
- Run
composer require pangpondpon/laravel-lbto include this library to your project - Add
LaravelLb\LaravelLbServiceProvider::classinto your providers array in config/app.php - Run
php artisan vendor:publishto publish the config file - Put your credential in config/logicboxes.php like so
<?php
return [
"test_mode" => env('LB_TEST_MODE', true),
"auth_userid" => env('LB_AUTH_USERID', 'YOUR_USER_ID'),
"api_key" => env('LB_API_KEY', 'YOUR_API_KEY'),
];
How to use in Laravel Controller
Use case - Buy an ssl from comodo
<?php
namespace App\Http\Controllers;
use App\Http\Requests;
use Illuminate\Http\Request;
use LaravelLb\LogicBoxesComodo;
class ComodoCertController extends Controller
{
public $comodo;
public function __construct()
{
$this->comodo = new LogicBoxesComodo();
}
// Buy the ssl from comodo, see LogicBoxesComodo class for api call info
public function buy()
{
// Order buy use method add from LogicBoxesComodo class
$response = $this->comodo->add([
"domain-name" => "ssldemosite.com",
"months" => 12,
"customer-id" => "52213365",
"plan-id" => LogicBoxesComodo::POSITIVE_SSL, // Check more options in LogicBoxesComodo
"invoice-option" => LogicBoxesComodo::NO_INVOICE // Check more options in LogicBoxesComodo
])->toArray();
return $response;
}
}
See more example in /example folder.
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
648,266,899
9,701
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
429,221,767
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664
Version History
| Version | Released | License |
|---|---|---|
| 0.9.9.30 | ||
| 0.9.9.29 | ||
| 0.9.9.28 | ||
| 0.9.9.27 | ||
| 0.9.9.26 | ||
| 0.9.9.25 | ||
| 0.9.9.24 | ||
| 0.9.9.23 | ||
| 0.9.9.22 | ||
| 0.9.9.21 | ||
| 0.9.9.20 | ||
| 0.9.9.19 | ||
| 0.9.9.18 | ||
| 0.9.9.17 | ||
| 0.9.9.16 | ||
| 0.9.9.15 | ||
| 0.9.9.14 | ||
| 0.9.9.13 | ||
| 0.9.9.12 | ||
| 0.9.9.11 | ||
| 0.9.9.10 | ||
| 0.9.9.9 | ||
| 0.9.9.8 | ||
| 0.9.9.7 | ||
| 0.9.9.6 | ||
| 0.9.9.5 | ||
| 0.9.9.4 | ||
| 0.9.9.3 | ||
| 0.9.9.2 | ||
| 0.9.9.1 |
Showing the latest 30 of 58. See every release on Packagist