sparkhizb/lib
Composer 安装命令:
composer require sparkhizb/lib
包简介
Sparkhizb is a full-featured library creation and transfer class for PHP
README 文档
README
Installation & loading
Open terminal in yours project.
composer require sparkhizb/lib dev-main
cp vendor/sparkhizb/lib/src/Commands/HizbInstallCommand.php app/Commands/HizbInstallCommand.php
php spark hizb:install
Note that the vendor folder and the vendor/autoload.php script are generated by Composer; they are not part of Sparkhizb.
If you want to use XOAUTH2 authentication, you will also need to add a dependency on the league/oauth2-client and appropriate service adapters package in your composer.json, or take a look at
by @decomplexity's SendOauth2 wrapper, especially if you're using Microsoft services.
A Simple Example
<?php //Import Sparkhizb classes into the global namespace //These must be at the top of your script, not inside a function use Sparkhizb\Auth; use Sparkhizb\Helpers\BuilderHelper; use Sparkhizb\Helpers\QueryHelper; //Load Composer's autoloader (created by composer, not included with Sparkhizb) require 'vendor/autoload.php';
统计信息
- 总下载量: 238
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-04-26