Download the PHP package fourlabs/gmail-doctrine-bundle without Composer
On this page you can find all versions of the php package fourlabs/gmail-doctrine-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fourlabs/gmail-doctrine-bundle
More information about fourlabs/gmail-doctrine-bundle
Files in fourlabs/gmail-doctrine-bundle
Download fourlabs/gmail-doctrine-bundle
More information about fourlabs/gmail-doctrine-bundle
Files in fourlabs/gmail-doctrine-bundle
Vendor fourlabs
Package gmail-doctrine-bundle
Short Description Doctrine Implementation of fourlabs/gmail-bundle
License MIT
Homepage https://github.com/fourlabsldn/GmailBundle
Package gmail-doctrine-bundle
Short Description Doctrine Implementation of fourlabs/gmail-bundle
License MIT
Homepage https://github.com/fourlabsldn/GmailBundle
Please rate this library. Is it a good library?
Informations about the package gmail-doctrine-bundle
FL\GmailDoctrineBundle
GmailDoctrineBundle provides you a Doctrine implementation of GmailBundle.
Installation
Configuration
Setup
- Create doctrine entities in your entities folder e.g.
AppBundle\Entity
. - These entities must extend all the MappedSuperClasses in this bundle's
Entity
folder. - Make sure you use the provided repositories (from the entity folder). Or extend the repositories.
Why GmailDoctrineBundle?
- A sync command that lets you sync gmailIds, gmailMessages, or both. i.e. with two options:
- Example
php bin/console fl:gmail_doctrine:sync --mode=both --limit_messages_per_user=100
. - Required Option
mode
: Can begmail_ids
,gmail_messages
, orboth
. - Option
limit_messages_per_user
: Required formode=gmail_ids
ormode=both
. Must be a positive integer. - Suggestion: allow enough space between syncs so that you don't sync the same messages twice. Messages won't be saved to the database twice, but you might experience throttling.
- Note: Messages are requested in batch, 45 at a time. Each batch request takes about 2 seconds.
- Suggestion: Set a limit of 315 message per user.
7 batches * 2 seconds per batch = 14 seconds
. This means you must leave at least14 * number of users
seconds between requests. - Note: Before running the sync for
both
, make sure to run the sync forgmail_ids
at least once.
- Example
- Event Listeners, that will save what we fetch from Google into the database. See more at the
EventListener
folder. FL\GmailDoctrineBundle\Entity\SyncSetting
entity:- Allows you to pick which email inboxes you want to sync, and send email from.
- See corresponding form,
FL\GmailDoctrineBundle\Form\Type\SyncSettingType
.
FL\GmailDoctrineBundle\Model\OutgoingEmail
model class:- Represents an Outgoing Email.
- See corresponding form,
FL\GmailDoctrineBundle\Form\Type\OutgoingEmailType
. - From field, according to what you have enabled through
FL\GmailDoctrineBundle\Entity\SyncSetting
.
FL\GmailDoctrineBundle\Services\GoogleClientStatusWrapper
is a wrapper forFL\GmailBundle\Services\GoogleClientStatus
.- Copies the authentication method,
GoogleClientStatusWrapper::isAuthenticated
. - And two more methods
GoogleClientStatusWrapper::isSetupForDomain(string $domain)
andGoogleClientStatusWrapper::isSetupForAtLeastOneDomain()
- Copies the authentication method,
License
GmailDoctrineBundle is licensed under the MIT license.
All versions of gmail-doctrine-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
symfony/http-foundation Version ~2.8|~3.0|~3.1
symfony/console Version ~2.8|~3.0|~3.1
symfony/validator 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
symfony/config Version ~2.8|~3.0|~3.1
symfony/dependency-injection Version ~2.8|~3.0|~3.1
symfony/http-kernel Version ~2.8|~3.0|~3.1
symfony/routing Version ~2.8|~3.0|~3.1
symfony/doctrine-bridge Version ~2.8|~3.0|~3.1
doctrine/orm Version ~2.5
html2text/html2text Version ^4.0.1
fourlabs/gmail-bundle Version *.*@dev
symfony/http-foundation Version ~2.8|~3.0|~3.1
symfony/console Version ~2.8|~3.0|~3.1
symfony/validator 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
symfony/config Version ~2.8|~3.0|~3.1
symfony/dependency-injection Version ~2.8|~3.0|~3.1
symfony/http-kernel Version ~2.8|~3.0|~3.1
symfony/routing Version ~2.8|~3.0|~3.1
symfony/doctrine-bridge Version ~2.8|~3.0|~3.1
doctrine/orm Version ~2.5
html2text/html2text Version ^4.0.1
fourlabs/gmail-bundle Version *.*@dev
The package fourlabs/gmail-doctrine-bundle contains the following files
Loading the files please wait ....