{"repo":"imanghafoori1/laravel-widgetize","free":true,"listed":false,"github":"https://github.com/imanghafoori1/laravel-widgetize","clone":"git clone https://github.com/imanghafoori1/laravel-widgetize.git","description":"A minimal package to help you make your laravel application cleaner and faster.","language":"PHP","stars":911,"topics":["laravel","laravel-cache","design-pattern","laravel-5-package","laravel5","laravel-optimization","presenter","laravel-presenter","laravel-utility","html-minifier"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Widgetize :ribbon::ribbon: \" cleaner code \" :heavy plus sign: \" easy caching \" :ribbon::ribbon: Built with :heart: for every smart laravel developer --------------------- :flashlight: Overview - What is a widget object ? - When to use the widget concept? - Technical Features :wrench: Installation :earth africa: Global Configuration :blue car: Per Widget Configuration - public $template (optional) - public $cacheLifeTime (optional) - public $cacheTags (optional) - public $cacheView (optional) - public $controller (optional) Advanced - public $presenter (optional) Advanced - public function extraCacheKeyDependency (optional) Advanced - public function cacheKey (optional) Advanced :bulb: Usage and Example - How to make a widget class - How to use a widget class - What is a slot? - How to define a slot - How to use the slot More readings: :shipit: Some Theory for Experts - Article about widgetize and S in Solid Design Patterns - Article about widgetize and O in Solid Design Patterns :star: Your Stars Makes Us Do More This page may look long and boring to read at first, but bear with me!!! I bet if you read through it you won't get disappointed at the end.So let's Go... :horse racing: ----------------------- Installation: :arrow down: :electric plug: (For Laravel You can use : php artisan make:widget MyWidget to make your widget class. Sample widget class : App\\Widgets\\MyWidgetView.blade.php : Ok, Now it's done! We have a ready to use widget. let's use it... Then how to us","default_branch":null,"files":null,"tree":[],"storefront":"/r/imanghafoori1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/imanghafoori1/laravel-widgetize/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}