Download the PHP package erenav/makers without Composer
On this page you can find all versions of the php package erenav/makers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download erenav/makers
More information about erenav/makers
Files in erenav/makers
Package makers
Short Description Custom Laravel make commands
License MIT
Homepage https://github.com/erenav/makers
Informations about the package makers
Custom Laravel Make Commands
Opinionated custom artisan make
commands for Laravel applications.
Installation
Install this package via composer using the following command:
Commands
Actions
Action classes simplify application logic by consolidating specific tasks into single classes that can be executed from controllers, jobs, listeners etc. This approach improves code reuse and simplifies maintenance.
Data Transfer Objects (DTOs)
DTOs are used to contain data in a structured way, facilitating data transfer across different layers of an application while keeping the data encapsulated and organized.
Enum
Enums are useful when representing a fixed set of possible values for a variable. They also improve type safety and readability.
Mixin
Mixins provide a way to add custom methods to existing classes provided by the framework without modifying the framework's source code.
Pipe
Pipes are commonly used for data transformation, validation, or any series of operations that need to be performed in sequence on an object or value.
States
States can represent different statuses or stages of a model, making it easier to handle state transitions and enforce business rules associated with those states.
Value Object
Value objects encapsulate related properties and behavior for a value into a single, immutable object. This pattern enhances code clarity, enforce validation, and promote a more object-oriented approach to managing complex data types.
Note
All commands have access to the --force
option. Including this option allows for the override of existing files.
Customize
You can publish the stubs with:
Use the --force
option to override previously published stubs.
You can publish the config file with:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of makers with dependencies
laravel/framework Version ^10.0||^11.0
illuminate/contracts Version ^10.0||^11.0
spatie/laravel-package-tools Version ^1.16