PHPnews.io

Overview for 'softonsofa'


Tinker like a boss – WTF?!

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…


Tinker like a boss – helpers

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…


Tinker like a boss – aliases

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…


Tinker like a boss – custom casters

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…


Tinker like a boss – custom includes

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…