pharaonic/laravel-helpers

Laravel - Classes, Traits, Functions

2.4.3 2021-12-25 07:53 UTC

This package is auto-updated.

Last update: 2024-10-31 00:17:30 UTC


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)