Installation

LaraUtilX is super easy to install in your Laravel application

Requirements

Requirement Supported
PHP 8.1 or higher
Laravel 10, 11, 12, 13

As of v1.5.2 the package declares its dependencies explicitly, so Composer will refuse to install it into a project that does not meet these requirements rather than failing later at runtime.

Install

Install via composer:

composer require omarchouman/lara-util-x

The service provider is registered automatically through Laravel's package discovery. No manual registration is required.

Publishing

Publish the service provider:

php artisan vendor:publish --tag=lara-util-x

Publish the configuration file, which holds the LLM provider settings, cache defaults, rate limiting presets, and the audit trail options:

php artisan vendor:publish --tag=lara-util-x-config

Publish the migrations, including the model_audits table used by the Auditable trait:

php artisan vendor:publish --tag=lara-util-x-migrations

Other available tags include lara-util-x-feature-toggles, lara-util-x-models, lara-util-x-api-response-trait, lara-util-x-validation-rules, and lara-util-x-stubs for the CRUD generator templates.