File tree 7 files changed +18
-16
lines changed
7 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) Venturedrake
3
+ Copyright (c) VentureDrake
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ composer require venturedrake/laravel-encryptable
18
18
19
19
You can publish the config file with:
20
20
``` bash
21
- php artisan vendor:publish --provider=" Venturedrake \LaravelEncryptable\LaravelEncryptableServiceProvider" --tag=" config"
21
+ php artisan vendor:publish --provider=" VentureDrake \LaravelEncryptable\LaravelEncryptableServiceProvider" --tag=" config"
22
22
```
23
23
24
24
## Usage
Original file line number Diff line number Diff line change 26
26
},
27
27
"autoload" : {
28
28
"psr-4" : {
29
- "Venturedrake \\ LaravelEncryptable\\ " : " src" ,
30
- "Venturedrake \\ LaravelEncryptable\\ Database\\ Factories\\ " : " database/factories"
29
+ "VentureDrake \\ LaravelEncryptable\\ " : " src" ,
30
+ "VentureDrake \\ LaravelEncryptable\\ Database\\ Factories\\ " : " database/factories"
31
31
}
32
32
},
33
33
"autoload-dev" : {
34
34
"psr-4" : {
35
- "Venturedrake \\ LaravelEncryptable\\ Tests\\ " : " tests"
35
+ "VentureDrake \\ LaravelEncryptable\\ Tests\\ " : " tests"
36
36
}
37
37
},
38
38
"scripts" : {
47
47
"extra" : {
48
48
"laravel" : {
49
49
"providers" : [
50
- " Venturedrake \\ LaravelEncryptable\\ LaravelEncryptableServiceProvider"
50
+ " VentureDrake \\ LaravelEncryptable\\ LaravelEncryptableServiceProvider"
51
51
],
52
52
"aliases" : {
53
- "LaravelEncryptable" : " Venturedrake \\ LaravelEncryptable\\ LaravelEncryptableFacade" ,
54
- "Encryptable" : " Venturedrake \\ LaravelEncryptable\\ Traits\\ EncryptableTrait"
53
+ "LaravelEncryptable" : " VentureDrake \\ LaravelEncryptable\\ LaravelEncryptableFacade" ,
54
+ "Encryptable" : " VentureDrake \\ LaravelEncryptable\\ Traits\\ EncryptableTrait"
55
55
}
56
56
}
57
57
},
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Venturedrake \LaravelEncryptable \Database \Factories ;
3
+ namespace VentureDrake \LaravelEncryptable \Database \Factories ;
4
4
5
5
use Illuminate \Database \Eloquent \Factories \Factory ;
6
6
Original file line number Diff line number Diff line change 11
11
verbose =" true"
12
12
>
13
13
<testsuites >
14
- <testsuite name =" Venturedrake Test Suite" >
14
+ <testsuite name =" VentureDrake Test Suite" >
15
15
<directory >tests</directory >
16
16
</testsuite >
17
17
</testsuites >
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Venturedrake \LaravelEncryptable \Tests ;
3
+ namespace VentureDrake \LaravelEncryptable \Tests ;
4
4
5
5
class ExampleTest extends TestCase
6
6
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Venturedrake \LaravelEncryptable \Tests ;
3
+ namespace VentureDrake \LaravelEncryptable \Tests ;
4
4
5
5
use Illuminate \Database \Eloquent \Factories \Factory ;
6
6
use Orchestra \Testbench \TestCase as Orchestra ;
7
- use Venturedrake \LaravelEncryptable \LaravelEncryptableServiceProvider ;
7
+ use VentureDrake \LaravelEncryptable \LaravelEncryptableServiceProvider ;
8
8
9
9
class TestCase extends Orchestra
10
10
{
11
11
public function setUp (): void
12
12
{
13
13
parent ::setUp ();
14
14
15
- Factory::guessFactoryNamesUsing (
16
- fn (string $ modelName ) => 'Venturedrake \\LaravelEncryptable \\Database \\Factories \\' .class_basename ($ modelName ).'Factory '
17
- );
15
+ /*Factory::guessFactoryNamesUsing(
16
+ function (string $modelName) {
17
+ return 'VentureDrake\\LaravelEncryptable\\Database\\Factories\\' . class_basename($modelName) . 'Factory';
18
+ }
19
+ );*/
18
20
}
19
21
20
22
protected function getPackageProviders ($ app )
You can’t perform that action at this time.
0 commit comments