Package Data | |
---|---|
Maintainer Username: | ajessup |
Package Create Date: | 2013-12-21 |
Package Last Update: | 2013-12-26 |
Home Page: | http://laravel.com |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:06:51 |
Package Statistics | |
---|---|
Total Downloads: | 265 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 22 |
Total Watchers: | 5 |
Total Forks: | 6 |
Total Open Issues: | 0 |
The wonderful Laravel 4 Framework, lightly tweaked to run well on Google App Engine out of the box
Ensure you have downloaded and installed the latest Google App Engine for PHP SDK and Composer. Then create a new project by running this command from your terminal:
composer create-project ajessup/laravel your-project-name -s dev
This will create a default project shell including the necessary configuration files. You can start the project the App Engine launcher or via the dev_appserver.py
command included in the App Engine SDK:
dev_appserver.py ./your-project-name/
This will run your project on your local machine within the App Engine development server, with all necessary production services such as memcache emulated.
Now you just need to build your application! If you're looking for inspiration, try the official Laravel Quickstart.
To deploy to Google App Engine, you must first:
Before deploying the first time:
app.yaml
in your project, and change the application:
attribute to match the name of your project (which is also the ID of your App Engine application)php.ini
in your project, and change the value for the ini setting google_app_engine.allow_include_gs_buckets
to the name of the bucket you created above. When running on App Engine, Laravel will use this bucket by default to write to storageTo deploy your application, you can either use the App Engine launcher or via the appcfg.py
command included in the App Engine SDK:
appcfg.py ./your-project-name/
This fork of the Laravel framework has been lightly customized to work well with Google App Engine out of the box. This includes the following changes from the default Laravel configuration:
local
(when running on the Development Server) and appengine
(when running on App Engine itself)local
environment, Laravel uses it's normal storage directory. When running in the appengine
environment, Laravel will use a Cloud Storage bucket.app.yaml
and php.ini
configuration files for App Engine are includedDocumentation for the entire framework can be found on the Laravel website.
Unless you are reporting/fixing an issue that relates to Laravel on App Engine specifically, issues and pull requests should be filed on the laravel/framework repository.
As well as the awesome Laravel team, special thanks go to @amygdala and @milesgioli for finding and documenting many of the changes required to run Laravel on Google App Engine.
This derivative of the Laravel framework is open-sourced software licensed under the MIT license