Download the PHP package ammaraldwayma/laravel-maker without Composer
On this page you can find all versions of the php package ammaraldwayma/laravel-maker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ammaraldwayma/laravel-maker
More information about ammaraldwayma/laravel-maker
Files in ammaraldwayma/laravel-maker
Package laravel-maker
Short Description Laravel Maker is a powerful Laravel package designed to elevate your development experience by introducing a set of custom Artisan commands. These commands are meticulously crafted to simplify and expedite the creation of essential components in your Laravel application, fostering a more efficient and organized development workflow.
License MIT
Homepage https://github.com/ammarnassar/laravel-maker
Informations about the package laravel-maker
Laravel Maker: A Laravel Development Package for Creating Classes , Enums, Traits, Services Classes and more .
Laravel Maker is a powerful Laravel development package designed to help you to enhance your development process by creating Classes , Enums, Traits, Interfaces, Services and more with a single command.
With Laravel Maker you can create the following classes:
- Classes
- Enums
- Traits
- Interfaces
- Services
- Repositories
Installation
You can install the package via composer:
Usage
Creating a new Class
This command will create a new class in the app/Actions
directory. The class will be named StoreUserAction
and will
contain the following code:
Creating a new Enum
This command will create a new enum class in the app/Enums
directory. The class will be named Statuses
and will
contain the following constants:
//: # ()
//: # ()
//: # ()
//: # ()
//: # ()
Creating a new Trait
This command will create a new trait class in the app/Traits
directory. The class will be named HasStatus
and will
contain the following code:
Creating a new Interface
This command will create a new interface class in the app/Interfaces
directory. The class will be
named UserRepository
and will contain the following code:
Creating a new Service / Third-party Service
This command will create a new service class in the app/Services
directory. The class will be
named GoogleTranslationService
and will contain the following code:
Creating a new Repository
This command will create a new repository class in the app/Repositories
directory with a interface class in the
app/Repositories/Interfaces
directory. The class will be named UserRepository
and will contain the following code:
Customizing the default namespaces
You can customize the default namespaces for the different types of classes that you can generate it by the package by
-
Publishing the config file:
- Changing the values of the
default_namespaces
array in the published config file:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-maker with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0