Download the PHP package shpasser/gae-support without Composer
On this page you can find all versions of the php package shpasser/gae-support. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shpasser/gae-support
More information about shpasser/gae-support
Files in shpasser/gae-support
Package gae-support
Short Description Google App Engine Support for Laravel apps.
License MIT
Informations about the package gae-support
GaeSupport
Google App Engine(GAE) Support package for Laravel 4.
Currently supported features:
- Generation of general configuration files,
- Mail service provider,
- Queue service provider.
For Laravel 5 see https://github.com/shpasser/GaeSupportL5.
For Lumen see https://github.com/shpasser/GaeSupportLumen.
Installation
Pull in the package via Composer.
Then include the service provider within app/config/app.php
.
Usage
Generate the GAE related files / entries.
The default GCS bucket is configured unless a custom bucket id is defined using
the --bucket
option.
The mail driver configuration file can be found at app/config/production/mail.php
,
it is one of many configuration files generated by the artisan command. There is
no need in any kind of custom configuration. All the outgoing mail messages are sent
with sender address of an administrator of the application, i.e. [email protected]
.
The sender
, to
, cc
, bcc
, replyTo
, subject
, body
and attachment
parts of email message are supported.
Queues
The generated queue configuration file app/config/production/queue.php
should contain:
The 'default' queue and encryption are used by default.
In order to use the queue your app/routes.php
file should contain the following route:
This route will be used by the GAE queue to push the jobs. Please notice that the route and the GAE Queue Connection 'url' parameter point to the same URL. For more information on the matter please see http://laravel.com/docs/4.2/queues#push-queues.
Deploy
Download and install GAE SDK for PHP and deploy your app.