$searchString = $request->validated('keyword');
$user = User::whereAny(
[
'first_name',
'last_name',
'email'
],
'ilike',
What?
Laravel Pint is a tool built on top of PHP-CS-Fixer for PHP code that helps you style your code in a specific way, especially if you prefer a minimalist approach. By default install by installing fresh laravel application, Pint does not require any configuration and will fix code style issues in your code by following the opinionated coding style of Laravel.
Why Pint?
- Consistency: Pint enforces a consistent code style across your Laravel projects, making it easier for developers to read and understand each other's code.