Laravel Soft Delete By Example – Quick Start Guide

laravel soft delete

Laravel, a popular PHP framework, boasts a range of features designed to simplify web application development. Eloquent provides an intuitive way to interact with databases, and among its many capabilities is the concept of “soft deletes.” This feature allows developers to remove records from a database without permanently deleting them, offering a layer of data … Read more

Categories PHP

Deploy a Laravel Application on AWS EKS: A Step-By-Step Guide

laravel kubernetes, laravel eks

In this blog post, we will guide you through the process of running a Laravel project on Amazon Web Services (AWS) Elastic Kubernetes Service (EKS). AWS Elastic Kubernetes Service (EKS) provides a range of benefits over self-managed Kubernetes, making it an attractive choice for businesses. EKS eliminates the complexity of setting up, operating, and maintaining … Read more

Laravel Unit Testing – HOW TO with Code Examples

larvavel, php framework

Welcome to our comprehensive guide on unit testing within the Laravel framework. Laravel, known for its elegant syntax and powerful features, also offers a robust testing environment, making it an excellent choice for modern web applications. This guide specifically focuses on unit testing, a software testing method where individual units of source code are tested … Read more

Laravel – How to send mail using Amazon SES

larvavel, php framework

In this guide, we will explore how to send emails using Amazon Simple Email Service (SES) in a Laravel application. Amazon SES is a scalable and cost-effective email sending service that handles the complex details of email delivery. Laravel, a robust PHP framework, provides seamless ways to integrate with services like Amazon SES. By integrating … Read more

Use PHP to Scrape Error & Bounced Emails from the EXIM Log and Add To a Blacklist

php exim

Exim is a mail transfer agent (MTA), which is the software responsible for receiving, routing, and delivering email messages. It’s widely used on Unix-like operating systems and is the default MTA on some Linux distributions. Exim is known for its flexibility, as it allows administrators to control its behavior through a variety of configuration options. … Read more

Categories PHP

Laravel vs Django for REST API Development

code, python, php, java

Restful APIs have become a fundamental building block of modern web applications. They are used to enable communication between different components of an application or different applications themselves. When it comes to developing Restful APIs, two popular web frameworks are Django and Laravel. Django is a Python-based web framework that provides a rich set of … Read more

How to Generate PDF in Laravel with DomPDF

laravel pdf, pdf generator

Laravel is a popular PHP framework known for its elegant syntax and robust features. One such feature is the ability to generate PDF documents, a crucial requirement for many web applications today. Popular Laravel PDF Packages There are several packages available that make PDF generation in Laravel a breeze. Two of the most popular ones … Read more

Categories PHP

Laravel Forge: A Comprehensive Guide

laravel forge

Laravel Forge is a powerful server management tool designed specifically for PHP and Laravel web applications. Created by Taylor Otwell, the same developer behind the Laravel framework, Laravel Forge was introduced as a means to monetize the open-source framework. The importance of Laravel Forge in the PHP and Laravel ecosystem cannot be overstated, as it … Read more

Categories PHP

Comprehensive Guide to Laravel Faker

laravel faker, data faker, laraval data faker

Introduction to Laravel Faker What is Laravel Faker? Laravel Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Laravel Faker is for you. Why use Laravel Faker? … Read more

Categories PHP

Setting Up Laravel on Docker MacOS Ventura: Step-by-Step

laravel,php

Laravel is a popular PHP web framework that enables developers to create web applications efficiently. Docker, on the other hand, is a platform for building, shipping, and running applications using containers. In this guide, we will go through the steps to set up Laravel on Docker on macOS Ventura. Step 1: Install Docker Before you … Read more

Manage Cron Jobs with Codeigniter 3.0 and MySQL

I didn’t like managing all of my website’s CRON jobs via CPanel because I couldn’t easily see what my jobs were and when they will run next. So I decided to manage the CRON in my applications database and with a simple PHP script. You will need to only create 1 CRON job in Cpanel … Read more

Categories PHP

Useful tips for PHP developers using MySQL

MySQL is a very common database used while developing web application. When developers are using PHP as their main programming language, they prefer MySQL as database. We are going to discuss some of uncommon but useful queries and precautions every developer should follow and will be taken care of.     1. Why not to use … Read more

Categories PHP

How to call JavaScript function from PHP

This article will show you how to call a JavaScript function from within PHP code. It is quite simple actually! echo “<script language=javascript>myfunction();</script>”;

Categories PHP

How to SCP (Secure Copy) files using PHP5

This article will explain how to SCP (Secure Copy) files using PHP5. SCP is a secure method of copying files from one host to another using the SSH protocol. Here is a snippet of working code to help get you started! $hostname = “target_host”; $username = “root”; $password = “password”; $sourceFile = “test.txt”; $targetFile = … Read more

Categories PHP