Skip to content

Default behavior I add to most laravel applications I start.

License

Notifications You must be signed in to change notification settings

kyledoesdev/essentials

Repository files navigation

kyledoesdev - Laravel Essentials

Essential utilities for my Laravel projects.

Installation

composer require kyledoesdev/essentials

Features

Global Timezone Helper

timezone() // Returns the timezone of the current request()->ip()

Carbon Macro

Carbon::parse($created_at)->inUserTimezone() // Converts carbon instance to user's timezone

Action Class Generator

php artisan make:action CreateUserAction

Generates action classes in app/Actions directory.

Requirements

  • Laravel 11+
  • PHP 8.4+

License

MIT license.

About

Default behavior I add to most laravel applications I start.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages