https://github.com/pharaonic/laravel-helpers
Laravel Helpers - Classes, Traits, Functions
https://github.com/pharaonic/laravel-helpers
helpers laravel laravel-helpers php traits
Last synced: over 1 year ago
JSON representation
Laravel Helpers - Classes, Traits, Functions
- Host: GitHub
- URL: https://github.com/pharaonic/laravel-helpers
- Owner: Pharaonic
- Created: 2020-10-30T08:10:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T07:58:16.000Z (over 4 years ago)
- Last Synced: 2025-04-11T03:44:00.083Z (over 1 year ago)
- Topics: helpers, laravel, laravel-helpers, php, traits
- Language: PHP
- Homepage:
- Size: 27.3 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Helpers
```php
use Pharaonic\Laravel\Helpers\...
```
## Middlewares
##### SimpleLocalization
## Traits
##### HasCustomAttribtues (Getter, Setter)
##### HasUuidKey (id > UUID)
## Classes
##### ExceptionHandler
##### FormRequest
## Functions
```php
function json(bool $success, string $message = null, $data = null, $extra = [], array $errors = null, $status = 200, array $headers = null, $options = 0)
```
```php
function validate(Request $request, array $rules, string $defaultMessage = null, array $messages = null, array $fields = null, bool $redirectToRoute = false, string $redirectTo = null, array $redirectParams = null)
```