-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathartisan
41 lines (27 loc) · 1.08 KB
/
artisan
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env php
<?php
require __DIR__.'/vendor/autoload.php';
use Commands\Db_tables_Commands\BlogsTableCommand;
use Commands\Db_tables_Commands\PortfolioTableCommand;
use Commands\Db_tables_Commands\ServicesTableCommand;
use Commands\Db_tables_Commands\SettingsTableCommand;
use Commands\Db_tables_Commands\TestimonialTableCommand;
use Commands\Db_tables_Commands\UserCommand;
use Commands\MakeControllerCommand;
use Commands\Migrate;
use Illuminate\Container\Container;
use Illuminate\Events\Dispatcher;
use Illuminate\Console\Application;
$container = new Container;
$events = new Dispatcher($container);
$artisan = new Application($container, $events, 'Version 1');
$artisan->setName('Php Portfolio App');
$artisan->resolve(UserCommand::class);
$artisan->resolve(BlogsTableCommand::class);
$artisan->resolve(SettingsTableCommand::class);
$artisan->resolve(PortfolioTableCommand::class);
$artisan->resolve(ServicesTableCommand::class);
$artisan->resolve(TestimonialTableCommand::class);
$artisan->resolve(Migrate::class);
$artisan->resolve(MakeControllerCommand::class);
$artisan->run();