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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

  1. Nylas hosted auth(OAuth 2.0)
  2. 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

  1. Initialise composer dependency by composer install
  2. Add your Nylas App. info in tests/AbsCase.php
  3. Launch the test with composer run-script test
  4. 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

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
guzzlehttp/guzzle Version ^7.7
respect/validation Version ^2.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package brainstream/nylas-php contains the following files

Loading the files please wait ....