Skip to content

Commit 22a2f4b

Browse files
committed
more updates
1 parent dbe228c commit 22a2f4b

6 files changed

+2059
-199
lines changed

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ public/hot
1515
public_html/storage
1616
public_html/hot
1717

18-
storage/*.key
1918
.env
19+
.phpunit.result.cache
2020
Homestead.yaml
2121
Homestead.json
22-
/.vagrant
23-
.phpunit.result.cache
22+
storage/*.key
23+
.vagrant/
2424
.idea/

artisan

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#!/usr/bin/env php
2+
<?php
3+
4+
define('LARAVEL_START', microtime(true));
5+
6+
/*
7+
|--------------------------------------------------------------------------
8+
| Register The Auto Loader
9+
|--------------------------------------------------------------------------
10+
|
11+
| Composer provides a convenient, automatically generated class loader
12+
| for our application. We just need to utilize it! We'll require it
13+
| into the script here so that we do not have to worry about the
14+
| loading of any our classes "manually". Feels great to relax.
15+
|
16+
*/
17+
18+
require __DIR__.'/vendor/autoload.php';
19+
20+
$app = require_once __DIR__.'/bootstrap/app.php';
21+
22+
/*
23+
|--------------------------------------------------------------------------
24+
| Run The Artisan Application
25+
|--------------------------------------------------------------------------
26+
|
27+
| When we run the console application, the current CLI command will be
28+
| executed in this console and the response sent back to a terminal
29+
| or another output device for the developers. Here goes nothing!
30+
|
31+
*/
32+
33+
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
34+
35+
$status = $kernel->handle(
36+
$input = new Symfony\Component\Console\Input\ArgvInput,
37+
new Symfony\Component\Console\Output\ConsoleOutput
38+
);
39+
40+
/*
41+
|--------------------------------------------------------------------------
42+
| Shutdown The Application
43+
|--------------------------------------------------------------------------
44+
|
45+
| Once Artisan has finished running, we will fire off the shutdown events
46+
| so that any final work may be done by the application before we shut
47+
| down the process. This is the last thing to happen to the request.
48+
|
49+
*/
50+
51+
$kernel->terminate($input, $status);
52+
53+
exit($status);

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"illuminate/contracts": "^7.0",
88
"illuminate/support": "^7.0",
99
"illuminate/view": "^7.0",
10+
"laravel/framework": "^7.19",
1011
"laravel/ui": "^2.1"
1112
},
1213
"license": "MIT",

0 commit comments

Comments
 (0)