pharaonic / laravel-helpers
Laravel - Classes, Traits, Functions
Installs: 1 346
Dependents: 6
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: >=7.2
- laravel/framework: >=6.0
README
use Pharaonic\Laravel\Helpers\...
Middlewares
SimpleLocalization
Traits
HasCustomAttribtues (Getter, Setter)
HasUuidKey (id > UUID)
Classes
ExceptionHandler
FormRequest
Functions
function json(bool $success, string $message = null, $data = null, $extra = [], array $errors = null, $status = 200, array $headers = null, $options = 0)
function validate(Request $request, array $rules, string $defaultMessage = null, array $messages = null, array $fields = null, bool $redirectToRoute = false, string $redirectTo = null, array $redirectParams = null)