Download the PHP package fotografde/hubspot-php without Composer
On this page you can find all versions of the php package fotografde/hubspot-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fotografde/hubspot-php
More information about fotografde/hubspot-php
Files in fotografde/hubspot-php
Informations about the package hubspot-php
HubSpot PHP API client
Hubspot API client. The sequel to my perfectly functional wrapper of HubSpot/haPihP. client. However, this is a complete re-write and includes some of the new COS/v2 endpoints.
Setup
Composer:
Quickstart
Examples Using Factory
All following examples assume this step.
Note: You can prevent any error handling provided by this package by passing following options into client creation routine:
(applies also to Factory::create()
and Factory::createWithToken()
)
By setting http_errors
to false, you will not receive any exceptions at all, but pure responses.
For possible options, see http://docs.guzzlephp.org/en/latest/request-options.html.
Get a single contact:
Paginate through all contacts:
Working with the data is easy!
or if you prefer to use array access?
Now with response methods implementing PSR-7 ResponseInterface
Example Without Factory
Status
If you see something not planned, that you want, make an issue and there's a good chance I will add it.
- [x] Blogs (COS) :new:
- [x] Blog Authors (COS) :new:
- [x] Blog Posts (COS) :new:
- [x] Blog Topics (COS) :new:
- [x] Companies :new:
- [x] Company Properties :new:
- [x] Contacts
- [x] Contact Lists
- [x] Contact Properties
- [x] Deals :new:
- [x] Email :new:
- [x] Email Events :new:
- [x] Engagements
- [x] Events (Enterprise) :new:
- [x] Files (COS) :new:
- [x] Forms
- [x] Keywords
- [x] Owners
- [x] Page Publishing (COS) :new:
- [x] Social Media
- [ ] Templates (COS) :new:
- [x] Timeline :new:
- [x] Workflows