Laravel 5 Command and Handler issue
I am working one of my project with laravel 5. During the implementation i got struct with one issue which is related to command and handler. I used artisan command to generate command php artisan make:command TestCommand --handler I generated command at app/commands folder "TestCommand.php" <?php namespace App\Commands; use App\Commands\Command; class TestCommand extends Command { public $id; public $name; public function __construct($id, $name) { $this->id = $id; $this->name = $name; } } Also my TestCommandHandler.php looks like this <?php namespace App\Handlers\Commands; use App\Commands