How to merge two or multiple tables to each other in the Laravel PHP Framework? (Part-3)

Part-1 Part-2 Now, we’ll create the 2nd table State to merge with the Country table. Step 1. Create child file resources/views/State folder with name create.blade.php. Step 2. Create edit.blade.php file. In this file within resources/views/State folder. Step…

Read more »

How to merge two or multiple tables to each other in the Laravel PHP Framework? (Part-2)

How to merge two or multiple tables to each other in the Laravel PHP Framework? Part-1 Part-3 Step 1. Go to app/Country.php. Now, we need to list all the properties…

Read more »

How to use Slug For Custom Url

Slug is used to define custom Url based on the title .it gives users SEO-friendly way to access it through the URL. http://holidaylandmark/city/Mumbai Creating Slug Field in Table: Syntax: Save…

Read more »

How to file upload in DB With local folder using laravel 5.8

Step:1 you have to make these(A) – php artisan make:controller ImageUploadController(B) – php artisan make:model ImageUpload -m Step:2 Open the welcome.blade.php page then write this code. Step:3 Then go to…

Read more »

How to Make a Laravel Desktop Application.

Step:1 go to this url and donwload zip file https://github.com/cztomczak/phpdesktop Step:2 Step:3 Step:4 Step:5 After extract files then folder open and go to in the www folder. and delete all…

Read more »

how can solve 4001 error in a virtual runtime.

  Step:1 got to this path and change this tag.#127.0.0.1 seodaily (seodaily its my project name,whatever you have project name wrtite here on the seodaily place. ) Step:2 go to…

Read more »

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? (Part-3)

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP Part-1 Part- 2 Step 1. Create a City seeder file. Write down the following command as…

Read more »

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? (Part-1)

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? Part- 2 Part- 3 Step 1. Create a Country seeder file. Write down the following command…

Read more »

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? (Part-2)

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? Part-1 Part-3 Step 1. Create a State seeder file. Write down the following command as follows:…

Read more »

Create Laravel multiple upload images and Displaying on view

Today , We will build a simple multiple images upload system using Laravel 5.8. We will use a jQuery plugin to populate image field and submit the multiple images to the server. The…

Read more »

How to Create REST API in Laravel.

API is also known as Web services. Web services is very important when you are creating web and Mobile app. You require API in mobile application development. If you Don’t know how…

Read more »

Top 10 Basic Laravel Interview Questions.

Q:-1 What is Laravel? Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern….

Read more »

Special Characters Not Allowed Validation in Laravel 5.8

 let’s see example of laravel validation no special characters. Example -1 use this code for validation:-  ‘name’ =>  ‘required|regex:/^[a-zA-Z]+$/u’ Example:2- Use this code for validation:- ‘applyjobsforuser’ => ‘required|unique:applyjobs,applyjobsforuser’, Example-3 use this code for Spacial characters…

Read more »

How to Scheduling Task using Cron Job in Laravel Application

Laravel Cronjob offers an elegant Task Scheduling or Laravel Cronjob Scheduling mechanism. Applications require some tasks to be run periodically on the server. It could be creating backups or generating…

Read more »

How to set a Default image of the user’s profile image in the Laravel PHP Framework?

How to set a Default image of the user’s profile image in the Laravel PHP Framework? Click Upload Profile Image. Click Remove Old Profile Image. Step 1. Create a new Project…

Read more »

An Error: ReflectionException of the Class CountrySeeder does not exist in Laravel PHP.

Why does this error occur? (ReflectionException : Class CountrySeeder does not exist) Mainly for two reasons: First Reason:– Either, we haven’t created seeder file. Solution Step 1. So, Create seeder…

Read more »

Request Validation in Laravel.

Request Validation using ValidatesRequest Trait in Laravel. (Click to Open) Request Validation using Form Request in Laravel. (Click to Open) Request Validation using Custom Validator in Laravel. (Click to Open)

Read more »

CRUD Operation Using Model in Laravel.

Inserting data in Database through Model. (Click to Open) Read, Update, and Delete data through Model. (Click to Open)

Read more »

CRUD Operation Using Controller in Laravel

How to Insert and Read data from database using Controller. (Click to Open) How to Update and Delete data from database using Controller. (Click to Open)

Read more »

CRUD Operation Using Tinker in Laravel.

How to Insert Data in Database using Tinker in Laravel. (Click to Open) How to Read Data from Database in Tinker. (Click to Open) How to Update and Delete Data…

Read more »