PHP code example of shpasser / gae-support-l5

1. Go to this page and download the library: Download shpasser/gae-support-l5 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

shpasser / gae-support-l5 example snippets


'providers' => [
    Shpasser\GaeSupportL5\GaeSupportServiceProvider::class
];

return array(

	...

	/*
	|--------------------------------------------------------------------------
	| GAE Queue Connection
	|--------------------------------------------------------------------------
	|
	*/

	'connections' => array(

		'gae' => array(
			'driver'	=> 'gae',
			'queue'		=> 'default',
			'url'		=> '/tasks',
			'encrypt'	=> true,
		),

		...

	),

);

Route::post('tasks', array('as' => 'tasks',
function()
{
	return Queue::marshal();
}));

'gae' => [
    'driver' => 'gae',
    'root'   => storage_path().'/app',
],

FILESYSTEM = gae

CACHE_COMPILED_VIEWS = true

CACHE_SERVICES_FILE = true
CACHE_CONFIG_FILE = true
CACHE_ROUTES_FILE = true

FILESYSTEM = gae

'providers' => [
    Shpasser\GaeSupportL5\GaeArtisanConsoleServiceProvider::class
];
yaml
handlers:

        - url: /artisan
          script: public/index.php
          login: admin
          secure: always

        - url: /.*
          script: public/index.php