AJAX Crud with laravel 5.8

samMotoShare.in is your go-to platform for adventure and exploration. Rent premium bikes for epic journeys or simple scooters for your daily errands—all with the MotoShare.in advantage of…

Read More

Upload image in the database with local folder and image send mail.

Step-1 open terminal as a git base here in C:\xampp\htdocs look a pic After click on git base Here it will be open like this look a…

Read More

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…

Read More

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…

Read More

What is REST API

REST is acronym for REpresentational State Transfer. It is architectural style for distributed hypermedia systems and was first presented by Roy Fielding in 2000 in his famous. Guiding Principles of REST Client–server –…

Read More

What is microservices?

Microservices – also known as the microservice architecture – is an architectural style that structures an application as a collection of services that are. Highly maintainable and testable. Loosely coupled….

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…

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….

Read More

Different between echo and print in php.

echo echo is a statement i.e used to display the output. it can be used with parentheses echo or without parentheses echo. echo can pass multiple strings…

Read More

What is PHP?. And how to write php code.

PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor. How can start php step:-1 first…

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. )…

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…

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…

Read More

How to join two tables using left join in SQL.

Step:1 Step:2 Step:3 Step:4 Step:5 Syntax of left join in SQL SELECT column_name(like that CustomerName and OrderID these are column name step-4)FROM table1 (Cumstomers is table name)LEFT JOIN table2 (orders is…

Read More

How to install Linux on Windows or Virtual machine

we are going to install Linux or virtual machine on widows,let see step by step. Step:1 click this url https://www.virtualbox.org/or you can search virtualbox Step:2 Step:3 Step:4…

Read More

How can send multi email using laravel 5.8

Step:1 open git base in C:\xampp\htdocs Step:2 past this project name in the gitbase here composer create-project –prefer-dist laravel/laravel multimail “5.8.*” Step:3 Make One controller php artisan…

Read More

How to upload file in database with Laravel 5.8

Step:1 composer create-project –prefer-dist laravel/laravel uploadfile Step:2 make a controller like that.php artisan make:controller ImageUploadController Step:3 amke a Modelphp artisan make:model File -m Step:4 put this code…

Read More

How to implement Flash message in Laravel 5.8

Step:1 Make a page. resources/views/my_message.blade.php Copy this code and paste in the my_massage.blade.php Step:2 make a controller php artisan make:controller MessageController Step:3 Copy this code and paste…

Read More

How to create captcha code in Laravel 5.8

Step:1composer create-project –prefer-dist laravel/laravel captcha “5.8.*” Step:2 we have to add mews Captcha package.composer require mews/captcha Step:3 open config/app.php file and add service provider and alias. Step:4 routes/web.php paste…

Read More

How to Convert HTML to Pdf in laravel.

Step:1 Step:II make controllerphp artisan make:controller PdfController Step:III Install Package composer require barryvdh/laravel-dompdf Step:IV open your config/app.php put this code after Providers Barryvdh\DomPDF\ServiceProvider::class,Step:V open your config/app.php put this code…

Read More

What is OOPs? in PHP.

Object-Oriented programming is faster and easier to execute. It makes the code easier to maintain.  This is possible to create full reusable applications with less code What…

Read More

Illuminate\Database\QueryException

Why this error is coming when we are going to migrate db. how can solve this error. follow this step Step:1– app/Provider/AppServicesProvider.php then paste this code as…

Read More

Filtering and sorting search results in an HTML page

Step:1 – Create first html page. with any name example(search.html) Step:2 – Create a second Html page.with any name example(page-one.html) Step:3 Then create a json page like…

Read More

Upload multiple Image in local drive with Progressbar using laravel 5.8

Step: 1– Install Laravel 5.8 ApplicationStep: 2– Create ControllerStep: 3– Create View Blade FileStep: 4– Set Route of Controller MethodStep: 5– Run Laravel Application Step:1 composer create-project…

Read More

How can send a mail with Attachment using laravel 5.5

Step:1- composer create-project laravel/laravel mail orcomposer create-project –prefer-dist laravel/laravel mail “5.8.*” Step:2 – Create Controller php artisan make:controller:SendEmailController This command will make SendEmailController.php file in app/Http/Controllers Step:3- Go to the…

Read More

Multi Auth with Roles and Permissions.

Step:-1 first of all you have to install xampp server use this url for download xampp: https://www.apachefriends.org/index.html Step:-2 Download gitbash and install the gitbash use this url:…

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…

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…

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…

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…

Read More