-
git clone https://github.com/rajivseelam/laravel-queues.git
-
Run:
cd laravel-queues
-
Run:
composer install
-
Go to app/config/database.php and put database credentials
'mysql' => array( 'driver' => 'mysql', 'host' => 'localhost', 'database' => 'database', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ),
-
Go to http://www.iron.io and register/login.
-
Create a project and grab your Project ID and Token.
-
Go to app/config/queue.php and put project-id and token
'iron' => array( 'driver' => 'iron', 'host' => 'mq-aws-us-east-1.iron.io', 'token' => 'token', 'project' => 'project_id', 'queue' => 'laravel', ),
-
Run:
php artisan migrate:install
-
Run:
php artisan migrate
-
Subscribe to the queue. Please mention the correct url where you hosted your code. Run:
php artisan queue:subscribe laravel http://mywebsite.com/queue/receive
-
Notifications
You must be signed in to change notification settings - Fork 2
rajivseelam/laravel-queues
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tutorial on how to use queues
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published