diff --git a/composer.json b/composer.json index 601056d..ced88e9 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,16 @@ "license" : [ "MIT" ], + "extra":{ + "laravel":{ + "providers":[ + "Webpatser\\Countries\\CountriesServiceProvider" + ], + "aliases":{ + "Countries": "Webpatser\\Countries\\CountriesFacade" + } + } + }, "require" : { "php" : ">=5.3.0" }, diff --git a/src/commands/MigrationCommand.php b/src/commands/MigrationCommand.php index a58e071..20e12dd 100644 --- a/src/commands/MigrationCommand.php +++ b/src/commands/MigrationCommand.php @@ -11,7 +11,7 @@ class MigrationCommand extends Command { * * @var string */ - protected $name = 'countries:migration'; + protected $signature = 'countries:migration'; /** * The console command description. @@ -37,6 +37,14 @@ public function __construct() * * @return void */ + public function handle() + { + $this->fire(); + } + + /** + * + */ public function fire() { $this->line('');