datalogix / laravel-utils
A Laravel package that provides a set of useful utilities and service providers to enhance your application.
Fund package maintenance!
ricardogobbosouza
Open Collective
Requires
- php: ^8.2
- datalogix/laravel-builder-macros: ^4.0
- datalogix/laravel-sensible: ^1.0
- datalogix/laravel-validation: ^3.0.1
- illuminate/support: ^11.39|^12.0
Requires (Dev)
- graham-campbell/testbench: ^6.2
- phpunit/phpunit: ^10.5|^11.0
This package is auto-updated.
Last update: 2025-05-21 20:22:23 UTC
README
A Laravel package that provides a set of useful utilities and service providers to enhance your application.
Installation
You can install the package via composer:
composer require datalogix/laravel-utils
The package will automatically register itself.
✅ Features
These features work out of the box—no additional configuration required:
-
🌍 Multi-language Support Includes built-in translations for English (
en
) and Brazilian Portuguese (pt_BR
). Files are auto-loaded and can be published for customization. -
✔️ Respect Validation Integration Automatically integrates Respect Validation via datalogix/laravel-validation, with zero setup required.
-
🧠 Enhanced Query Builder Adds useful, reusable macros to Laravel's query builder for cleaner and more expressive queries — powered by datalogix/laravel-builder-macros.
-
🧩 Sensible Defaults for Laravel Applies opinionated, production-ready defaults to improve performance, security, and testability — powered by datalogix/laravel-sensible.
-
🛠️ Console Support Translation files can be published using Artisan when running in the console environment.
Translations
To publish the Portuguese (pt_BR) language files, run:
php artisan vendor:publish --provider="Datalogix\Utils\UtilsServiceProvider" --tag="lang"