Download the PHP package aungmyokyaw/lara-arch without Composer
On this page you can find all versions of the php package aungmyokyaw/lara-arch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aungmyokyaw/lara-arch
More information about aungmyokyaw/lara-arch
Files in aungmyokyaw/lara-arch
Informations about the package lara-arch
Lara-Arch CLI Toolkit Package
The Lara-Arch CLI Toolkit Package is a comprehensive collection of tools and components designed to enhance your Laravel application's command-line interface (CLI) capabilities. This package offers a set of features to streamline development, improve code organization, and optimize command-line interactions.
- DTO
- Service
- Trait
- Enum
- Repository
Installation
Install the Lara-Arch CLI Toolkit Package using Composer:
Features
DTO CLI Generator
Create Data Transfer Objects (DTOs) effortlessly using the DTO CLI generator. Design DTOs to encapsulate data and improve data integrity between different parts of your application.
Service CLI Generator
Generate service classes using the Service CLI generator. Services are vital for encapsulating business logic and promoting a clean separation of concerns within your application.
Trait CLI Generator
Design and generate reusable traits using the Trait CLI generator. Traits enable you to encapsulate common functionality that can be shared across multiple classes.
Enum CLI Generator
Simplify the creation of enumerations (enums) in your Laravel application using the Enum CLI generator. Define custom enum types with ease and have them automatically generated with the appropriate values and methods.
Enum Helper
- enum_from_key($enumCases, $key)
- enum_from_value($enumCases, $value)
This two Enum helper functions for working with enums in your Laravel application. Here's a sample usage of the two helper functions.
enum_from_key($enumCases, $key)
enum_from_value($enumCases, $value)
Repository CLI Generator
Efficiently generate repository classes using the Repository CLI generator. Implement the repository pattern to abstract database operations and promote clean architecture. This repository comes with pre-built CRUD operations that can be used directly or customized as needed.
Here's a sample usage of the repository for CRUD operations.
This will create a repository file named UserRepository.php within the app/repositories directory.
Example usage for CRUD :
All versions of lara-arch with dependencies
illuminate/console Version ^8.0|^9.0|^10.0
illuminate/support Version ^8.0|^9.0|^10.0