In laravel, every services are separated into separate composer packages. It is kept in such a way that, we can even use them separately in our own php projects.
Laravel offers “when” method in its eloquent ORM which makes easier for developers to set conditionals in their queries.
For example: You may have written queries like:
<?php
$account =…
There is no need to return null within the function. It there is no return specified at the end of the function, null is assumed to be returned;
i.e. No return value in PHP is identical to NULL
In php, you can convert nested object to array in many ways.
How many times have we written the regular expressions to check whether it only consists of alphabets or just numeric?
And how many time we were so sure about that expression will work exactly?
Searching through the web, following are the list of seven websites which are most helpful for web designers.
There are some times when I simply do not get to access my servers through terminal. At these times, I have a custom built scripts that I keep to do simple tasks on my server.
<?phpnamespace App;/** * An…
Even though there are numerous libraries around, there is nothing as easy and quick as jQuery. It has been most used JavaScript for most of the time now. And, nowhere near are other libraries.
Laracon 2017 has happened and there were lots of topics to listen to. All of the videos are now available publicly at streamacon.com.
In this video, Jeffrey, author of laravel,shows a really cool tips on how to manage the…
Here are the list of 5 html tags that we rarely use but could be useful to keep things simple.
The <wbr> (Word Break Opportunity) provides hint to the browser on where to break the line in case the word is about to…