Recently I have encountered an issue with my old codes. Those were running just fine earlier. Issue occurs while my server updated its PHP version to 7.2. Actually, this is common, with up-gradation to server configurations some old functions get deprecated, and in my case, it was PHP “each” function. With PHP version 7.2 “each” […]
Laravel Backpack for creating quick admin panel
What is laravel backpack and why we use it? The backpack is a collection of laravel packages that help us to create a quick and customized admin panel. Its main goal is to provide a code for admin panels and eliminate writing code that repeats in every module. Installation: >> run the below command in your […]
Upload images to your S3 instance using Laravel
S3 is a package of Amazon Web Services(AWS), where we can store a large number of files. So, basically, it is a storage device. It has one big advantage. You can configure the permission access of files from your AWS Console. Configure S3 with Laravel: <> open the link https://aws.amazon.com/console <> hover your mouse on […]
LEARN ABOUT JSON ENCODE AND DECODE IN PHP
JSON is basically used when we want to send back data to the client server. JSON ENCODE means if the data type is in array format then it actually turns into JSON OBJECT, and JSON DECODE is vice versa to the JSON encode. here I can show you a small example of JSON ENCODE $data […]
How to use cron job in Laravel?
First, we should know what is a cron job? Cron is a Linux tool, which schedules a command or script on the server to run automatically at a specific time interval. That means no event is needed to run the cron page. Laravel gives us a simple and easy process to activate cron in our […]
Use of PHP Artisan command with Laravel framework
Laravel is a highly productive oops structure supported PHP framework. In the laravel framework, PHP artisan command is combined with the command line interface. Laravel application provides command line setup facilities where you can create and manage your project from command line. PHP artisan provides several numbers of commands which are very important and useful […]
How to set up mail functionalities with postmark package in your Laravel project
Postmark is globally used package which is used to set up inbound and outbound mail functionality from your server. Postmark provides lightning and fast delivery of the transactional emails. To set up mail configuration with postmark is an easy way to manage your mail services and send transactional emails to the user’s mail account. It […]
Restful API In Laravel 5.5 Using Jwt Authentication in Ubuntu
Rest is a stateless client-server protocol, where each HTTP requests contains all the information to run it. So, there is no need to remember the previous state, which makes the API become stateless. Using API, we can easily create web services that connect with our codebase/database and getting data either in XML or JSON format […]
Image Manipulation with Intervention Image package for Laravel
If you are looking for image manipulation where there is a requirement for resizing an image and then save it into the database then intervention image package is one of the best options for you. One of the image processing libraries is Imagick and GD library which is inbuilt with the Intervention package for Laravel. […]