Download the PHP
package o323/nylas-php without Composer
On this page you can find all versions of the php package
o323/nylas-php. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor o323 Package nylas-php Short Description PHP wrapper for the Nylas API License
MIT
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.
The Nylas REST API uses server-side (three-legged) OAuth, and this library provides convenience methods to simplify the OAuth process. Here's how it works:
You redirect the user to our login page, along with your App Id and Secret
Your user logs in
She is redirected to a callback URL of your own, along with an access code
You use this access code to get an authorization token to the API
In practice, the Nylas REST API client simplifies this down to two steps.
Auth
index.php
login_callback.php
Fetching Account Information
Fetching Threads
Working with Threads
Working with Files
Working with Drafts
Working with Events
Open-Source Sync Engine
The Nylas Sync Engine is open-source, and you can also use the PHP library with the open-source API. Since the open-source API provides no authentication or security, connecting to it is simple. When you instantiate the Nylas object, provide null for the App ID, App Secret, and API Token, and pass the fully-qualified address of your copy of the sync engine:
Contributing
We'd love your help making Nylas better. Join the Google Group for project updates and feature discussion. We also hang out in #nylas on [email protected].
Please sign the Contributor License Agreement before submitting pull requests. (It's similar to other projects, like NodeJS or Meteor.)
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 o323/nylas-php contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.