imanghafoori / laravel-microscope
Automatically test your laravel application
Installs: 478 797
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1 482
Watchers: 23
Forks: 97
Open Issues: 10
Requires
- php: ^7.2|8.0.*|8.1.*|8.2.*|8.3.*
- composer/class-map-generator: ^1.0.0
- imanghafoori/composer-json: ^1.0.17
- imanghafoori/php-abstract-filesystem: ^0.1.5
- imanghafoori/php-imports-analyzer: ^1.0.6
- imanghafoori/php-search-replace: ^1.1.13
- imanghafoori/php-token-analyzer: ^0.1.83
- imanghafoori/smart-realtime-facades: ^1.1.8
- jetbrains/phpstorm-attributes: 1.*
- laravel/framework: 5.*|6.*|7.*|8.*|9.*|10.*|11.*
Requires (Dev)
- orchestra/testbench: >=3.0.0
- phpunit/phpunit: >=6.0.0
- dev-master
- v1.0.370
- v1.0.369
- v1.0.368
- v1.0.367
- v1.0.366
- v1.0.365
- v1.0.364
- v1.0.363
- v1.0.362
- v1.0.361
- v1.0.360
- v1.0.359
- v1.0.358
- v1.0.357
- v1.0.356
- v1.0.355
- v1.0.354
- v1.0.353
- v1.0.352
- v1.0.351
- v1.0.350
- v1.0.349
- v1.0.348
- v1.0.347
- v1.0.346
- v1.0.345
- v1.0.344
- v1.0.343
- v1.0.342
- v1.0.341
- v1.0.340
- v1.0.339
- v1.0.338
- v1.0.337
- v1.0.336
- v1.0.335
- v1.0.334
- v1.0.333
- v1.0.332
- v1.0.331
- v1.0.330
- v1.0.329
- v1.0.328
- v1.0.327
- v1.0.326
- v1.0.325
- v1.0.324
- v1.0.323
- v1.0.322
- v1.0.321
- v1.0.320
- v1.0.319
- v1.0.318
- v1.0.317
- v1.0.316
- v1.0.315
- v1.0.314
- v1.0.313
- v1.0.312
- v1.0.311
- v1.0.310
- v1.0.309
- v1.0.308
- v1.0.307
- v1.0.306
- v1.0.305
- v1.0.304
- v1.0.303
- v1.0.302
- v1.0.301
- v1.0.300
- v1.0.299
- v1.0.298
- v1.0.297
- v1.0.296
- v1.0.295
- v1.0.294
- v1.0.293
- v1.0.292
- v1.0.291
- v1.0.290
- v1.0.289
- v1.0.288
- v1.0.287
- v1.0.286
- v1.0.285
- v1.0.284
- v1.0.283
- v1.0.282
- v1.0.281
- v1.0.280
- v1.0.279
- v1.0.278
- v1.0.277
- v1.0.276
- v1.0.275
- v1.0.274
- v1.0.273
- v1.0.272
- v1.0.271
- v1.0.270
- v1.0.269
- v1.0.268
- v1.0.267
- v1.0.266
- v1.0.265
- v1.0.264
- v1.0.263
- v1.0.262
- v1.0.261
- v1.0.260
- v1.0.259
- v1.0.258
- v1.0.257
- v1.0.256
- v1.0.255
- v1.0.254
- v1.0.253
- v1.0.252
- v1.0.251
- v1.0.250
- v1.0.249
- v1.0.248
- v1.0.247
- v1.0.246
- v1.0.245
- v1.0.244
- v1.0.243
- v1.0.242
- v1.0.241
- v1.0.240
- v1.0.239
- v1.0.238
- v1.0.237
- v1.0.236
- v1.0.235
- v1.0.234
- v1.0.233
- v1.0.232
- v1.0.231
- v1.0.230
- v1.0.229
- v1.0.228
- v1.0.227
- v1.0.226
- v1.0.225
- v1.0.224
- v1.0.223
- v1.0.222
- v1.0.221
- v1.0.220
- v1.0.219
- v1.0.218
- v1.0.217
- v1.0.216
- v1.0.215
- v1.0.214
- v1.0.213
- v1.0.212
- v1.0.211
- v1.0.210
- v1.0.209
- v1.0.208
- v1.0.206
- v1.0.205
- v1.0.204
- v1.0.203
- v1.0.202
- v1.0.201
- v1.0.200
- v1.0.199
- v1.0.198
- v1.0.197
- v1.0.196
- v1.0.195
- v1.0.194
- v1.0.193
- v1.0.192
- 1.0.191
- v1.0.189
- v1.0.188
- v1.0.187
- v1.0.186
- v1.0.185
- v1.0.184
- v1.0.183
- v1.0.182
- v1.0.181
- v1.0.180
- v1.0.179
- v1.0.178
- v1.0.177
- v1.0.176
- v1.0.175
- v1.0.174
- v1.0.173
- v1.0.172
- v1.0.171
- v1.0.170
- v1.0.169
- v1.0.168
- v1.0.167
- v1.0.166
- v1.0.165
- v1.0.164
- v1.0.163
- v1.0.162
- v1.0.161
- v1.0.160
- 1.0.159
- v1.0.158
- v1.0.157
- v1.0.156
- v1.0.155
- v1.0.154
- v1.0.153
- v1.0.152
- v1.0.151
- v1.0.150
- v1.0.149
- v1.0.148
- v1.0.147
- v1.0.146
- v1.0.145
- v1.0.144
- v1.0.143
- v1.0.142
- v1.0.141
- v1.0.140
- v1.0.139
- v1.0.138
- v1.0.136
- v1.0.135
- v1.0.134
- v1.0.133
- v1.0.132
- v1.0.131
- v1.0.130
- v1.0.129
- v1.0.128
- v1.0.127
- v1.0.126
- v1.0.125
- v1.0.124
- v1.0.123
- v1.0.122
- v1.0.121
- v1.0.119
- v1.0.118
- v1.0.117
- v1.0.116
- v1.0.115
- v1.0.114
- v1.0.113
- v1.0.112
- v1.0.111
- v1.0.110
- v1.0.109
- v1.0.108
- v1.0.107
- v1.0.106
- v1.0.105
- v1.0.104
- v1.0.103
- v1.0.101
- v1.0.100
- v1.0.99
- v1.0.98
- v1.0.97
- v1.0.96
- v1.0.95
- v1.0.94
- v1.0.93
- v1.0.92
- v1.0.91
- v1.0.90
- v1.0.89
- v1.0.88
- v1.0.87
- v1.0.86
- v1.0.85
- 1.0.84
- v1.0.83
- v1.0.82
- v1.0.81
- v1.0.80
- v1.0.79
- v1.0.77
- 1.0.76
- v1.0.75
- v1.0.74
- v1.0.73
- v1.0.72
- v1.0.71
- v1.0.66
- v1.0.65
- v1.0.64
- v1.0.63
- v1.0.61
- v1.0.60
- v1.0.59
- v1.0.58
- v1.0.57
- v1.0.51
- v1.0.50
- v1.0.49
- v1.0.48
- v1.0.47
- v1.0.46
- v1.0.44
- v1.0.43
- v1.0.41
- v1.0.40
- v1.0.39
- v1.0.38
- v1.0.37
- v1.0.35
- v1.0.34
- v1.0.33
- v1.0.32
- v1.0.30
- v1.0.29
- v1.0.28
- v1.0.27
- v1.0.26
- v1.0.25
- v1.0.24
- v1.0.22
- v1.0.21
- v1.0.19
- v1.0.18
- v1.0.15
- v1.0.14
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.1.57
- v0.1.55
- v0.1.54
- v0.1.52
- v0.1.51
- v0.1.50
- v0.1.48
- v0.1.47
- v0.1.46
- v0.1.41
- v0.1.40
- v0.1.39
- v0.1.38
- v0.1.37
- v0.1.36
- v0.1.35
- v0.1.34
- v0.1.32
- v0.1.29
- v0.1.27
- v0.1.21
- v0.1.20
- v0.1.18
- v0.1.16
- v0.1.15
- v0.1.13
- v0.1.11
- v0.1.9
- v0.1.7
- v0.1.5
- v0.1.4
- v0.1.3
- dev-generators
- dev-test
- dev-loaded_local_modules
- dev-case_sensitive
This package is auto-updated.
Last update: 2024-12-11 11:57:21 UTC
README
Find Bugs Before They Bite
Built with ❤️ for lazy Laravel developers ;)
Why repeat the old errors, if there are so many new errors to commit?
(Bertrand Russel)
Give your eyes a rest, we will detect and fix them for you.
-
Table Of Contents
-
show commands
Key things to know:
- It is created to be smarter than phpstorm and other IDEs in finding errors.
- It is created to understand laravel run-time and magic.
- It does not show you stupid false errors, all the reported cases are really errors.
- Even If you have written a lot of tests for your app, you may still need this.
- It can refactor your code, by applying
early returns
automatically. - It is written from scratch to yield the maximum performance possible.
🎞️ Video tutorial here
⭐ Your Stars Make Us Do More
If you found this package useful, and you want to encourage the maintainer to work on it, just press the star button to declare your willingness.
⬇️ Installation
You can install the package via Composer:
composer require imanghafoori/laravel-microscope --dev
You may also publish config file:
php artisan vendor:publish --provider="Imanghafoori\LaravelMicroscope\LaravelMicroscopeServiceProvider"
💎 Usage:
Useful Commands:
You can run 👇
Less Used Commands:
Global Helper Functions:
Also, You will have access to some global helper functions
microscope_dd_listeners($event);
In case you wonder what the listeners are and where they are,
you can call microscope_dd_listeners(MyEvent::class);
within either the boot
or register
methods.
It works like a normal dd(...);
meaning that the program stops running at that point.
📖 What do the Commands do?
Let's start with the:
php artisan search_replace {--name=pattern_name} {--tag=some_tag} {--file=partial_file_name} {--folder=partial_folder_name}
This is a smart and very powerful search/replace functionality that can be a real "time saver" for you.
1️⃣ Defining patterns:
If you run the command
artisan search_replace
for the first time, it will create asearch_replace.php
file in the project's root. Then, you can define your patterns, within that file.
Examples:
Let's define a pattern to replace the optional()
global helper with the ?->
php 8 null safe operator:
return [ 'optional_to_nullsafe' => [ 'search' => '"<global_func_call:optional>"("<in_between>")->', 'replace' => '"<2>"?->', // 'tag' => 'php8,refactor', // 'predicate' => function($matches, $tokens) {...}, // 'mutator' => function($matches) {...}, // 'post_replace' => [...], // 'avoid_result_in' => [...], // 'avoid_syntax_errors' => false, // 'filters' => [...], ] ];
- Here the key
optional_to_nullsafe
is the "unique name" of your pattern. (You can target your pattern by runningphp artisan search_replace --name=optional_to_nullsafe
) - The search pattern has a
"<in_between>"
placeholder which captures everything in between the pair of parenthesis. - In the
replace
block we substitute what we have captured by the first placeholder with the"<1>"
. If we have more placeholders, we could have had"<2>"
etc. - In the tag block we can mention some tags as an array of strings or a string separated by commas
and target them by
--tag
flag:php artisan search_replace --tag=php8
Here is a comprehensive list of placeholders you can use:
You can also define your own keywords if needed!
You just define a class for your new keyword and append the classpath to the end of the
Finder::$keywords[] = MyKeyword::class
property. Just like the default keywords.
Example:
1️⃣ Let's say you want to find only the "comments" that contain the word "todo:" in them.
'todo_comments' => [ 'search' => '<comment>', 'predicate' => function($matches) { // <==== here we check comment has "todo:" $comment = $matches[0]; // first placeholder value $content = $comment[1]; // get its content return Str::contains($content, 'todo:') ? true : false; }, ]
Note If you do not mention the 'replace'
key it only searches and reports them to you.
2️⃣ Ok, now let's say you want to remove the "todo:" word from your comments:
'remove_todo_comments' => [ 'search' => '<comment>', // <=== we capture any comment 'replace' => '<1>', 'predicate' => function($matches) { $comment = $matches[0]; // first matched placeholder $content = $comment[1]; return Str::contains($content, 'todo:') ? true : false; }, 'mutator' => function ($matches) { // <=== here we remove "todo:" $matches[0][1] = str_replace('todo:', '', $matches[0][1]); return $matches; } ]
Converts: // todo: refactor code
Into: // refactor code
3️⃣ Mutator:
In mutators, you are free to manipulate the $matched
values as much as you need to before replacing them in the results.
You can also mention a static method instead of a function, like this: [MyClass::class, 'myStaticMethod']
3️⃣ Let's say you want to put the optional comma for the Lets elements in the arrays if they are missing.
'enforce_optional_comma' => [ 'search' => '<white_space>?]', 'replace' => ',"<1>"]', 'avoid_syntax_errors' => true, 'avoid_result_in' => [ ',,]', '[,]', '<var>[,]' ], ]
In this case, our pattern is not very accurate and in some cases, it may result in syntax errors.
Because of that, we turn on the php syntax validator to check the result, but that costs us a performance penalty!!!
To exclude the usage of PHP, to validate the results we have mentioned the avoid_result_in
so that if they happen in the result it skips.
- Note: The
?
in the "<white_space>?" notes this is anoptional
placeholder.
If you are curious to see a better pattern that does not need any syntax checking, try this:
'enforce_optional_comma' => [
'search' => '<1:any><2:white_space>?[<3:until_match>]',
'replace' => '<1><2>[<3>,]',
'avoid_result_in' => [
',,]',
'[,]'
],
'predicate' => function ($matches) {
$type = $matches['values'][0][0];
return $type !== T_VARIABLE && $type !== ']';
},
'post_replace' => [
'<1:white_space>,]' => ',<1>]'
]
],
This is more complex but works much faster. (since it does not need the php syntax validator)
-
Here
'post_replace'
is a pattern that is applied only and only on the resulting code to refine it, and NOT on the entire file. -
You can optionally comment your placeholders (as above
<1:any>
) with numbers so that you know which one corresponds to which when replaced.
Currently, the microscope offers only two built-in filters: is_sub_class_of
and in_array
Can you guess what the heck this pattern is doing?!
'mention_query' => [ 'search' => '<1:class_ref>::<2:name>' 'replace' => '<1>::query()-><2>', 'filters' => [ 1 => [ 'is_sub_class_of' => \Illuminate\Database\Eloquent\Model::class ], 2 => [ 'in_array' => 'where,count,find,findOrFail,findOrNew' ] ] ]
It converts these:
User::where(...)->get(); \App\Models\User::find(...);
Into these:
User::query()->where(...)->get(); \App\Models\User::query()->find(...);
- The filters here ensure that the captured class reference is a Laravel Model and the method name is one of the names mentioned in the list.
So it does not tamper with something like this:
User::all(); // The `all` method can not be preceded by `query` UserRepo::where(...); /// UserRepo is not a model
- This is something that you can never do by regex.
5️⃣ Capturing php "statements":
Let's say we want to opt into PHP v7.4 arrow functions:
'fn' => [ 'search' => 'function (<in_between>)<until>{ return <statement>; }', 'replace' => 'fn (<1>) => <3>', 'tags' => 'php74,refactor', ]
In this example, we have mentioned one single "statement" in the body of the function. So if it encounters a function with two or more statements it will ignore that.
$closure = function ($a) use ($b) { return $a + $b; }; // will become: $closure = fn($a) => $a + $hello;
But this is not captured:
$closure = function ($a) { $a++; return $a + $b; };
6️⃣ Difference between <statement>
and <until>;
They seem to be very similar but there is an important case in which you can not use <until>;
to cover it properly!
$first = $a + $b; $second = function ($a) { $a++; return $a; };
If we define our pattern like this:
return [ 'pattern_name' => [ 'search' => '<var> = <until>;', ] ];
For $c = $a + $b;
they act the same way, but for the second one "<until>";
will not capture the whole closure and will stop as soon as it reaches $a++;
and that is a problem.
But if you define your pattern as: '<var> = <statement>'
it would be smart enough to capture the correct semicolon at the end of the closure definition and the whole close would be captured.
7️⃣ Capturing global function calls:
Let's say you want to eliminate all the dd(...)
or dump(...)
before pushing to production.
return [ 'remove_dd' => [ 'search' => "'<global_func_call:dd,dump>'('<in_between>');", 'replace' => '' ] ];
This will NOT capture cases like below:
$this-> dd('hello'); // is technically a method call User:: dd('I am static'); // is technically a static method call new dd('I am a class'); // here "dd" is the name of a class.
But will detect and remove real global dd()
calls with whatever parameters they have received.
dd( // <=== will be detected, even if the pattern above is written all in one line.
auth('admin')
->user()->id
);
\dd(1);
dd(1);
dump(1);
Let's say we want to refactor:
User:where('name', 'John')->where('family', 'Dou')->where('age', 20)->get();
into:
User:where([ 'name' => 'John', 'family' => 'Dou', 'age'=> 20, ])->get();
Ok, how the pattern would look like then?!
"group_wheres" => [ 'search' => '<1:class_ref>::where('<2:str>', '<3:str>')'<repeating:wheres>'->get();' 'replace' => '<1>::where([ <2> => <3>, "<repeating:1:key_values>"])->get();', 'named_patterns' => [ 'wheres' => '->where(<str>, <str>)<white_space>?', 'key_values' => '<1> => <2>,<3>', ] ]
Nice yeah??!
Possibilities are endless and the sky is the limit...
php artisan check:early_returns
This will scan all your Psr-4 loaded classes and flattens your functions and loops by applying the early return rule. For example:
<?php foreach ($products as $product) { if ($someCond) { // A lot of code 1 // A lot of code 1 // A lot of code 1 // A lot of code 1 // A lot of code 1 if ($someOtherCond) { // A lot more code 2 // A lot more code 2 // A lot more code 2 // A lot more code 2 // A lot more code 2 // } // <--- closes second if } // <--- closes first if }
Will be discovered and converted into:
<?php foreach ($products as $product) { if (! $someCond) { continue; } // A lot of code 1 // A lot of code 1 // A lot of code 1 // A lot of code 1 // A lot of code 1 if (! $someOtherCond) { continue; } // A lot more code 2 // A lot more code 2 // A lot more code 2 // A lot more code 2 // A lot more code 2 }
The same thing will apply for functions and methods, but with return
<?php if ($cond1) { if ($cond2) { .... } } // we get merged into: if ($cond1 && $cond2) { ... }
- It also supports the ruby-like if():/endif; syntax;
<?php if ($var1 > 1): if ($var2 > 2): echo 'Hey Man'; endif; endif; // Or if you avoid putting curly braces... if ($var1 > 1) if ($var2 > 2) echo 'Hey Man';
Although this type of refactoring is safe and is guaranteed to do the same thing as before, be careful to commit everything before trying this feature, in case of a weird bug or something.
php artisan check:psr4
- It checks for all the psr4 autoload defined in the composer.json file and goes through all the classes to have the right namespace, according to PSR-4 standard.
- It automatically corrects namespaces (according to PSR-4 rules)
- It also checks for references to the old namespace with the system and replaces them with the new one.
php artisan check:generate
You make an empty file, and we fill it, based on naming conventions.
If you create an empty .php
file which ends with ServiceProvider.php
after running this command:
1 - It will be filled with a boilerplate and correct Psr-4 namespace.
2 - It will be appended to the providers
array in the config/app.php
php artisan check:imports
- It checks all the imports (
use
statements) to be valid and reports invalid ones. - It autocorrects some references, no ambiguity is around the class name.
- It can understand the laravel aliased classes so
use Request;
would be valid.
php artisan check:bad_practices
- It detects bad practices like
env()
calls outside the config files.
php artisan check:routes
- It checks that your routes refer to valid controller classes and methods.
- It checks all the controller methods to have valid type-hints.
- It scans for
route()
,redirect()->route()
,\Redirect::route()
to refer to valid routes. - It will report the public methods of controllers, which have no routes pointing to them. In other words
dead controllers
are detected.
php artisan check:compact
- In php 7.3 if you "compact" a non-existent variable you will get an error, so this command checks the entire project for wrong
compact()
calls and reports to you, which parameters should be removed.
php artisan check:blade_queries
- Blade files should not contain DB queries. We should move them back into controllers and pass variables.
This command searches all the blade files for the
Eloquent models
andDB
query builder and shows them if any.
php artisan check:extract_blades
- If you want to extract a blade partial out and make it included like:
@include('myPartials.someFile')
You can use {!! extractBlade('myPartials.someFile') !!}
in your blade files to indicate start/end line
and the path/name
of the partial you intend to be made.
<html> {!! extractBlade('myPartials.head') !!} <head>...</head> {!! extractBlade() !!} {!! extractBlade('myPartials.body') !!} <body>...</body> {!! extractBlade() !!} </html>
After you execute php artisan check:extract_blades
it will become:
<html> @include('myPartials.head') @include('myPartials.body') </html>
Also, it will create:
resources/views/myPartials/head.blade.php
resources/views/myPartials/body.blade.php
And put the corresponding content in them.
- It is also compatible with namespaced views in modular Laravel applications.
So this syntax will work:
'MyMod::myPartials.body'
php artisan check:action_comments {--file=SomeFile.php}
- This adds annotations in the controller actions so that you know which route is pointing to the current controller action.
- You can use the
--file=
option to narrow down the scanned files.
php artisan pp:route
- First, you have to put this in your route file:
microscope_pretty_print_route('my.route.name');
- You can also pass the Controller@method syntax to the function.
- You can call it multiple times to pretty-print multiple routes.
php artisan check:views
- It scans your code and finds the
view()
andView::make()
and reports if they refer to the wrong files. - It scans your blade files for
@include()
and@extends()
and reports if they refer to the wrong files.
Also, it can detect unused variables
which are passed into your view from the controller like this: view('hello', [...]);
For that you must open up the page in the browser and then visit the log file to see a message like this:
local.INFO: Laravel Microscope: The view file: welcome.index-1 at App\Http\Controllers\HomeController@index has some unused variables passed to it:
local.INFO: array ('$var1' , '$var2');
Remember some variables are passed into your view from a view composer
and not the controller.
Those variables are also taken into consideration when detecting unused variables.
php artisan check:events
For example, consider:
Event::listen(MyEvent::class, '\App\Listeners\MyListener@myMethod');
1 - It checks the \App\Listeners\MyListener
classpath to be valid.
2 - It checks the myMethod
method to exist on the MyListener
class
3 - It checks the myMethod
method to have the right type-hint (if any) in its signature, for example:
public function myMethod(OtherEvent $e) // <---- notice type-hint here { // }
This is a valid but wrong type-hint, and will be reported to you. Very cool, isn't it ??!
- Note that it does not matter how you are setting your event listener,
1- in the EventServiceProvider
,
2- By Event::listen
facade,
3- By Subscriber class... or any other way. The error would be found. :)
php artisan check:gates
It checks the validity of all the gates you have defined, making sure that they refer to a valid class and method.
It also checks for the policy definitions to be valid.
Gate::policy(User::class, 'UserPolicy@someMethod'); Gate::define('someAbility', 'UserGate@someMethod');
1 - It checks the User
classpath to be valid.
2 - It checks the UserPolicy
classpath to be valid.
3 - It checks the someMethod
method to exist.
php artisan check:dynamic_where
- It looks for "dynamic where" methods like
whereFamilyName('...')
withwhere('family_name', '...')
.
php artisan enforce:query
-
It calls the static
query
method on your eloquent query chains so that IDEs can understand eloquent. -
For example, converts:
User::where(...
toUser::query()->where(...
php artisan check:dead_controllers
- We can find the controllers that don't have any routes.
php artisan check:generic_docblocks {--folder=app/Models} {--file=SomeFile.php}
- Removes Laravel's DocBlocks.
- You can use
--folder=
or--file=
option to narrow down the scanned folders.
php artisan enforce:helper_functions {--folder=app/Models} {--file=SomeFile.php}
- Converting Laravel facade into helper functions.
- You can use
--folder=
or--file=
option to narrow down the scanned folders.
php artisan list:models {--folder=app/Models}
- It searches the project and lists the model classes.
- You can use
--folder=
option to narrow down the scanned folders.
And more features will be added soon. ;)
Credits
License
The MIT License (MIT). Please see License File for more information.
🙋 Contributing
If you find an issue or have a better way to do something, feel free to open an issue or a pull request. If you use laravel-microscope in your open source project, create a pull request to provide its URL as a sample application in the README.md file.
❗ Security
If you discover any security-related issues, please email imanghafoori1@gmail.com
instead of using the issue tracker.
More from the author:
Laravel HeyMan
💎 It allows us to write expressive code to authorize, validate, and authenticate.
Laravel Terminator
💎 A minimal yet powerful package which allows you to refactor your controllers.
Laravel AnyPass
💎 It allows you to login with any password in the local environment only.
A man will never fail unless he stops trying.
Albert Einstein
❤️ Contributors
This project exists thanks to all the people who contribute. [Contributors].