code snippets

Function to create an image from base64 format in Laravel 5.4

Uploading a Base 64 image in laravel 5.4

Uploading a Base 64 image in laravel 5.4 //Function to save a base64 image in laravel 5.4 public function ...

Code to remove a file from url in Laravel 5.4 via ajax

function to unlink a file in laravel 5.4.jpg

laravel delete file from publiclaravel delete file from folder laravel file existslaravel delete file from folderhow ...

Step by step guide to display wordpress posts in Laravel 5.4

Configuring and using multiple databases in Laravel

Configuring and using multiple databases in Laravel | Fetching WordPress posts in Laravel | Creating Global scopes in ...

How can you get users IP address in Laravel ?

You can use request's class ip() method to get IP address of user in Laravel. Usage: public function ...

How to get Logged in user info in Laravel ?

Auth::User() function is used to get Logged in user info in Laravel. Usage:- if(Auth::check()){ ...

How to Display Validation Error messages in Laravel view

You can use below code to Display Validation Error messages in Laravel view @if (count($errors) > 0) <div ...