Download the PHP package westng/oceanengine-sdk-php without Composer

On this page you can find all versions of the php package westng/oceanengine-sdk-php. 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 oceanengine-sdk-php

⚠️⚠️⚠️ 项目正在进行重构 期待 2.0 正式版本

Marketing PHP SDK

概述

在技术蓬勃发展的当下,巨量引擎开放平台的 Marketing API SDK,本应是普惠所有开发者的得力工具,涵盖巨量广告、巨量千川、巨量本地推、巨量星图及企业号相关功能,从 Token 获取到请求封装、响应解释,每个环节都暗藏助力高效开发的玄机。

其本地化设计,理应为开发者开辟便捷通道,无论经验如何,都能借它在 API 调用之路上畅行无阻。可现实却令人咋舌,面对 PHP 这片高手云集、活力满满的领域,官方竟然缺失 PHP 版本的 SDK!

这简直荒谬至极。PHP 开发者们为互联网立下汗马功劳,如今却像被抛弃的孩子。看着其他语言开发者仗着官方 SDK 大步快跑,自己只能徒手在荆棘中挣扎,太不公平!好比马拉松赛场,别人装备精良、补给充足,自己却赤脚前行、无水可饮。

幸有补救性 SDK,让 PHP 开发者不至于掉队,能凭本事搭起投放管理系统,但背后是他们付出的诸多额外心血。官方这种"偏心"做法,实在该反省,给 PHP 开发者们一个交代!

使用条件

  1. 使用 SDK 需要首先注册成为巨量引擎开发者,请参考开发者快速入门文档
  2. 使用 SDK 需要先拥有 API 的访问权限,所有 SDK 的使用与应用拥有的权限组相关联

安装

快速入门

申请广告主授权

参数说明

getAuthCodeUrl 参数说明

参数 说明 默认值 示例值 版本
cb_url 即回调链接 - https://xxx.xxx.xxx 1.0.0
scope 即授权范围(全部权限 null 即可) - - 1.0.0
state 自定义参数 your_custom_params - 1.0.0
type 授权类型 QC QCAD 1.0.0

SDK 包结构

当前开发进度

模块 实例调用模块 静态调用模块 状态 文档链接
巨量广告 $client->module('JuLiangAds') $client::JuLiangAds() ✅ 已完成 点击查看
巨量千川 $client->module('JuLiangQianChuan') $client::JuLiangQianChuan() ✅ 已完成 点击查看
巨量星图 $client->module('JuLiangStarMap') $client::JuLiangStarMap() ✅ 已完成 点击查看
企业号 $client->module('EnterpriseAccount') $client::EnterpriseAccount() ⏳ 未开始 -
巨量本地推 $client->module('JuLiangLocalPush') $client::JuLiangLocalPush() ⏳ 开发中 点击查看
账户管理 $client->module('Account') $client::Account() ✅ 已完成 点击查看
工具 $client->module('Tools') $client::Tools() ✅ 已完成 点击查看
素材管理 $client->module('Materials') $client::Materials() ⏳ 开发中
数据报表 $client->module('DataReports') $client::DataReports() ✅ 已完成 点击查看

⚠️ 上述进度仅供参考,实际以源码为准。
🧠 欢迎查看源码深入探索,接口比文档更诚实!

问题反馈

如在使用过程中遇到问题、建议或灵感……请无视(开玩笑的)。

📨 实在憋不住可以提 Issue 或 PR ~


All versions of oceanengine-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-curl Version *
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 westng/oceanengine-sdk-php contains the following files

Loading the files please wait ....