PHP code example of shpasser / gae-support

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


'providers' => [
    'Shpasser\GaeSupport\GaeSupportServiceProvider'
];

return array(

	'default' => 'gae',

	/*
	|--------------------------------------------------------------------------
	| 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();
}));