laswitchtech/php-service
最新稳定版本:v1.0.0
Composer 安装命令:
composer require laswitchtech/php-service
包简介
PHP Service Library
README 文档
README
phpService
Features
- Service
Why you might need it
If you are looking for an easy start for your PHP Service. Then this PHP Class is for you.
Can I use this?
Sure!
License
This software is distributed under the GNU General Public License v3.0 license. Please read LICENSE for information on the software availability and distribution.
Requirements
- PHP >= 8.0
Security
Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately.
Installation
Using Composer:
composer require laswitchtech/php-service
How do I use it?
Example
#!/usr/bin/env php session_start(); //Import phpCLI class into the global namespace //These must be at the top of your script, not inside a function use LaswitchTech\phpCLI\phpCLI; //Load Composer's autoloader require 'vendor/autoload.php'; // Interpret Standard Input if(defined('STDIN') && !empty($argv)){ // Start Command new phpCLI($argv); }
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2022-12-30
