A short reminder about my revisionable package (compatible with L4 & L5+) and quick example of how you can use it:

Zgłoszenia

1. Controller:

2. Model:

3. Presenter:

4. Views (only relevant parts)

 

 

That’s it!

Any issues, please post to https://github.com/jarektkaczyk/revisionable/issues

It's only fair to share...Tweet about this on TwitterShare on RedditPin on PinterestShare on FacebookShare on Google+

Related Post

they can bite! – how (not) to use accessors ... Eloquent mutators & accessors are handy feature that can simplify your high level code and hide some data-related logic in the model. Howev...
PHP how to use $this in Closure – context ma... Anonymous functions, in php known as Closures, come in handy very often. One application in particular is very useful - extending classes, thanks ...
Laravel – Custom pivot model in Eloquent Sometimes you may wish to use custom pivot model when working with many-to-many relationships in Eloquent, in order to add some behaviour on top o...
Laravel – querying any level far relations w... Eloquent provides one Relation type for far related tables - hasManyThrough. However it works only with with cascade of hasOne/hasMany relations a...