File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) Venturedrake
3+ Copyright (c) VentureDrake
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of 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
1818
1919You can publish the config file with:
2020``` bash
21- php artisan vendor:publish --provider=" Venturedrake \LaravelEncryptable\LaravelEncryptableServiceProvider" --tag=" config"
21+ php artisan vendor:publish --provider=" VentureDrake \LaravelEncryptable\LaravelEncryptableServiceProvider" --tag=" config"
2222```
2323
2424## Usage
Original file line number Diff line number Diff line change 2626 },
2727 "autoload" : {
2828 "psr-4" : {
29- "Venturedrake \\ LaravelEncryptable\\ " : " src" ,
30- "Venturedrake \\ LaravelEncryptable\\ Database\\ Factories\\ " : " database/factories"
29+ "VentureDrake \\ LaravelEncryptable\\ " : " src" ,
30+ "VentureDrake \\ LaravelEncryptable\\ Database\\ Factories\\ " : " database/factories"
3131 }
3232 },
3333 "autoload-dev" : {
3434 "psr-4" : {
35- "Venturedrake \\ LaravelEncryptable\\ Tests\\ " : " tests"
35+ "VentureDrake \\ LaravelEncryptable\\ Tests\\ " : " tests"
3636 }
3737 },
3838 "scripts" : {
4747 "extra" : {
4848 "laravel" : {
4949 "providers" : [
50- " Venturedrake \\ LaravelEncryptable\\ LaravelEncryptableServiceProvider"
50+ " VentureDrake \\ LaravelEncryptable\\ LaravelEncryptableServiceProvider"
5151 ],
5252 "aliases" : {
53- "LaravelEncryptable" : " Venturedrake \\ LaravelEncryptable\\ LaravelEncryptableFacade" ,
54- "Encryptable" : " Venturedrake \\ LaravelEncryptable\\ Traits\\ EncryptableTrait"
53+ "LaravelEncryptable" : " VentureDrake \\ LaravelEncryptable\\ LaravelEncryptableFacade" ,
54+ "Encryptable" : " VentureDrake \\ LaravelEncryptable\\ Traits\\ EncryptableTrait"
5555 }
5656 }
5757 },
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Venturedrake \LaravelEncryptable \Database \Factories ;
3+ namespace VentureDrake \LaravelEncryptable \Database \Factories ;
44
55use Illuminate \Database \Eloquent \Factories \Factory ;
66
Original file line number Diff line number Diff line change 1111 verbose =" true"
1212>
1313 <testsuites >
14- <testsuite name =" Venturedrake Test Suite" >
14+ <testsuite name =" VentureDrake Test Suite" >
1515 <directory >tests</directory >
1616 </testsuite >
1717 </testsuites >
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Venturedrake \LaravelEncryptable \Tests ;
3+ namespace VentureDrake \LaravelEncryptable \Tests ;
44
55class ExampleTest extends TestCase
66{
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Venturedrake \LaravelEncryptable \Tests ;
3+ namespace VentureDrake \LaravelEncryptable \Tests ;
44
55use Illuminate \Database \Eloquent \Factories \Factory ;
66use Orchestra \Testbench \TestCase as Orchestra ;
7- use Venturedrake \LaravelEncryptable \LaravelEncryptableServiceProvider ;
7+ use VentureDrake \LaravelEncryptable \LaravelEncryptableServiceProvider ;
88
99class TestCase extends Orchestra
1010{
1111 public function setUp (): void
1212 {
1313 parent ::setUp ();
1414
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+ );*/
1820 }
1921
2022 protected function getPackageProviders ($ app )
You can’t perform that action at this time.
0 commit comments