承接 fozbek/coolify-php-sdk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

fozbek/coolify-php-sdk

Composer 安装命令:

composer require fozbek/coolify-php-sdk

包简介

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

README 文档

README

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');



// Configure Bearer authorization: bearerAuth
$config = CoolifyPHP\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new CoolifyPHP\Client\Api\ApplicationsApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$create_dockercompose_application_request = new \CoolifyPHP\Client\Model\CreateDockercomposeApplicationRequest(); // \CoolifyPHP\Client\Model\CreateDockercomposeApplicationRequest | Application object that needs to be created.

try {
    $result = $apiInstance->createDockercomposeApplication($create_dockercompose_application_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ApplicationsApi->createDockercomposeApplication: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to https://app.coolify.io/api/v1

Class Method HTTP request Description
ApplicationsApi createDockercomposeApplication POST /applications/dockercompose Create (Docker Compose)
ApplicationsApi createDockerfileApplication POST /applications/dockerfile Create (Dockerfile)
ApplicationsApi createDockerimageApplication POST /applications/dockerimage Create (Docker Image)
ApplicationsApi createEnvByApplicationUuid POST /applications/{uuid}/envs Create Env
ApplicationsApi createPrivateDeployKeyApplication POST /applications/private-deploy-key Create (Private - Deploy Key)
ApplicationsApi createPrivateGithubAppApplication POST /applications/private-github-app Create (Private - GH App)
ApplicationsApi createPublicApplication POST /applications/public Create (Public)
ApplicationsApi deleteApplicationByUuid DELETE /applications/{uuid} Delete
ApplicationsApi deleteEnvByApplicationUuid DELETE /applications/{uuid}/envs/{env_uuid} Delete Env
ApplicationsApi getApplicationByUuid GET /applications/{uuid} Get
ApplicationsApi getApplicationLogsByUuid GET /applications/{uuid}/logs Get application logs.
ApplicationsApi listApplications GET /applications List
ApplicationsApi listEnvsByApplicationUuid GET /applications/{uuid}/envs List Envs
ApplicationsApi restartApplicationByUuid GET /applications/{uuid}/restart Restart
ApplicationsApi startApplicationByUuid GET /applications/{uuid}/start Start
ApplicationsApi stopApplicationByUuid GET /applications/{uuid}/stop Stop
ApplicationsApi updateApplicationByUuid PATCH /applications/{uuid} Update
ApplicationsApi updateEnvByApplicationUuid PATCH /applications/{uuid}/envs Update Env
ApplicationsApi updateEnvsByApplicationUuid PATCH /applications/{uuid}/envs/bulk Update Envs (Bulk)
DatabasesApi createDatabaseClickhouse POST /databases/clickhouse Create (Clickhouse)
DatabasesApi createDatabaseDragonfly POST /databases/dragonfly Create (DragonFly)
DatabasesApi createDatabaseKeydb POST /databases/keydb Create (KeyDB)
DatabasesApi createDatabaseMariadb POST /databases/mariadb Create (MariaDB)
DatabasesApi createDatabaseMongodb POST /databases/mongodb Create (MongoDB)
DatabasesApi createDatabaseMysql POST /databases/mysql Create (MySQL)
DatabasesApi createDatabasePostgresql POST /databases/postgresql Create (PostgreSQL)
DatabasesApi createDatabaseRedis POST /databases/redis Create (Redis)
DatabasesApi deleteDatabaseByUuid DELETE /databases/{uuid} Delete
DatabasesApi getDatabaseByUuid GET /databases/{uuid} Get
DatabasesApi listDatabases GET /databases List
DatabasesApi restartDatabaseByUuid GET /databases/{uuid}/restart Restart
DatabasesApi startDatabaseByUuid GET /databases/{uuid}/start Start
DatabasesApi stopDatabaseByUuid GET /databases/{uuid}/stop Stop
DatabasesApi updateDatabaseByUuid PATCH /databases/{uuid} Update
DefaultApi disableApi GET /disable Disable API
DefaultApi enableApi GET /enable Enable API
DefaultApi healthcheck GET /health Healthcheck
DefaultApi version GET /version Version
DeploymentsApi deployByTagOrUuid GET /deploy Deploy
DeploymentsApi getDeploymentByUuid GET /deployments/{uuid} Get
DeploymentsApi listDeployments GET /deployments List
DeploymentsApi listDeploymentsByAppUuid GET /deployments/applications/{uuid} List application deployments
PrivateKeysApi createPrivateKey POST /security/keys Create
PrivateKeysApi deletePrivateKeyByUuid DELETE /security/keys/{uuid} Delete
PrivateKeysApi getPrivateKeyByUuid GET /security/keys/{uuid} Get
PrivateKeysApi listPrivateKeys GET /security/keys List
PrivateKeysApi updatePrivateKey PATCH /security/keys Update
ProjectsApi createProject POST /projects Create
ProjectsApi deleteProjectByUuid DELETE /projects/{uuid} Delete
ProjectsApi getEnvironmentByNameOrUuid GET /projects/{uuid}/{environment_name_or_uuid} Environment
ProjectsApi getProjectByUuid GET /projects/{uuid} Get
ProjectsApi listProjects GET /projects List
ProjectsApi updateProjectByUuid PATCH /projects/{uuid} Update
ResourcesApi listResources GET /resources List
ServersApi createServer POST /servers Create
ServersApi deleteServerByUuid DELETE /servers/{uuid} Delete
ServersApi getDomainsByServerUuid GET /servers/{uuid}/domains Domains
ServersApi getResourcesByServerUuid GET /servers/{uuid}/resources Resources
ServersApi getServerByUuid GET /servers/{uuid} Get
ServersApi listServers GET /servers List
ServersApi updateServerByUuid PATCH /servers/{uuid} Update
ServersApi validateServerByUuid GET /servers/{uuid}/validate Validate
ServicesApi createEnvByServiceUuid POST /services/{uuid}/envs Create Env
ServicesApi createService POST /services Create service
ServicesApi deleteEnvByServiceUuid DELETE /services/{uuid}/envs/{env_uuid} Delete Env
ServicesApi deleteServiceByUuid DELETE /services/{uuid} Delete
ServicesApi getServiceByUuid GET /services/{uuid} Get
ServicesApi listEnvsByServiceUuid GET /services/{uuid}/envs List Envs
ServicesApi listServices GET /services List
ServicesApi restartServiceByUuid GET /services/{uuid}/restart Restart
ServicesApi startServiceByUuid GET /services/{uuid}/start Start
ServicesApi stopServiceByUuid GET /services/{uuid}/stop Stop
ServicesApi updateEnvByServiceUuid PATCH /services/{uuid}/envs Update Env
ServicesApi updateEnvsByServiceUuid PATCH /services/{uuid}/envs/bulk Update Envs (Bulk)
ServicesApi updateServiceByUuid PATCH /services/{uuid} Update
TeamsApi getCurrentTeam GET /teams/current Authenticated Team
TeamsApi getCurrentTeamMembers GET /teams/current/members Authenticated Team Members
TeamsApi getMembersByTeamId GET /teams/{id}/members Members
TeamsApi getTeamById GET /teams/{id} Get
TeamsApi listTeams GET /teams List

Models

Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1
    • Generator version: 7.14.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

fozbek/coolify-php-sdk 适用场景与选型建议

fozbek/coolify-php-sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「rest」 「api」 「sdk」 「openapi」 「openapitools」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 fozbek/coolify-php-sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 fozbek/coolify-php-sdk 我们能提供哪些服务?
定制开发 / 二次开发

基于 fozbek/coolify-php-sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 11
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: unlicense
  • 更新时间: 2025-05-14