hyancat/laravel-sugar

This package is abandoned and no longer maintained. No replacement package was suggested.

dev-master 2018-04-03 01:57 UTC

This package is not auto-updated.

Last update: 2018-09-03 04:07:51 UTC


README

🍬A simple package to make code sweet for Laravel application.

Installation

composer require hyancat/laravel-sugar:dev-master

Usage

  1. For Controller 🌰.

    Route::get('/users/{id}')->use(UserController::at('show'));
  2. For Event 🌰.

    SomeEvent::with('foo', $foo)->with('bar', $bar)->fire();

And more sugars will be added later.

License

Copyright (c) 2018 HyanCat MIT License.