Sending Email with attachments in Laravel 5.5 using and PHP & JQuery

Introduction: Hello Dear Reader,In this post, I am going to demonstrate detailed steps of how to send email to user’s email id with the files that were submitted by the…

Read more »

How to Use Middleware In Laravel.

step:1– first, you have go this path: C:\xampp\htdocs. then you have right-click on the git base here. same as this pic. Step:2- write any project name like that. Step:3– composer…

Read more »

Protection of CSRF in Laravel

What is CSRF? CSRF stands for Cross Site Request Forgery and it’s a web attack that forces a user to make unintended requests to a web application where they are previously authenticated. Implementation:- CSRF…

Read more »

Laravel 5.5 php artisan migrate error in Ubuntu: SQLSTATE[HY000] [2002] Connection refused

How I got this error?Ans: I was running php artisan migrate command in /opt/lampp/htdocs/project_dir What was the error? ubuntu@ip-ip_addr:/opt/lampp/htdocs/project_dir$ php artisan migrateIn Connection.php line 664: SQLSTATE[HY000] [2002] Connection refused (SQL:…

Read more »

How to store and retrieve image from the database in Laravel.

# Creating Migration For Uploading Image We need to add three lines in our migration file which makes column in our Database .After adding, run Migration . # Blade Form…

Read more »

Top 10 Laravel Interview Questions And Answers 2020.

1- What is Laravel Framework? 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 »

How to use multiple authentication in Laravel.

Step:1 Step:2- click on Git base Here. It will look like this Step:3- you have to crate own project and put here Step:4- Press Enter than project will be run,…

Read more »

Generate URLs to Named Routes in Laravel

Laravel Provides several helpers to assist you in generating URLs for your application. These are mainly helpful when building links in your templates and API responses, or When generating redirect…

Read more »

Laravel – Remove Public from URL using htaccess

Step 1: Rename File In first step it is very easy and you need to just rename file name. you have to rename server.php to index.php at your laravel root…

Read more »

Introduction of Some keyword using laravel

Laravel framework provides three primary tools for interaction through command-line namely: Artisan, explains about Artisan in detail. Introduction to Artisan  Artisan is the command-line interface frequently used in Laravel and it…

Read more »

How to Upload files or Documents in Mysql Database Using laravel.

Step: 1- First of all you have to go:- Step:2- then right-click in this Drive and got to Git Bas Here and click. Step:3-run the composer step: 4- write the…

Read more »

Exploring Directory Structure in laravel.

Laravel applications follow the Model-View-Controller architecture design pattern. Models represent the entities in the database and help you to query the database and return the data Views are the pages that will be displayed…

Read more »

Best Laravel Packages to create awesome Admin Panels & other functionalities.

Here i am going to discuss about most trending and awesome packages for Laravel Developers. with these packages, you can easily embed some cool features like captcha, breadcrumbs and increase…

Read more »

55 Steps For build a project in php Laravel Framework.

1.laravel new project (open command prompt on xampp/htdocs directory) 2.cd projectname 4.Customise users table(database/migration/create_users_table.php) 5.Make Model and Migration for Role Table 6.Customise roles table(database/migration/create_roles_table.php) 7.Make Relationship between users and roles…

Read more »

How to install Laravel Application & sample CRUD.

Since its initial release in 2011, Laravel has experienced exponential growth. In 2015, it became the most starred PHP framework on GitHub and rose to the go-to framework for people…

Read more »

Eloquent-sluggable in laravel Installation failed? (Solution)

Conclusion: don’t install laravel/framework v5.7.9 cviebrock/eloquent-sluggable 4.8.x-dev requires illuminate/config ~5.8.0 -> satisfiable by illuminate/config[5.8.x-dev Solution:- Depending on your version of Laravel, you should install a different version of the package. NOTE:…

Read more »

Useful Visual Studio Code Extensions.

1 :-Visual Studio Code HTML Snippets This extension adds rich language support for the HTML Markup to VS Code, including: Full HTML5 Tags Colorization Snippets [partially implemented] Quick Info description…

Read more »
oauth-2-0-protected-rest-ap

Creating a OAuth 2.0 Protected REST API In Laravel

Download and install WAMP or XAMPP Server Download and install composer Open Gitbash and Set the composer composer global require “laravel/installer” Create a new Laravel Project Refer following code How…

Read more »

How to enable Google reCaptcha with Laravel?

Step 1 – First go to https://www.google.com/recaptcha/intro/v3.html then click on Admin console Step 2 – Genereate new recaptcha (click on + button to create) Type label name Select ReCaptcha v2…

Read more »