Laravel Archives

Firebase Integration With Laravel 6.x (Ubuntu 18.04)

Author - Webner
|
0 Comments
|

Below are the steps to integrate Firebase with Laravel 6.x

Step 1

To integrate Firebase with Laravel we first need a Laravel project. Create a new Laravel project using the given composer command.

composer create-project –prefer-dist laravel/laravel firebase

Step 2

Read more…

Compress Videos using FFmpeg Laravel & shell_exec method

Author - Webner
|
0 Comments
|

Introduction

First of all, install FFmpeg in your composer. Perform the steps below to install it on Ubuntu:

composer require pbmedia/laravel-FFmpeg

Start by updating the packages list:

$ sudo apt update
– Next, install FFmpeg by typing the following command:

$ sudo apt install FFmpeg

– To check FFmpeg is Read more…

Laravel URL QR Code Generator

Author - Webner
|
0 Comments
|

Why the QR Code?

A QR code can make you download apps, redirect to a particular URL, access wireless networks like WiFi and much more. They can also lead one to perform quick actions without even putting any effort. Many social media platforms are using the same as Read more…

Upgrade Mongodb Extension Version – Laravel Project

Author - Webner
|
0 Comments
|

Issue while upgrading Mongodb extension version:

I have upgraded laravel version from 5.7 to laravel version 6.5. Now, I’m getting mongodb extension version error while updating composer. Error given below:

ERROR: jenssegers/mongodb v3.6.0 requires mongodb/mongodb ^1.4 -> satisfiable by mongodb Read more…

How to pass dynamic data to all views in Laravel

Author - Webner
|
0 Comments
|

ISSUE:

Sometimes there is a requirement, in which we need to show some dynamic data in the sidebar of every view.

SOLUTIONS:

The above scenario can be achieved using various techniques in Laravel, which are listed below –

We can pass the sample data array on every Read more…

Image Compression in Laravel

Author - Webner
|
0 Comments
|

Steps to follow:

Install the Intervention image package first in your project

composer require intervention/image
If you want to check official documentation of intervention image you can check it from here-
http://image.intervention.io/getting_started/installation

Inside the config/app.php-

In Read more…

Laravel: Prevent the browser back button to access pages after logout

Author - Webner
|
0 Comments
|

Introduction

When we create a web project in laravel, even after logging out of the project, clicking on the browser back button usually takes us back to the previous page we opened when we were logged in. This is a very big security issue that can arise in Read more…

Creating A New Laravel App With Initial Setup

Author - Harshit Gulati
|
0 Comments
|

How to create a new laravel app with initial setup and get everything up and running?

To create your first Laravel app, you will require some prerequisites and here is what you will need to have installed:

Composer

WebServer; I am using Apache ( For Windows and macOS, I Read more…

Laravel Events Introduction With Example

Author - Pawan Gulati
|
0 Comments
|

Laravel Events

Events are one of the many powerful features of the Laravel. The event basically means the thing that happens or takes place, especially the one that is important. So, in Laravel’s case, events are triggered when some condition is met like most websites have authentication Read more…

Video Compression Using Laravel

Author - Navneet Kaur
|
0 Comments
|

Introduction to Video Compression

Video Compression is a term used to define a method to reduce the data used to encode digital video content. This reduction in data further translates to various benefits such as smaller storage requirements and lower transmission bandwidth requirements, for a clip of the Read more…

Laravel 5.4 Logs And Errors

Author - Monika Dhiman
|
0 Comments
|

Introduction to Laravel 5.4

Logfiles:
A log file is a file that keeps a registry or records of events, processes, messages that occur in the operating system or any software runs.

-Laravel provides the robust logging services that allow the user to log Read more…

Deploy the laravel project on 1&1 production server

Author - Manoj Thakur
|
0 Comments
|

How to deploy the laravel project on Shared hosting server

On shared Environment:

Step 1: Push the code to Production Server.

I’m assuming that your project is running perfectly on your localhost and now you are ready to push it to Read more…

Download files from S3 disk in Laravel

Author - Navneet Kaur
|
0 Comments
|

how to download file from s3 disk in Laravel

What is AWS S3?
Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. S3 helps you securely upload and download your data with Read more…

Detect Text From Uploaded Image and Base64 string

Author - Dalbir Kaur
|
0 Comments
|

How to Detect Text From Uploaded Image and Base64 string in laravel

Laravel has various packages available to achieve this. I have tried “yk/laravel-ocr” and “alimranahmed/laraocr” but these are not producing accurate results. After that, I used the “AWS sdk” and it proved Read more…

Laravel Cron to keep executing manually even for a long time

Author - Komal Dhiman
|
0 Comments
|

Laravel Cron to keep executing manually even for a long time

The cron jobs we create in Laravel can be very time consuming if they have much to do. They may take a few minutes to execute completely. While testing the cron by executing it manually Read more…

Face detection using Laravel

Author - Harpal Singh
|
0 Comments
|

Method of Face detection using Laravel

Laravel is a PHP framework for Web Development. It provides many features to make things easy for Web Development. It also takes care of the security of the application. If you have an intermediate level knowledge of PHPRead more…

Using Laravel Eloquent ORM

Author - Umang Pasricha

Introduction to Laravel Eloquent ORM

Introduction:

Eloquent ORM is an Object Relational Mapper that interacts with the database. It is a package separate from laravel so can be used outside the laravel too. It implements active record pattern. Laravel Eloquent ORM uses Object-Oriented Read more…

Using Breadcrumbs in Laravel

Author - Mahesh Kumar
|
0 Comments
|

How to add Breadcrumbs to your Website in Laravel

Breadcrumbs are links used to track and navigate in the website. Generally every page is considered as a link and is arranged in hierarchical order at the top of the website.

We can use breadcrumbs to track Read more…

Using Google Search Operators

Author - Mayank Srivastava

Using Google Search Operators for Better Results

Google defines Search Operators as the “words or symbols in one’s search phrase that make the search results more precise”. These operators have their basis in coding as they are nothing but shortcuts in procuring the best results Read more…

Database Migration in Laravel

Author - Maniraj Singh
|
0 Comments
|

Database Migration in Laravel

Migrations allow us to easily share the database schema of your website. There are only a few commands to run to create database tables. If, we do it manually there is some chances of getting an error and it’s also time Read more…