File tree 13 files changed +26
-26
lines changed
13 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 35
35
},
36
36
"autoload" : {
37
37
"psr-4" : {
38
- "Backstage\\ Laravel \\ Static \\ " : " src"
38
+ "Backstage\\ Static \\ Laravel \\ " : " src"
39
39
}
40
40
},
41
41
"autoload-dev" : {
42
42
"psr-4" : {
43
- "Backstage\\ Laravel \\ Static \\ Tests\\ " : " tests"
43
+ "Backstage\\ Static \\ Laravel \\ Tests\\ " : " tests"
44
44
}
45
45
},
46
46
"scripts" : {
59
59
"extra" : {
60
60
"laravel" : {
61
61
"providers" : [
62
- " Backstage\\ Laravel \\ Static \\ StaticServiceProvider"
62
+ " Backstage\\ Static \\ Laravel \\ StaticServiceProvider"
63
63
],
64
64
"aliases" : {
65
- "Static" : " Backstage\\ Laravel \\ Static \\ Facades\\ StaticCache"
65
+ "Static" : " Backstage\\ Static \\ Laravel \\ Facades\\ StaticCache"
66
66
}
67
67
}
68
68
},
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
use Spatie \Crawler \CrawlProfiles \CrawlInternalUrls ;
4
- use Backstage \Laravel \ Static \Crawler \StaticCrawlObserver ;
4
+ use Backstage \Static \ Laravel \Crawler \StaticCrawlObserver ;
5
5
6
6
return [
7
7
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static \Commands ;
3
+ namespace Backstage \Static \ Laravel \Commands ;
4
4
5
5
use Exception ;
6
6
use GuzzleHttp \RequestOptions ;
10
10
use Illuminate \Support \Collection ;
11
11
use Illuminate \Support \Facades \Route ;
12
12
use Spatie \Crawler \Crawler ;
13
- use Backstage \Laravel \ Static \StaticCache ;
14
- use Backstage \Laravel \ Static \Middleware \StaticResponse ;
13
+ use Backstage \Static \ Laravel \StaticCache ;
14
+ use Backstage \Static \ Laravel \Middleware \StaticResponse ;
15
15
16
16
class StaticBuildCommand extends Command
17
17
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static \Commands ;
3
+ namespace Backstage \Static \ Laravel \Commands ;
4
4
5
5
use Illuminate \Config \Repository ;
6
6
use Illuminate \Console \Command ;
7
7
use Illuminate \Routing \Route ;
8
8
use Illuminate \Support \Arr ;
9
9
use Illuminate \Support \Facades \Route as Router ;
10
- use Backstage \Laravel \ Static \StaticCache ;
10
+ use Backstage \Static \ Laravel \StaticCache ;
11
11
12
12
class StaticClearCommand extends Command
13
13
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static \Crawler ;
3
+ namespace Backstage \Static \ Laravel \Crawler ;
4
4
5
5
use GuzzleHttp \Exception \RequestException ;
6
6
use Illuminate \Console \View \Components \Factory as ComponentFactory ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static \Facades ;
3
+ namespace Backstage \Static \ Laravel \Facades ;
4
4
5
5
use Illuminate \Support \Facades \Facade ;
6
6
@@ -11,6 +11,6 @@ class StaticCache extends Facade
11
11
{
12
12
protected static function getFacadeAccessor ()
13
13
{
14
- return \Backstage \Laravel \ Static \StaticCache::class;
14
+ return \Backstage \Static \ Laravel \StaticCache::class;
15
15
}
16
16
}
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static \Middleware ;
3
+ namespace Backstage \Static \ Laravel \Middleware ;
4
4
5
5
use Closure ;
6
6
use Illuminate \Http \Request ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static \Middleware ;
3
+ namespace Backstage \Static \ Laravel \Middleware ;
4
4
5
5
use Closure ;
6
6
use Illuminate \Config \Repository ;
7
7
use Illuminate \Http \JsonResponse ;
8
8
use Illuminate \Http \Request ;
9
9
use voku \helper \HtmlMin ;
10
- use Backstage \Laravel \ Static \Facades \StaticCache ;
10
+ use Backstage \Static \ Laravel \Facades \StaticCache ;
11
11
12
12
class StaticResponse
13
13
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static ;
3
+ namespace Backstage \Static \ Laravel ;
4
4
5
5
use Illuminate \Config \Repository ;
6
6
use Illuminate \Filesystem \Filesystem as Files ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static ;
3
+ namespace Backstage \Static \ Laravel ;
4
4
5
5
use Illuminate \Contracts \Http \Kernel ;
6
6
use Spatie \LaravelPackageTools \Package ;
7
7
use Spatie \LaravelPackageTools \PackageServiceProvider ;
8
- use Backstage \Laravel \ Static \Commands \StaticBuildCommand ;
9
- use Backstage \Laravel \ Static \Commands \StaticClearCommand ;
10
- use Backstage \Laravel \ Static \Middleware \PreventStaticResponseMiddleware ;
8
+ use Backstage \Static \ Laravel \Commands \StaticBuildCommand ;
9
+ use Backstage \Static \ Laravel \Commands \StaticClearCommand ;
10
+ use Backstage \Static \ Laravel \Middleware \PreventStaticResponseMiddleware ;
11
11
12
12
class StaticServiceProvider extends PackageServiceProvider
13
13
{
Original file line number Diff line number Diff line change 2
2
3
3
use Illuminate \Support \Facades \Route ;
4
4
use voku \helper \HtmlMin ;
5
- use Backstage \Laravel \ Static \Facades \StaticCache ;
6
- use Backstage \Laravel \ Static \Middleware \StaticResponse ;
5
+ use Backstage \Static \ Laravel \Facades \StaticCache ;
6
+ use Backstage \Static \ Laravel \Middleware \StaticResponse ;
7
7
8
8
it ('can cache a page response ' , function ($ route ) {
9
9
config ([
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- use Backstage \Laravel \ Static \Tests \TestCase ;
3
+ use Backstage \Static \ Laravel \Tests \TestCase ;
4
4
5
5
uses (TestCase::class)->in (__DIR__ );
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Backstage \Laravel \ Static \Tests ;
3
+ namespace Backstage \Static \ Laravel \Tests ;
4
4
5
5
use Orchestra \Testbench \TestCase as Orchestra ;
6
- use Backstage \Laravel \ Static \StaticServiceProvider ;
6
+ use Backstage \Static \ Laravel \StaticServiceProvider ;
7
7
8
8
class TestCase extends Orchestra
9
9
{
You can’t perform that action at this time.
0 commit comments