Download the PHP package brainstream/nylas-php without Composer
On this page you can find all versions of the php package brainstream/nylas-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brainstream/nylas-php
More information about brainstream/nylas-php
Files in brainstream/nylas-php
Informations about the package nylas-php
Nylas PHP SDK for api version 3
This is the GitHub repository for the Nylas PHP SDK.
The Nylas Communications Platform provides REST APIs for Email, Calendar, and Contacts, and the Nylas SDK is the quickest way to build your integration using PHP.
Here are some resources to help you get started:
⚙️ Install
This library is available on https://packagist.org/packages/brainstream/nylas-php You can install it by running
⚡️Usage
To use this SDK, you must first get a free Nylas account.
Then, follow the Quickstart guide to set up your first app and get your API keys.
🚀 Making Your First Request
You use the NylasClient
object to make requests to the Nylas API. The SDK is organized into different resources, each of which has methods to make requests to the API. Each resource is available through the NylasClient
object configured with your API key.
For example, first configure client object like below:
Then use it for make consecutive api requests.
Administrative Api info.
Application api
Application api could be like:
Authentication api
Nylas support 2 types of user authentication
- Nylas hosted auth(OAuth 2.0)
- Custom auth
Grant api
Grants associate with an application. It could be like:
Connectors api
Connectors(providers) of an application.
Connectors Credential api
Email, Calender and Draft apis usage
Email api
Calendar api
Drafts api
Launching the tests
- Initialise composer dependency by
composer install
- Add your Nylas App. info in tests/AbsCase.php
- Launch the test with
composer run-script test
- Another way to run tests: ./tests/do.sh foo.php --filter fooMethod, see tests/do.sh
Acknowledgements
This project is based on lanlin/nylas-php, which is licensed under the MIT License. The original code has been modified and is also available under the MIT License.
📝License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact us
If you need additional assistance, drop us an email at [email protected].
All versions of nylas-php with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^7.7
respect/validation Version ^2.2