madpilot78/laravel-freebox-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

madpilot78/laravel-freebox-php

最新稳定版本:1.3.1

Composer 安装命令:

composer require madpilot78/laravel-freebox-php

包简介

Laravel FreeBoxPHP package

README 文档

README

Packagist Version Actions Status codecov

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-08-04