Download the PHP package baota/client without Composer

On this page you can find all versions of the php package baota/client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package client

BaoTa Panel SDK for PHP.

GitHub Tag Total Downloads Packagist Version Packagist PHP Version Support Packagist License

Installation

You can install the package via Composer:

Usage

Methods

System

Method URI Description
getSystemTotal /system?action=GetSystemTotal 获取系统基础统计
getDiskInfo /system?action=GetDiskInfo 获取磁盘分区信息
getNetWork /system?action=GetNetWork 获取实时状态信息(CPU、内存、网络、负载)
getTaskCount /ajax?action=GetTaskCount 检查是否有安装任务
updatePanel /ajax?action=UpdatePanel 检查面板更新

Sites

Method URI Description
websites /data?action=getData&table=sites 获取网站列表
webtypes /site?action=get_site_types 获取网站分类
getPHPVersion /site?action=GetPHPVersion 获取已安装的 PHP 版本列表
getSitePHPVersion /site?action=GetSitePHPVersion 获取指定网站运行的 PHP 版本
setPHPVersion /site?action=SetPHPVersion 修改指定网站的 PHP 版本
setHasPwd /site?action=SetHasPwd 开启并设置网站密码访问
closeHasPwd /site?action=CloseHasPwd 关闭网站密码访问
getDirUserINI /site?action=GetDirUserINI 获取网站几项开关
webAddSite /site?action=AddSite 创建网站
webDeleteSite /site?action=DeleteSite 删除网站
webSiteStop /site?action=SiteStop 停用网站
webSiteStart /site?action=SiteStart 启用网站
webSetEdate /site?action=SetEdate 设置网站有效期
webSetPs /data?action=setPs&table=sites 修改网站备注
webBackupList /data?action=getData&table=backup 获取网站备份列表
webToBackup /site?action=ToBackup 创建网站备份
webDelBackup /site?action=DelBackup 删除网站备份
webDoaminList /data?action=getData&table=domain 获取网站域名列表
getDirBinding /site?action=GetDirBinding 获取网站域名绑定二级目录信息
addDirBinding /site?action=AddDirBinding 添加网站子目录域名
delDirBinding /site?action=DelDirBinding 删除网站绑定子目录
getDirRewrite /site?action=GetDirRewrite 获取网站子目录伪静态规则
webAddDomain /site?action=AddDomain 添加网站域名
webDelDomain /site?action=DelDomain 删除网站域名
getSiteLogs /site?action=GetSiteLogs 获取网站日志
getSecurity /site?action=GetSecurity 获取网站盗链状态及规则信息
setSecurity /site?action=SetSecurity 设置网站盗链状态及规则信息
getSSL /site?action=GetSSL 获取 SSL 状态及证书详情
setSSL /site?action=SetSSL 设置 SSL 证书
httpToHttps /site?action=HttpToHttps 强制 HTTPS
closeToHttps /site?action=CloseToHttps 关闭强制 HTTPS
closeSSLConf /site?action=CloseSSLConf 关闭 SSL
webGetIndex /site?action=GetIndex 获取网站默认文件
webSetIndex /site?action=SetIndex 设置网站默认文件
getLimitNet /site?action=GetLimitNet 获取网站流量限制信息
setLimitNet /site?action=SetLimitNet 设置网站流量限制信息
closeLimitNet /site?action=CloseLimitNet 关闭网站流量限制
get301Status /site?action=Get301Status 获取网站 301 重定向信息
set301Status /site?action=Set301Status 设置网站 301 重定向信息
getRewriteList /site?action=GetRewriteList 获取可选的预定义伪静态列表
getFileBody /files?action=GetFileBody 获取指定预定义伪静态规则内容
saveFileBody /files?action=SaveFileBody 保存伪静态规则内容
getProxyList /site?action=GetProxyList 获取网站反代信息及状态
createProxy /site?action=CreateProxy 添加网站反代信息
modifyProxy /site?action=ModifyProxy 修改网站反代信息

Ftp

Method URI Description
webFtpList /data?action=getData&table=ftps 获取 FTP 信息列表
setUserPassword /ftp?action=SetUserPassword 修改 FTP 账号密码
setStatus /ftp?action=SetStatus 启用/禁用

DBM

Method URI Description
webSqlList /data?action=getData&table=databases 获取 SQL 信息列表
resDatabasePass /database?action=ResDatabasePassword 修改 SQL 账号密码
SQLToBackup /database?action=ToBackup 创建 SQL 备份
SQLDelBackup /database?action=DelBackup 删除 SQL 备份

Plugin

Method URI Description
deployment /deployment?action=GetList&type=&search 宝塔一键部署列表
setupPackage /deployment?action=SetupPackage 部署任务

License

Nacosvel Contracts is made available under the MIT License (MIT). Please see License File for more information.


All versions of client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
guzzlehttp/guzzle Version ^7.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package baota/client contains the following files

Loading the files please wait ....