Skip to main content

The Salient Blog

Company news & random thoughts

Laravel

Laravel User Model

A boilerplate for the User model, expected to be reused in future projects. /*------------------------------------------------ Getters and Setters Access Manipulation --------------------------------------------------*/ /** * Trim email, otherwise…
priyankmaniar
December 10, 2021
Cookies

All about Cookies

Not all cookies are same Cookie that are set by the server. Cannot be manipulated on the client side. Interesting Read Setting up Cookie Expiration…
priyankmaniar
October 27, 2021
PHP

PHP: Try/Catch

Does the try-catch block continue execution after the catch? try { throw new Exception (1); } catch (Exception $exception) { echo "gotcha!"; } echo "what…
priyankmaniar
September 2, 2021