Overview for 'softonsofa'
Written by SOFTonSOFA
/ Original link
on Jul. 13, 2017
So, as you know, I’m a big fan of Laravel, in particular Eloquent is my favourite. The beauty and value of both is a lot of conventions and magic happening behind the scenes. That magic, when balanced, allows us focus on things that really matter, rather than taking care of boilerplate and tedious,…
Written by SOFTonSOFA
/ Original link
on Jul. 9, 2017
This is part of the series tinker like a boss (in psysh) tinker… what? includes casters (presenters) aliases http (and other) helpers wtf is this error? Errors – WTF? Usually getting verbose errors in tinker is now what you want. You made a typo, called wrong method etc – all feedback you need then…
Written by SOFTonSOFA
/ Original link
on Jul. 9, 2017
This is part of the series tinker like a boss (in psysh) tinker… what? includes casters (presenters) aliases http (and other) helpers wtf is this error? Helpers You may find yourself in need of some handy shortcuts when tinkering. I often need to make an HTTP call or run a quick test request, that…
Written by SOFTonSOFA
/ Original link
on Sep. 26, 2016
This is part of the series tinker like a boss (in psysh) tinker… what? includes casters (presenters) aliases http (and other) helpers wtf is this error? Aliases Class aliasing is very simple concept, that allows you to call a class by its alas, rather than original name. It’s not very common to use…
Written by SOFTonSOFA
/ Original link
on Sep. 26, 2016
This is part of the series tinker like a boss (in psysh) tinker… what? includes casters (presenters) aliases http (and other) helpers wtf is this error? Custom casters Using Laravel, you’re already familiar with idea of casters even if you’re not aware of that. Check this out: [crayon-5a0710bfe5ce4…
Written by SOFTonSOFA
/ Original link
on Sep. 26, 2016
This is part of the series tinker like a boss (in psysh) tinker… what? includes casters (presenters) aliases http (and other) helpers wtf is this error? Custom includes Let’s stick to a convention of a .tinker file bootstrapping our REPL env. PsySH allows including such file in 2 ways: inline, prov…