Download the PHP package woganmay/domo-php without Composer
On this page you can find all versions of the php package woganmay/domo-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package domo-php
domo-php
Unofficial PHP library to interact with the Domo.com APIs. MIT License.
❔ About this project
Domo.com offers a range of Platform APIs, versioned at v1. This library aims to wrap all of those endpoints and make them easily usable via PHP. The library was initially built in 2018 (back when the APIs were still in beta), and as of July 2023, this library is being overhauled to take into account new endpoints, methods and scopes.
If you're using this library in your project and get stuck, you can get help by:
- File a new issue with reproduction steps: https://github.com/woganmay/domo-php/issues/new
- Email the project maintainer at [email protected] for direct support
⚠️ About v0.2.2
As of v0.2.2
(released 8 July 2023) this library has been downloaded over 10,000 times. This version of the library
supported most of the APIs available in 2018, and included a few Helpers for common tasks. Moving forward, there will
be breaking changes to this project, including:
- The Helpers will be removed - that functionality is better suited for an independent library
- The client will be refactored to require PHP 8.1 at a minimum, and take advantage of newer language features
- The DomoPHP client will be updated to implement all of Domo's API methods as of July 2023
If you don't want to deal with any breaking changes just yet, the recommendation is to lock the dependency to this specific version in your composer.json:
"require": {
"woganmay/domo-php": "v0.2.2"
}
The old approach under v0.2.2
won't be supported in future versions. As of v0.3
and up, the library will use a different pattern for
the objects, and the way you call the methods will work differently.
🛣️ Road to v1.0.0
The purpose of this library is to maintain parity with the documented APIs on Domo's Developer site. All client code is being re-implemented from the ground up. The roadmap is currently as follows:
Capability | Targeted Version | Status |
---|---|---|
Activity Log API | v0.3.0 | 1/1 ✅ |
User API | v0.3.0 | 5/5 ✅ |
DataSet API | v0.3.0 | 13/13 ✅ |
Simple API | v0.4.0 | 0/2 ⏸️ |
Stream API | v0.4.0 | 0/12 ⏸️ |
Account API | v0.5.0 | 0/8 ⏸️ |
Group API | v0.5.0 | 0/8 ⏸️ |
Page API | v0.6.0 | 0/9 ⏸️ |
Embed Token API | v0.6.0 | 0/2 ⏸️ |
Projects and Tasks API | v0.7.0 | 0/21 ⏸️ |
Domo Documentation URL: https://developer.domo.com/portal/8ba9aedad3679-ap-is
Once all services have been implemented and are testable, a v1.0.0
release will be done, which should be the last
major release for quite a while! New releases will only happen as changes happen to the API, or as dependency and
security updates are handled.
⚙️ Installation
Ensure you have a valid Domo account, and generate an access token on the developer.domo site
Install via composer:
composer require woganmay/domo-php
Once loaded, you'll be able to create a new DomoPHP object as follows:
📝 Example: Create and populate a dataset
This approach would work for simple, small CSV loads - maybe 1,000 records total. For larger loads, Domo recommends using the Stream API instead.