LaravelPackages.net
Acme Inc.
Toggle sidebar
mindwingx/dpas

Design Patterns As Service

4
2
v1.0.0
About mindwingx/dpas

mindwingx/dpas is a Laravel package for design patterns as service. It currently has 2 GitHub stars and 4 downloads on Packagist (latest version v1.0.0). Install it with composer require mindwingx/dpas. Discover more Laravel packages by mindwingx or browse all Laravel packages to compare alternatives.

Last updated

LARAVEL DPAS

Design Pattern As Service

Installation

Via Composer

$ composer require mindwingx/dpas --dev

Usage

Assume that you know all about design patterns, You can implement design patterns skeleton as a service and serve it as a custom service provider.

Supported patterns:

  • Builder
  • Factory
  • Adapter
  • Composite
  • Decorator
  • Proxy
  • Chain of Responsibility
  • Strategy

Commands

  • Create new service
php artisan dpas:new <service-name>
  • Add eloquent model to service classes
php artisan dpas:new <service-name> -m=<model-name>
  • Customize base path name of service(default path is 'Service')
php artisan dpas:new <service-name> -p=<base-path-name>

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

Comments