Recent Posts

React Native Bottom Sheet for Android & IOS

Hi Guys, in this tutorial, i will show you how to integrate a performant interactive bottom sheet with fully configurable options in react native works for both Android and IOS. We will use gorhom/react-native-bottom-sheet package. Let’s dive in : Package Features 🌟 Modal presentation view, Bottom Sheet Modal. Smooth interactions ...

Send Email with Attachment in Laravel

Hi coders. In this tutorial, i’ll show you how to send email with attachment using Mailable class in laravel . You can simply send file in mail by using the attach() method. In this example, i will simply add files as attachment with sending email. Let’s dive in. ...

Validate Custom Date Format with Laravel Validator

Hi artisan, I’m going to share with you how to validate a custom date format in Laravel. In this example, you will see the use date validation rules that is provided by Laravel Let’s dive in: date date_format after:date after_or_equal:date before:date before_or_equal:date 1- Date Validation 2- Date Validation ...

How to check request is ajax or not in Laravel

hi guys, I will let you know how to detect if request is ajax or not in Laravel. Sometime you need to check if request is ajax then response data only and if request is not ajax then response complete view in your application. By using ajax() method in Laravel, ...

Full Text Search On Laravel

Hello artisans, In this tutorial, we will learn how to do Full Text Search On Laravel. We are gonna use nicolaslopezj/searchable Package for full-text search. Searchable Package is a trait that adds a simple search function to Eloquent Models. For more information, you can click on this card bellow. ...

Handling Multiple File Upload In Laravel

Hi artisans, in this tutorial we learn how to handle multiple file upload in laravel. Let’s dive in.   1- Create routes We need to add two routes in “routes/web.php”.   2- Create Controller Run the following Artisan command to create “UploadController”. After that, a newly created controller ...

How To Log All SQL Queries In Laravel

Hi guys, in this tutorial tips we will learn how to log all SQL Queries. There are multiple ways to create SQL Query Log and we will see three of them :   1- Default Log file Log in the default log file “laravel.log” located at “storage/logs”. To log SQL ...

Create Custom Maintenance Page in Laravel

Hi guys, , in this tutorial, we are going to create our custom maintenance page in Laravel. I’m testing on Laravel 7.x. Let’s get started: To put website into maintenance mode, we have to run this command: To make application up and running again, run this command: Laravel displays 503 page ...