madpilot78/laravel-freebox-php
最新稳定版本:1.3.1
Composer 安装命令:
composer require madpilot78/laravel-freebox-php
包简介
Laravel FreeBoxPHP package
README 文档
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.
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-08-04