Download the PHP package ryanwinchester/hubspot-php without Composer
On this page you can find all versions of the php package ryanwinchester/hubspot-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ryanwinchester/hubspot-php
More information about ryanwinchester/hubspot-php
Files in ryanwinchester/hubspot-php
Package hubspot-php
Short Description HubSpot PHP API client
License Apache-2.0
Informations about the package hubspot-php
HubSpot PHP API client
Hubspot is a marketing, sales, and service software that helps your business grow without compromise. Because “good for the business” should also mean “good for the customer.”
This library supports only legacy API
Please consider switching to the latest API.
Setup
Composer:
Sample apps
Quickstart
Examples Using Factory
All following examples assume this step.
You can find more information about oauth2 access tokens here and about private app access token here.
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::createWithAccessToken()
)
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.
API Client comes with Middleware for implementation of Rate and Concurrent Limiting
It provides an ability to turn on retry for failed requests with statuses 429 or 500. You can read more about working within the HubSpot API rate limits here.
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
Example of using built in utils
or using 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] Analytics API
- [x] Calendar API :updated:
- [x] Companies API :updated:
- [x] Company Properties API :updated:
- [x] Contacts API :updated:
- [x] Contact Lists API :updated:
- [x] Contact Properties API :updated:
- [ ] Conversations Live Chat Widget API (Front End)
- [x] CMS Blog API (Blogs) :updated:
- [x] CMS Blog Authors API (BlogAuthors) :updated:
- [x] CMS Blog Comments API (BlogComments)
- [x] CMS Blog Post API (BlogPosts)
- [x] CMS Blog Topics API (BlogTopics)
- [ ] CMS Domains API
- [x] CMS Files API (Files)
- [x] CMS HubDB API (HubDB) :updated:
- [ ] CMS Layouts API
- [x] CMS Page Publishing API (Pages)
- [ ] CMS Site Maps
- [ ] CMS Site Search API
- [ ] CMS Templates API
- [ ] CMS URL Mappings API
- [x] CRM Associations API
- [ ] CRM Extensions API
- [x] CRM Object Properties API (ObjectProperties) :new:
- [x] CRM Pipelines API (CrmPipelines)
- [x] Deals API
- [x] Deal Pipelines API :deprecated:
- [x] Deal Properties API :updated:
- [x] Ecommerce Bridge API :updated:
- [x] Email Subscription API :updated:
- [x] Email Events API :updated:
- [x] Engagements API
- [x] Events API
- [x] Forms API :updated:
- [x] Line Items API :new:
- [ ] Marketing Email API
- [x] Owners API :updated:
- [x] Products API :new:
- [x] Social Media API
- [x] Tickets API
- [x] Timeline API :updated:
- [ ] Tracking Code API
- [x] Transactional Email API
- [x] Workflows API :updated:
- [x] Webhooks API