madpilot78 / laravel-freebox-php
Laravel FreeBoxPHP package
Package info
codeberg.org/madpilot78/Laravel-FreeBoxPHP.git
pkg:composer/madpilot78/laravel-freebox-php
1.3.3
2026-04-12 15:16 UTC
Requires
- php: ^8.3
- illuminate/support: ^11.0 || ^12.0 || ^13.0
- madpilot78/freebox-php: ^1.3.3
- psr/log: ^3.0
- symfony/cache: ^7.1 || ^8.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.42
- friendsofphp/php-cs-fixer: ^3.54
- illuminate/testing: ^11.0 || ^12.0 || ^13.0
- madpilot78/php-cs-fixer-config: ^1.0
- orchestra/testbench: ^9.2 || ^10.0 || ^11.0
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^11 || ^12 || ^13
README
Package to use FreeBoxPHP library to access you FreeBox/IliadBox from Laravel apps.
Install
Using composer:
composer require madpilot78/Laravel-FreeBoxPHP
Usage
This package provides in laravel a madpilot78\FreeBoxPHP\Box class that can be
injected in controllers.
Otherwise it can be instantiated via the Laravel Service Container like this:
namespace App\Repositories;
use Illuminate\Support\Facades\App;
use madpilot78\FreeBoxPHP\Box;
class RouterRepository
{
private Box $box;
public function __construct()
{
$this->box = App::make(Box::class);
if (empty($this->box->getBoxInfo())) {
$this->box->discover();
}
}
/* ... */
}
Refer to FreeBoxPHP for details on how to use the underlying library.