In ‘timezone’ => ‘Asia/Kolkata’ Laravel date set timezoneHow to create console command in laravel ?Show a number in two decimal places in PHPPHP str_replace() FunctionHow to delete file from public folder in Laravel?How to run Laravel validation if the field is not empty?How to add custom CSS to head section in Magento 1 ?Append an…Continue Reading
Laravel
How to clear laravel.log in Laravel?
laravel.log is a file that contains logs from various actions in laravel framework. This file is usually located in To clear laravel.log you could use the below methods easily.
How to create a custom console command (artisan) for Laravel
Laravel’s Aritsan(command-line interface) is well known among developers as commands are always very handy to achieve results. Laravel is not different, comes with very good setup for extending their core command interface. In Laravel, commands are generally saved in the folder. In this article, you’ll learn how to create a custom command for artisan easily…Continue Reading
Hierarchical Tree view Category Example in Laravel
Most of the projects you work in PHP or in any language, there you have to encounter with categories and sub categories. When comes to categories, tree view is the best listing method that we can use in our web apps. In this article, we are showing you how to create Laravel tree view for…Continue Reading
How To Install And Use CKEditor In Laravel?

Today’s tutorial, we will show you how to use CKeditor in Laravel. CKEditor is a WYSIWYG HTML editor which allows us to write rich text formats. We can have HTML elements in the textarea, but it doesn’t have formatting options. Updating this HTML in textarea needs expertise in HTML/CSS. That’s why we have CKeditor, which…Continue Reading
Laravel Auth: Login with username instead of Email
Setup Project Update the .env file with your desired database details. Run the following command to create the scaffold for authentication pages. Next, we want to add our new field, username to our database migration structure. Open this file database/migrations/create_users_table.php. Add the username field in the up() function after the name field. So the final…Continue Reading
What is Laravel Mass Assignment, Guarded or Fillable?
When you work with Laravel you may have heard Mass Assignment, Guarded or Fillable. In this article, we will go through each term in detail.
How to Use reCAPTCHA in Laravel 5 Forms For Validation

There are plenty of options to prevent spam, but captcha is one of the best to use. When talking about captcha, the first thing will be in mind is weird characters seen on the online forms. Here we talk about Google’s Recapthca integration to your Laravel application.
How to get Query Strings Value from a URL in Laravel 5.5?
When you work with Laravel it is very common to get query string values from URL. In native PHP you can get this via $_GET variable. But when you want to get Query strings from a URL in Laravel you can use the below methods. Either you can use Request Facade or Input facade in…Continue Reading
How to enable image uploader in CKeditor 4 in Laravel 5
CKEditor is one of the best WYSIWYG editor available for your websites. Today’s tutorial I will show you how to use image upload in CKEditor using Laravel. This option let you upload an image from your computer or a direct link from other website. You can see the result of the tutorial as shown in…Continue Reading