Download the PHP package fourlabs/gmail-bundle without Composer
On this page you can find all versions of the php package fourlabs/gmail-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fourlabs/gmail-bundle
More information about fourlabs/gmail-bundle
Files in fourlabs/gmail-bundle
Download fourlabs/gmail-bundle
More information about fourlabs/gmail-bundle
Files in fourlabs/gmail-bundle
Vendor fourlabs
Package gmail-bundle
Short Description Gmail API Wrapper for Symfony
License MIT
Homepage https://github.com/fourlabsldn/GmailBundle
Package gmail-bundle
Short Description Gmail API Wrapper for Symfony
License MIT
Homepage https://github.com/fourlabsldn/GmailBundle
Please rate this library. Is it a good library?
Informations about the package gmail-bundle
GmailBundle
GmailBundle allows you to manage a Google Apps domain's inboxes (you can pick which). In order to do this, you must authorize a service account with domain wide delegation
Installation
Configuration
Syncing Gmail Ids (i.e. Which emails need to be synced?)
FL\GmailBundle\Services\SyncGmailIds
- Takes a
$userId
parameter. - Gets a list of all the Gmail Ids, or the subset of Gmail Ids according to a history Id. What is a history Id?
- Dispatches
FL\GmailBundle\Event\GmailSyncIdsEvent
with a list of all the new / updated ids. (Updated Gmail Ids = change of label) - It is your responsibility to save the Gmail Ids coming from this event.
- Dispatches
FL\GmailBundle\Event\GmailSyncHistoryEvent
, such that next time, you can perform a Partial Sync. What is a Partial Sync? - It is your responsibility to save the History Id coming from this event.
Syncing Messages using Gmail Ids (i.e. I know which emails need to be synced, let's fetch them.)
FL\GmailBundle\Services\SyncMessages
- This service, takes a list of gmail ids and resolves all the new/updated messages for you.
- I.e. use the ids you are fetching from
FL\GmailBundle\Services\SyncGmailIds
- Dispatches
FL\GmailBundle\Event\GmailSyncMessagesEvent
. - It is your responsibility to save the Gmail Messages coming from this event.
- It is your responsibility to remove the newly synced Gmail Ids, you had previously saved with
FL\GmailBundle\Services\SyncGmailIds
.
All this responsibility? :cry: :sob:
Why are there so many It is your responsibility
statements? Because this bundle is storage agnostic. But don't fret! There
is a GmailDoctrineBundle that implements all of this in Doctrine for you.
How do I dive into this bundle?
- Start by looking into the
Model
classes. - To understand the services, have a look at
Resources/config/services.yml
.
What else is going on?
- You can send swiftmailer emails through
FL\GmailBundle\Swift\GmailApiTransport
. Simply make sure the from is in your domain. FL\GmailBundle\Form\Type\InboxType
contains a choice type, with all the inboxes in the authenticated domain.
License
GmailBundle is licensed under the MIT license.
All versions of gmail-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
symfony/http-foundation Version ~2.8|~3.0|~3.1
symfony/http-kernel Version ~2.8|~3.0|~3.1
symfony/config Version ~2.8|~3.0|~3.1
symfony/routing Version ~2.8|~3.0|~3.1
symfony/dependency-injection Version ~2.8|~3.0|~3.1
symfony/event-dispatcher Version ~2.8|~3.0|~3.1
symfony/form Version ~2.8|~3.0|~3.1
symfony/options-resolver Version ~2.8|~3.0|~3.1
swiftmailer/swiftmailer Version ~5.4.0|~6.0.0
google/apiclient Version ~2.2.0
symfony/http-foundation Version ~2.8|~3.0|~3.1
symfony/http-kernel Version ~2.8|~3.0|~3.1
symfony/config Version ~2.8|~3.0|~3.1
symfony/routing Version ~2.8|~3.0|~3.1
symfony/dependency-injection Version ~2.8|~3.0|~3.1
symfony/event-dispatcher Version ~2.8|~3.0|~3.1
symfony/form Version ~2.8|~3.0|~3.1
symfony/options-resolver Version ~2.8|~3.0|~3.1
swiftmailer/swiftmailer Version ~5.4.0|~6.0.0
google/apiclient Version ~2.2.0
The package fourlabs/gmail-bundle contains the following files
Loading the files please wait ....