laramate / support
Support Package for Laravel
4.0
2026-06-12 08:42 UTC
Requires
- php: ^8.2
- laravel/framework: ^12.0|^13.0
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pint: ^1.13
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.1
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^11.0
README
Laramate Support
A collection of helpers, traits, and extensions for Laravel that we use across our agency projects. It bundles common building blocks, from queueable actions to model versioning, into a single, lightweight package.
Supports Laravel 12 and Laravel 13.
Warning: This package is under constant development. Use at your own risk.
Installation
Install the package via Composer:
composer require laramate/support
Features
| Feature | Description |
|---|---|
| Actions | Queueable, self-dispatching action classes for encapsulating business logic. Extend the base Action, implement handle(), and dispatch it synchronously or via the queue. |
| Translatable Enums | An Enum trait with a TranslatableEnum interface that resolves enum values through Laravel's translation files and converts cases into select arrays for forms. |
| Makeable Trait | Adds a static make() factory method to any class, allowing fluent instantiation without the new keyword. |
| Auto Create UUID Trait | Automatically generates a UUID for Eloquent models on creation. The column name is configurable and invalid or missing UUIDs are renewed transparently. |
| CSV Importer | Reads CSV files into arrays with configurable separator, enclosure, and escape characters. Optionally uses the first line as array keys and normalizes NULL values. |
| Simple Versioning | A Versioning trait for Eloquent models that creates immutable model versions with version IDs, labels, and author tracking. |
| Data Mapper | An abstract mapper for converting raw input arrays into a defined attribute structure using mapping rules and default values. |
| Numbering Formatter | Formatters for converting positions into numbering schemes, e.g. natural numbers with optional zero-padding. |
| ForceJsonResponse Middleware | Forces the Accept: application/json header on incoming requests so APIs consistently return JSON instead of HTML redirects or views. |
About Laramate
We build high-performance custom software and CRM systems that adapt to you. Leveraging the power of Laravel, React, and Statamic, we create digital experiences tailored specifically to your operational needs.
© 2026 Laramate • MIT License • www.laramate.de • github.com/Laramate