PHP code example of shpasser / gae-support-lumen

1. Go to this page and download the library: Download shpasser/gae-support-lumen 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-lumen example snippets


$app->withFacades();

$app->register(Shpasser\GaeSupportLumen\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

COMPILED_PATH = cachefs://framework/views

FILESYSTEM = gae