rewrite to laravel artisan command & using message queueing