
Creating and using laravel custom helper functions is fun. Although, Laravel provides a wide list of helper functions that are convenient and Read more

Laravel Router controller grouping for controllers uses the controller method to define the common controller for routes within the group. Read more

Setting the AWS S3 bucket for files upload in laravel using filesystem ( File/Storage Facades) with detailed description and modified/renamed uploaded file name. Read more

It will return a multidimensional array containing a list of all pre-defined functions list, both built-in (internal) and user-defined. Read more

It will return an associative array with the names of all the constants and their values. Read more

Disable Theme and plugin file editor options from the dashboard to prevent editing in website files. Read more

Disable WordPress auto-update, theme update, and plugin update using code, without using plugins. Read more

To get the relationship from same table eloquent model with parent and child relations ship. Here is an example for menus which has parent asn child relationship. <?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { // fillable protected... Read more

Laravel makes working with your error messages an extremely easy using a simple error collector class. The error collector has several simple functions for retrieving your messages. So, in our example, the user will be redirected to our controller’s method... Read more

Laravel provides several different approaches to validate your application’s incoming data. It is most common to use the validate method available on all incoming HTTP requests. There are multiple ways to vaidate the incoming Request data in Laravel. The beast part... Read more