2017 © Pedro Peláez
 

library laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

image

imanghafoori/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  • Sunday, July 29, 2018
  • by imanghafoori1
  • Repository
  • 25 Watchers
  • 372 Stars
  • 10,310 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 22 Forks
  • 0 Open issues
  • 57 Versions
  • 53 % Grown

The README.md

Laravel Widgetize

widgetize_header , (*1)

[![Maintainability](https://api.codeclimate.com/v1/badges/265609ba555d5fd06560/maintainability)](https://codeclimate.com/github/imanghafoori1/laravel-widgetize/maintainability) Quality Score [![Latest Stable Version](https://poser.pugx.org/imanghafoori/laravel-widgetize/v/stable)](https://packagist.org/packages/imanghafoori/laravel-widgetize) [![Awesome Laravel](https://img.shields.io/badge/Awesome-Laravel-brightgreen.svg)](https://github.com/chiraggude/awesome-laravel) [![Monthly Downloads](https://poser.pugx.org/imanghafoori/laravel-widgetize/d/monthly)](https://packagist.org/packages/imanghafoori/laravel-widgetize/stats) [![Coverage Status](https://coveralls.io/repos/github/imanghafoori1/laravel-widgetize/badge.svg?branch=master)](https://coveralls.io/github/imanghafoori1/laravel-widgetize?branch=master) [![tests](https://github.com/imanghafoori1/laravel-widgetize/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/imanghafoori1/laravel-widgetize/actions/workflows/tests.yml) [![Imports](https://github.com/imanghafoori1/laravel-widgetize/actions/workflows/imports.yml/badge.svg?branch=master)](https://github.com/imanghafoori1/laravel-widgetize/actions/workflows/imports.yml) , (*2)

:ribbon::ribbon: "_cleaner code_" :heavy_plus_sign: "_easy caching_" :ribbon::ribbon:

Built with :heart: for every smart laravel developer


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, (*7)

This page may look long and boring to read at first, but bear with me!!!, (*8)

I bet if you read through it you won't get disappointed at the end.So let's Go... :horse_racing:, (*9)


Installation: :arrow_down:

``` bash composer require imanghafoori/laravel-widgetize, (*10)


:electric_plug: (For Laravel <=5.4) Next, you must add the service provider to `config/app.php` :electric_plug: ```php 'providers' => [ // for laravel 5.4 and below Imanghafoori\Widgets\WidgetsServiceProvider::class, ];

Publish your config file ``` bash php artisan vendor:publish, (*11)


:fire: And you will be on fire!:fire: ``` bash php artisan make:widget MySexyWidget

A lot of docs are included in the generated widget file so it is not needed to memorize or even read the rest of this page. You can jump right-in and start using it., (*12)

Overview:

This package helps you in:

  • #### Page Partial Caching
  • #### Clean up your Controllers Code
  • #### Minify HTML
  • #### Easily provide page partials for varnish or nginx for ESI caching
  • #### Integrated with laravel-debugbar package
  • #### Renders your widget as HTML or JSON

When to use this package?

This concept (this design pattern) really shines when you want to create tall web pages with multiple sections (on sidebar, menu, carousels ...) and each widget needs separate sql queries and php logic to be provided with data for its template. Anyway installing it has minimal overhead since surprisingly it is just a small abstract class and Of course you can use it to refactor your monster code and tame it into managable pieces or boost the performance 4x-5x times faster! :dizzy:, (*13)


What is a widget?

You can think of a widget as a blade partial (which know how to provide data for itself.), (*14)

You can include @widget('myWidget') within your blade files and it will turn into HTML!!!, (*15)

So you can replace @include('myPartial') with @widget('myWidget') in our laravel applications., (*16)


:gem: Technical Features:

:small_blue_diamond: 1. It optionally caches the output of each widget. (which give a very powerful, flexible and easy to use caching opportunity) You can set different cache config for each part of the page. Similar to ESI standard., (*17)

:small_blue_diamond: 2. It optionally minifies the output of the widget., (*18)

:small_blue_diamond: 3. It shows debug info for your widgets as html title="" attributes., (*19)

:small_blue_diamond: 4. php artisan make:widget command, (*20)

:small_blue_diamond: 5. It helps you to have a dedicated presenter class of each widget to clean up your views., (*21)

:small_blue_diamond: 6. It extends the Route facade with Route::jsonWidget , Route::widget, (*22)


What happens when your write @widget('SomeWidget') in your views

Given that we have disabled caching in the widgetize config file..., (*23)

1 - It first looks for "SomeWidget" class to get config from., (*24)

2 - Then calls the widget's controller method and gets some data from it., (*25)

3 - Using that data it "compiles" (in other word "renders") the blade file ($template). (to produce some html), (*26)

4 - (If caching is enabled for the widget) it puts a copy of the resulting html in cache, for future use., (*27)

5 - At last, it returns the final HTML. (or maybe json), (*28)


"Widgets" vs. "View Composers":

You might think that "view composers" are already doing the job, so why "widgets" ?, (*29)

1- The worst thing about view composers is you never know which composer is attached to a @include not to mention other members of your team., (*30)

2- You have no way of passing data to the compose() method from your view. They receive a \Illuminate\View\View object. so they can not be re-used to expose json data. widgetize designed to provide fully freedom and resuability for widget-controllers., (*31)

``` php public function compose(View $view) { $view->with('count', $this->users->count()); }, (*32)


3- They offer no caching out of the box. ---------------------- ## :bulb: Sample Code: ### How to generate a widget? >__You can use : `php artisan make:widget MyWidget` to make your widget class.__ Sample widget class : ```php namespace App\Widgets; class MyWidget { // The data returned here would be available in widget view file automatically. public function data($my_param=5) { // It's the perfect place to query the database for your widget... return Product::orderBy('id', 'desc')->take($my_param)->get(); } }

App\Widgets\MyWidgetView.blade.php :, (*33)

<ul>
  @foreach($data as $product)
    <li>
      {{ $product->title }}
    </li>
  @endforeach

  Note that it is perfectly ok to use an other widget here 
  @widget('AnOtherWidget')
</ul>

Ok, Now it's done! We have a ready to use widget. let's use it..., (*34)

Then how to use that widget?

In a normal day to day view (middle-end):, (*35)

<html>
    <head></head>
    <body>
        <h1>Hello {{ auth()->user()->username }} </h1> <!-- not cached -->

        @widget('RecentProductsWidget') <!-- Here we send request to back-end to get HTML -->

    <body>
</html>

An other way to think of @widget() in your blade files :

All of us, more or less have some ajax experience. One scenario is to lazy load a page partial after
the page has been fully loaded.
You can think of @widget() as an ajax call from "middle-end" to the "back-end" to load a piece of HTML
into the page.

What is the slot?

Slots help you position your HTML or blade code in a widget, and allow the parent widget to arrange it, and improves your widget reusability., (*36)

How to define a slot?

To use the slot, you should use @slotWidget instead of @widget and close the directive @endSlotWidget, Then define your slot middle of it. Look at the syntax:, (*37)

@slotWidget('MyWidget')
    @slot('message')
        <h1>Hello {{ auth()->user()->username }} </h1>
    @endSlot
@endSlotWidget

also, you can pass your data:, (*38)

@slotWidget('MyWidget', [$a, $b])
...

How to use the slot?

App\Widgets\MyWidgetView.blade.php :, (*39)

<div class="message">
    {!! $slots['message'] !!}
</div>

:book: Documentation:

:earth_africa: Global Config:

You can set the variables in "config/widgetize.php" file to globally set some configs for you widgets and override them per widget if needed. Read the docblocks in config/widgetize.php file for more info., (*40)

:blue_car: Per Widget Config:

__public $template__ (string)

If you do not set it,By default, it refers to app/Widgets folder and looks for the 'widgetNameView.blade.php' (Meaning that if your widget is app/Widgets/home/recentProducts.php the default view for that is app/Widgets/home/recentProductsView.blade.php) Anyway you can override it to point to any partial in views folder.(For example: public $template='home.footer' will look for resource/views/home/footer.blade.php) So the entire widget lives in one folder:, (*41)

| app\Widgets\Homepage\RecentProductsWidget.php, (*42)

| app\Widgets\Homepage\RecentProductsWidgetView.blade.php, (*43)

__public $controller__ (string)

If you do not want to put your data method on your widget class, you can set public $controller = App\Some\Class\MyController::class and put your public data method on a dedicated class.(instead od having it on your widget class), (*44)

or you may also refrence it like this :, (*45)

public $controller = [\App\Some\Class\MyRepo::class, 'myMethod'];, (*46)

public $controller = '\App\Some\Class\MyRepo@myMethod';, (*47)

__public $presenter__ (string)

If you do not want to put your present method on your widget class, you can set public $presenter = App\Some\Class\MyPresenter::class and put your public present method on a dedicated class.The data returned from your controller is first piped to your presenter and then to your view.(So if you specify a presenter your view file gets its data from the presenter and not the controller.), (*48)

__public $cacheLifeTime__ (int)

If you want to override the global cache life time (which is set in your config file)., (*49)

value effect
-1 forever
'forever' forever
0 disable
1 1 minute

__public $cacheTags__ (array)

You can set tags public $cacheTags = ['tag1','tag2'] to target a group of widgets and flush their cache. using the helper function :, (*50)

expire_widgets(['someTag', 'tag1']);

This causes all the widgets with 'someTag' or 'tag1' to be refreshed., (*51)

Note: Tagging feature works with ALL the laravel cache drivers including 'file' and 'database'., (*52)

public $cacheView

In case you want your view to be real-time but your controller results to be cached, set this to false. defalut value is true., (*53)

public function cacheKey

If you want to explicitly define the cache key used to store the html result of your widget, you can implement this method., (*54)

    public function cacheKey($args)
    {
        return 'user_widget_'.$args['user_id'];
    }

public function extraCacheKeyDependency

It is important to note that if your final widget HTML output depends on PHP's super global variables and you want to cache it,Then they must be included in the cache key of the widget., (*55)

namespace App\Widgets;

class MyWidget
{

    public function data()
    {
        $id = request('order_id'); // here we are using a request parameter to fetch database...
        return Product::where('order_id', $id)->get();
    }


    public function extraCacheKeyDependency()
    {
        // so the value of this parameter should be considered for caching.
        return request()->get('order_id');
    }

}

You may want to look at the source code and read the comments for more information., (*56)

Tip: If you decide to use some other template engine instead of Blade it would be no problem., (*57)

:book: Solid Design Pattern

You can Find more information in the article below : It is a 3 minutes read., (*58)

Single Responsibility Prinsiple, (*59)


Q&A

Q&A:How to expose only a widget HTML content from a url ?

Route::widget('/some-url', 'MyWidget', 'MyRouteName1'); // <-- exposes HTML
// or
Route::jsonWidget('/my-api','MyWidget', 'MyRouteName2'); // <-- exposes json

A GET request to /some-url/{a}/{b} will see the widget. a and b parameters are passed to widget controller., (*60)

jsonWidget will expose the cached data returned from the widget's controller., (*61)


Q&A:How to reference widget controllers from routes ?

This way you can also expose your data as json for client-side apps., (*62)

Route::get('/api/products/{id}', '\App\Widgets\MyWidget@data');

* It is important to put \ before App when you want to refer to a class outside the Http\Controller folder., (*63)


:raising_hand: Contributing

If you find an issue, or have a better way to do something, feel free to open an issue or a pull request. If you use laravel-widgetize in your open source project, create a pull request to provide it's url as a sample application in the README.md file., (*64)

:exclamation: Security

If you discover any security related issues, please use the security tab instead of using the issue tracker., (*65)

:star: Your Stars Make Us Do More :star:

As always if you found this package useful and you want to encourage us to maintain and work on it. Just press the star button to declare your willing., (*66)

Star History

Star History Chart, (*67)

More from the author:

Laravel Microscope

:gem: It automatically find bugs in your laravel app, (*68)

  • https://github.com/imanghafoori1/laravel-microscope

Laravel middlewarize

:gem: You can put middleware on any method calls., (*69)

  • https://github.com/imanghafoori1/laravel-middlewarize

Laravel HeyMan

:gem: It allows to write expressive code to authorize, validate and authenticate., (*70)

  • https://github.com/imanghafoori1/laravel-heyman

Laravel Terminator

:gem: A minimal yet powerful package to give you opportunity to refactor your controllers., (*71)

  • https://github.com/imanghafoori1/laravel-terminator

Laravel AnyPass

:gem: It allows you login with any password in local environment only., (*72)

  • https://github.com/imanghafoori1/laravel-anypass

Great spirits have always encountered violent opposition from mediocre minds. "Albert Einstein" , (*73)

The Versions

29/07 2018

dev-master

9999999-dev https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

12/02 2018

v1.8.20

1.8.20.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

21/01 2018

1.8.19

1.8.19.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

21/01 2018

dev-analysis-8n1oWy

dev-analysis-8n1oWy https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

20/01 2018

v1.8.18

1.8.18.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

20/01 2018

dev-analysis-z4oEK1

dev-analysis-z4oEK1 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

21/12 2017

dev-analysis-XZM5BY

dev-analysis-XZM5BY https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

09/12 2017

dev-analysis-Xayj7m

dev-analysis-Xayj7m https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

08/12 2017

dev-analysis-z9ed6o

dev-analysis-z9ed6o https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

08/12 2017

dev-analysis-z3P5yY

dev-analysis-z3P5yY https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

08/12 2017

v1.8.17

1.8.17.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

26/10 2017

dev-analysis-XWgmny

dev-analysis-XWgmny https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

10/09 2017

dev-analysis-X0KpAE

dev-analysis-X0KpAE https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

07/09 2017

v1.8.16

1.8.16.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

26/08 2017

v1.8.15

1.8.15.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

15/07 2017

v1.8.14

1.8.14.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

10/06 2017

v1.8.12

1.8.12.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

10/06 2017

v1.8.11

1.8.11.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

30/05 2017

1.8.10

1.8.10.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

22/05 2017

v1.8.7

1.8.7.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

10/05 2017

v1.8.6

1.8.6.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

07/05 2017

v1.8.5

1.8.5.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

07/05 2017

v1.8.4

1.8.4.0 https://github.com/imanghafoori1/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

04/05 2017

v1.8.3

1.8.3.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

03/05 2017

v1.8.2

1.8.2.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

03/05 2017

v1.8.1

1.8.1.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

03/05 2017

v1.8.0

1.8.0.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

01/05 2017

v1.7.3

1.7.3.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

29/04 2017

v1.7.2

1.7.2.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

26/04 2017

v1.7.1

1.7.1.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

24/04 2017

v1.7.0

1.7.0.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

23/04 2017

v1.6.2

1.6.2.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

22/04 2017

v1.6.1

1.6.1.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

21/04 2017

v1.6.0

1.6.0.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

21/04 2017

v1.5.3

1.5.3.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

21/04 2017

v1.5.2

1.5.2.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

11/04 2017

dev-analysis-8QrgY3

dev-analysis-8QrgY3

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

11/04 2017

v1.5.1

1.5.1.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

10/04 2017

v1.4.9

1.4.9.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

31/03 2017

1.4.8

1.4.8.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

30/03 2017

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

30/03 2017

v1.4.7

1.4.7.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

30/03 2017

v1.4.6

1.4.6.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

29/03 2017

v1.4.5

1.4.5.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

27/03 2017

v1.4.4

1.4.4.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

26/03 2017

v1.4.3

1.4.3.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

13/03 2017

v1.4.1

1.4.1.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

21/02 2017

v1.4.0

1.4.0.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

19/02 2017

v1.3.0

1.3.0.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Iman Ghafoori

laravel php laravel5 laravel-cache laravel5-package

16/02 2017

v1.2.3

1.2.3.0

A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori

15/02 2017

v1.2.2

1.2.2.0

A minimal package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori

14/02 2017

v1.2.1

1.2.1.0

A minimal package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori

11/02 2017

v1.2.0

1.2.0.0

A minimal package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori

09/02 2017

v1.1.4

1.1.4.0

A minimal package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori

09/02 2017

v1.1.3

1.1.3.0

A minimal package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori

08/02 2017

v1.1.2

1.1.2.0

A minimal package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori

07/02 2017

v1.1.1

1.1.1.0

A minimal package to give a better structure and caching opportunity for your laravel apps.

  Sources   Download

MIT

by imanghafoori