Download the PHP package jeffersongoncalves/laravel-apollo without Composer
On this page you can find all versions of the php package jeffersongoncalves/laravel-apollo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/laravel-apollo
More information about jeffersongoncalves/laravel-apollo
Files in jeffersongoncalves/laravel-apollo
Package laravel-apollo
Short Description PHP/Laravel client for the Apollo.io REST API: people and organization search, enrichment, and bulk enrichment.
License MIT
Homepage https://github.com/jeffersongoncalves/laravel-apollo
Informations about the package laravel-apollo
Laravel Apollo
A PHP/Laravel client for the Apollo.io REST API. Covers people search, organization search, and enrichment (single, bulk, and organization) through a simple, typed API built on Laravel's Http client.
Features
- People: search with title/location/seniority/employee-range/keyword filters, enrich by email/LinkedIn/name+domain, bulk enrich by email
- Organizations: search with location/employee-range/keyword filters, enrich by domain
- Throws
ApolloException(with the original API error body) on any non-2xx response - Throws
InvalidArgumentExceptionbefore hitting the API when required criteria are missing
Installation
You can install the package via composer:
Publish the config file:
Set your Apollo.io API key in .env:
Find it under Settings > Integrations > API in your Apollo.io account.
Configuration
Usage
The package is resolved via the Apollo facade or by injecting JeffersonGoncalves\Apollo\Apollo. Each resource is exposed as a method returning a dedicated resource class.
People
Organizations
Error handling
Any non-2xx API response throws JeffersonGoncalves\Apollo\Exceptions\ApolloException, which exposes the decoded error body:
Missing required criteria (e.g. no email, linkedin, or first_name + domain on people()->enrich(); an empty domain on organizations()->enrich()) throw InvalidArgumentException before any HTTP call is made.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Jefferson Gonçalves
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-apollo with dependencies
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
spatie/laravel-package-tools Version ^1.14.0