Download the PHP package cleaniquecoders/artisan-makers without Composer
On this page you can find all versions of the php package cleaniquecoders/artisan-makers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cleaniquecoders/artisan-makers
More information about cleaniquecoders/artisan-makers
Files in cleaniquecoders/artisan-makers
Package artisan-makers
Short Description Built with Laravel Standalone Package Creator
License MIT
Informations about the package artisan-makers
About Your Package
This is a extended artisan make command.
Installation
-
In order to install
cleaniquecoders/artisan-makers
in your Laravel project, just run the composer require command from your terminal: -
Then in your
config/app.php
add the following to the providers array: - In the same
config/app.php
add the following to the aliases array:
Usage
Contracts
Exceptions
Model
This will create models under app/Models
directory instead of app
directory by default.
Register manually in your application in app/Console/Kernel.php
in $commands
property. Not sure why the command didn't load in the package.
Observer
TODO
- [x] Create
ObserverServiceProvider
- [x] Create
Observer
class - [ ] Register
ObserverServiceProvider
inconfig/app.php
- [ ] Include model & observer namespace in
ObserverServiceProvider
- [ ] Bootstrap Observer in
ObserverServiceProvider
Presenter
Presenter is generic class to help generate consistent HTML element.
Processors
Processor use to generate core processing of the application. This can be a payroll processor, leave approval processor.
Repositories TODO
Apply repository pattern.
Services
Services is something that a domain provide to external. A total hours of overtime need to be provide to payroll domain in order to calculate total claimable overtime.
Traits
Transformers
Tranformer use to transform from one to another data structure, depends on the domain concern.
License
This package is open-sourced software licensed under the MIT license.