JSON Web Token (JWT) Authentication via API for Laravel & Lumen.
JWT (JSON WEB TOKEN) JSON Web Token (JWT) is an open standard that allows two parties to securely send data and information as JSON objects. This information…
Query Builder for Beginner In Laravel
1.Find Unique column and avoid duplicate column 3 method using distinct, groupby, pluck command OR OR In above table triptitle field land of rising sun and windy…
Basic Things To Find Error In Laravel
To be master in finding error and build logic to make query, certain things should understand properly (i) check wheather your routing working properly or controller working…
How to Use Dropdown Search Functionality with Pagination in Laravel PHP Framework?
Step 1. Firstly, add dropdown in blade file according to below code,here mention name=”city_filter” and id id=”city_filter” step 2:pass id in table tag in step 3: write…
CRUD Operations in Laravel PHP Framework
Step 1 – Download Laravel 5.8 In first step you have to download Laravel 5.8 version. For this you have to go to command prompt, in which…
How to Test Laravel API from Localhost to Android Emulator.
If you are Working with laravel API and and want to test your app in local with android emulator or your mobile Connected to your Computer, so…
[SOLVED] Argument 1 passed to Tymon\JWTAuth\JWT::fromUser() must be an instance of Tymon\JWTAuth\Contracts\JWTSubject
Step 1. Go to config/app.php and add to Providers. Step 2. In your terminal publish the config file: and add it to your list service providers in app.php…
How to protect .env file in Laravel.
Step:1 go to in your project and open .htaccess. Step:2 Then write this code in .htaccess file Step:3 After save you have run this code in your…
How to upload laravel project on cPanel.
Open cpanel what you have url/cpanel Step: 2 Step:3 go to www folder Step:4 then click upload button. Step:5 select your file where you have to file…
How to merge two or multiple tables to each other in the Laravel PHP Framework? (Part-1)
How to merge two or multiple tables to each other in the Laravel PHP Framework? Part-2 Part-3 How to seed Country/State data into the Database? Click Here…
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…
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…
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…
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…
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….
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. )…
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…
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…
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…
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…
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…
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…
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…
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…
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….
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….
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….
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) Sushant KumarWith MotoShare.in, you can book a bike…
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) Sushant…
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…
