Table of Contents


#Laravel News

Laravel Forge adds Statamic Integration

Laravel Forge announced it has added first-party integration with Statamic, a CMS built on Laravel.
#News
By Eric L. Barnes | Nov 18, 2024


Access Laravel Pulse Data as a JSON API

The Pulse API package by Roberto Gallea gives you all the data available in Laravel Pulse as a JSON API.
#Laravel Packages #Laravel Pulse
By Paul Redmond | Nov 18, 2024


Asymmetric Property Visibility in PHP 8.4

Starting in PHP 8.4, properties may also have their visibility set asymmetrically with a different scope for reading and writing. Learn how to use thi…
#News #Php
By Paul Redmond | Nov 19, 2024


Dynamic Mailer Configuration in Laravel with Mail::build

Discover how to create dynamic mailer configurations in Laravel using the new Mail::build method. Perfect for multi-tenant applications and situations…
#Laravel Tutorials #Mailable
By Harris Raftopoulos | Nov 21, 2024



#Laravel Blogs

Vapor: PHP 8.4 Is Now Supported

Starting today, you may use PHP 8.4 in your Vapor environments. To get started, simply specify "php-8.4:al2" as your preferred runtime in your "vapor.yml" configuration file.
#vapor #releases
By Mohamed Said | Nov 22, 2024



#Freek Dev

Accessing Databases in PhpStorm

Powerful Database Features You Didn't Know PhpStorm Had
By Sean Kegel | Nov 18, 2024


IPC in Electron

By Spatie | Nov 19, 2024


Building Maintainable PHP Applications: Data Transfer Objects

Learn about data transfer objects, why they are useful and why it's better to use them over arrays.
By Davor Minchorov | Nov 20, 2024


Playtime with PHP Attributes

Attributes are a fun and powerful feature of PHP.
By | Nov 21, 2024


5 Ways to Extract Value from Overmocked Tests

Tomas shares his approach to get the most out of mocks, drop dead code, and make tests more valuable.
By | Nov 22, 2024



#Laravel io

Laravel Custom Query Builders Over Scopes

Hello 👋
Alright, let's talk about Query Scopes. They're awesome, they make queries much easier to r…
#Laravel #Database #Eloquent
By oussamamater | Nov 18, 2024


Access Laravel before and after running Pest tests

How to access the Laravel ecosystem by simulating the beforeAll and afterAll methods in a Pest test….
#Laravel #Testing
By mho | Nov 20, 2024



#Made with Laravel

Pan – Product Analytics Package

"Pan is a lightweight and privacy-focused PHP product analytics library. It’s designed as a very simple package that you can install via composer require and start tracking your pages or components with a simple data-pan attribute.
Pan tracks impressions, hovers, and clicks. It does not collect any personal information, such as IP addresses, user agents, or any data that could be used to identify a user.
It works out-of-the-box with your favorite Laravel stack; updating a button color in your "react" won't trigger a new impression, but seeing that same button in a different Inertia page will. Using Livewire? No problem, Pan works seamlessly with it too."
#Utility
By | Nov 19, 2024


Eloquent Filtering – Filter Eloquent Models

"Eloquent Filtering simplifies implementing search functionality for your Eloquent models, whether simple or complex, by eliminating the need for custom query logic. It allows you to easily define and manage filters directly within your models, and seamlessly apply them using incoming HTTP request data to dynamically filter your models.
With this package, you can build more readable, maintainable, and scalable code, boosting your productivity and speeding up development.
Whether you’re building APIs, dashboards, or advanced search systems, Eloquent Filtering provides a powerful and flexible way to streamline your Eloquent queries, making it easier to manage and extend your application’s filtering capabilities."
#Eloquent #Utility
By | Nov 19, 2024


BlipHQ – Notification API

BlipHQ sends your alerts, notifications, flags and messages directly to your phone via Telegram and Discord.
Imagine, every time a new user registers to your service, someone buys your premium plan or your server load reaches threshold. Whatever trigger it may be–simply make a POST request to send your notification.
BlipHQ is built using the TALL stack and FilamentPHP."
#API #App
By | Nov 24, 2024


Lara Zeus Sky – Filament CMS

"Lara Zeus Sky is a simple FilamentPHP CMS for your website. It includes posts, pages, tags, categories, and more, and comes with a frontend scaffolding. Get up and running fast with a pre-built frontend with many customizable components.
Lara Zeus Sky is easy to customize and match your branding. It's the prefect tool kit to start a your website."
#Administrator #Boilerplate
By | Nov 24, 2024



#Hashnode

Laravel Sanctum: Autenticación para Modelos Diversos

Como sabemos, Laravel Sanctum nos permite implementar autenticación basada en tokens de forma sencilla y eficiente. Aunque generalmente se utiliza para autenticar usuarios, también es posible adaptarlo para manejar la autenticación de otros modelos e…
By Fernando GP | Nov 18, 2024


Launch an E-commerce site Using LEMP Stack and AWS: A Beginner's Tutorial

The LEMP stack is a collection of open-source software used for hosting web applications and websites. The acronym "LEMP" stands for the following components:

L – Linux: The operating system. It provides the foundation for the stack, typically a Lin…
By Olaoluwa Afolami | Nov 18, 2024


Docker Compose For PHP Development

[1] Prep docker-compose.yml
version: '3.7'

services:
web:
build:
context: .
dockerfile: Dockerfile
ports:
– "8080:80" # Expose port 80 inside the container to port 8080 on the host machine
volumes:
– ./src:/var…
By Mohamad Mahmood | Nov 18, 2024


Prevent XSS Attacks in Laravel: Best Practices & Examples

Cross-Site Scripting (XSS) is one of the most prevalent vulnerabilities affecting web applications. Attackers inject malicious scripts into your website, compromising the user experience and potentially stealing sensitive data. As Laravel developers,…
By Pentest_Testing_Corp | Nov 19, 2024


Integrate OpenTelemetry into a PHP Application bu using Manual Instrumentation

Integrate OpenTelemetry for PHP Application with manual instrumentation to enable detailed observability by collecting, processing, and exporting telemetry data like traces and logs, allowing direct control over which parts of the application are mon…
By Ankita Lunawat | Nov 19, 2024


PHP vs. Node.JS: What's Best for Your Web App?

When it comes to server-side programming, two excellent options are Node.js and PHP. The most important part of developing an application is making sure the server side is robust and dependable. That's why it's so important to pick a technology that …
By Jenifer | Nov 20, 2024


Implementing Active Records in PHP – Part 2

In our last episode, I wrote a class I call DataObject. It will be the base class for my Active Record class since it has the basics of what is required in an Active Record class.
A DataObject is basically a OO wrapper around an array, but an Active …
By Bruce Wells | Nov 20, 2024


Easy and Quick POS System Using Laravel Filament

Step 1: Create the Laravel Project
To create a new Laravel project named laravel-pos, run:
laravel new laravel-pos

Alternatively, you can use Composer:
composer create-project laravel/laravel=11.3.2 laravel-pos

Step 2: Open the Project in Your Code…
By Programmer Telo | Nov 21, 2024


Integrate OpenTelemetry into a PHP application without writing any code.

Open Telemetry is a robust framework that offers observability for applications by collecting and exporting telemetry data, and zero-code instrumentation allows you to gain valuable insights into application performance with minimal changes to your e…
By Ankita Lunawat | Nov 21, 2024


Understanding Linux File Permissions: A Guide for Developers

File permissions in Linux are key to keeping your files and directories secure while controlling who can access them. In this blog, we’ll explain file permissions in simple terms, show you how to calculate them, and guide you on using commands like c…
By Trushang Suthar | Nov 22, 2024


The Day I Lost All My Laravel Data: A Painful Lesson in Backups

As a first-time Laravel developer, I was excited to see my blog project come to life. It was simple but functional—a proud achievement for someone learning the framework. However, one evening, my excitement turned to dread. All my data was gone. No b…
By Nguyen Thi Thao | Nov 22, 2024


PHP 8.4 Is Here !

PHP continues to evolve as a versatile and developer-friendly language, and its latest release, PHP 8.4, is no exception. Packed with enhancements designed to simplify syntax, improve performance, and make code more expressive, this version further s…
By Muhammed ElFeqy | Nov 22, 2024


Facebook PHP SDK – Authentication and Get User Access Token

Integrating Facebook Login into your web application simplifies user authentication and enables seamless access to user information. The Facebook PHP SDK provides a straightforward way to authenticate users with Facebook and retrieve their data. This…
By Sohaib Ilyas | Nov 22, 2024


How to Use Route Missing Methods in Laravel: A Step-by-Step Tutorial

Missing method
Laravel 8.26.0 introduced a new method to the Router class called missing(). This method allows you to customize the behavior of route model binding when a model cannot be found.
An exception would be thrown in previous versions of Lar…
By Aman jain | Nov 23, 2024


Blog or Vlog

I don't know how to write a blog, but I'm in right now.. As a programmer it's easy to communicate by writing instead of struggling for a Vlog. I feel as if it is communicating with words, with physical appearance or communicating with machine in code…
By Fariha Ahson | Nov 23, 2024


LAMP Stack Essentials: Setting Up Apache, MySQL, and PHP on Ubuntu

Creating a LAMP (Linux, Apache, MySQL, PHP) stack project involves setting up a web server environment where PHP-based web applications can run smoothly. Below, I will provide a sample project along with detailed installation steps. This example will…
By Dinesh Kumar K | Nov 23, 2024


Secure Data Updates: The Benefits of Using POST Over Hyperlinks

When updating a record in PHP, the choice between using Perform Actions (typically via forms and HTTP methods like POST or PUT) versus Hyperlinks (which generally use the GET method) boils down to security and best practices. Here’s why Perform Actio…
By Antonio Silva | Nov 23, 2024


Laravel Broken Authentication: How to Detect and Fix It

Broken authentication is a critical security vulnerability that exposes web applications to unauthorized access. For Laravel developers, ensuring robust authentication mechanisms is vital to safeguard user data and maintain trust.
In this post, we’ll…
By Pentest_Testing_Corp | Nov 24, 2024


Stubs In Laravel

Laravel stubs are an incredible feature that can significantly enhance your development workflow. Whether you’re generating controllers, models, or other boilerplate files, stubs help automate repetitive tasks. But what if your stubs could do more? W…
By Aman jain | Nov 24, 2024



#Mastering Laravel

How to deal with things outside your control

Estimates are hard enough already
By Joel Clermont | Nov 18, 2024


How are duplicate routes resolved?

Order is important
By Joel Clermont | Nov 19, 2024


Have one GitHub Action trigger another

It doesn't work by default
By Joel Clermont | Nov 20, 2024


How do strict types work if only enabled in some files?

One simple rule to remember
By Joel Clermont | Nov 21, 2024


When would I use a feature flag?

Keep it simple to start
By Joel Clermont | Nov 22, 2024



#Securing Laravel

Security Tip: Be Intentional with Your Outputs!

[Tip #97] XSS loves to sneak into your apps when you're not paying attention, so you need to be intentional with your outputs and think about every piece of user input you're using in your apps!
By Stephen Rees-Carter | Nov 23, 2024



#Dev.to

PHP version 8.0 – Named Parameters

#webdev #php #codenewbie #laravel
By Hòa Nguyễn Coder | Nov 18, 2024


PHP, Analytics and surroundings

#php #laravel #analytics #opensource
By Giuliano1993 | Nov 18, 2024


1652. Defuse the Bomb

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Nov 18, 2024


Symfony Station Communiqué — 15 November 2024. A look at Symfony, Drupal, PHP, and programming news!

#symfony #drupal #php #programming
By Reuben Walker, Jr. | Nov 18, 2024


Prevent Cross-Site Scripting (XSS) in Laravel: Secure Your Code

#cybersecurity #vulnerabilities #laravel #security
By Pentest Testing Corp | Nov 19, 2024


Access Laravel before and after running Pest tests

#laravel #testing #tutorial
By Capsules Codes | Nov 19, 2024


Bare-bones file upload in php

#webdev #php #beginners #tutorial
By Mohamed Hammi | Nov 19, 2024


PHP: The Garbage Collector explained with simple words

#php #programming #beginners
By spO0q 🐒 | Nov 19, 2024


2461. Maximum Sum of Distinct Subarrays With Length K

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Nov 19, 2024


Simplifying State Management in Laravel: Managing Transitions with Enum State Machine

#webdev #laravel #packages #statemachine
By Shreif | Nov 20, 2024


A Comprehensive Review of Code WP: A Must-Have WordPress Plugin 2025

#wordpress #webdev #php #ai
By Anwar Ali | Nov 20, 2024


Using Multiple PHP Version on Linux

#ubuntu #php #programming #linux
By Fega Suseno | Nov 20, 2024


How to use diffInDays with filters in Laravel | Tutorial | Quick Win Wednesday #QWW

#laravel #php #tutorial #beginners
By Bert De Swaef | Nov 20, 2024


🚀 Upload d'images à partir d'une URL dans Laravel

#laravel #php
By A0mineTV | Nov 20, 2024


Laravel Reverb in Production Environment

#tutorial #laravel #reverb #php
By Jenry Mazariegos | Nov 20, 2024


PHP 8.4: What to Expect, What’s New, and Why It’s a Big Deal for Developers

#php #laravel #backend #programming
By HichemTech | Nov 20, 2024


🧨 PHP 8.4 Officially Released!

#webdev #programming #php
By ServBay | Nov 20, 2024


2516. Take K of Each Character From Left and Right

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Nov 20, 2024


Unit Testing in Laravel: A Practical Approach for Developers

#php #laravel #unittest #web
By Arafat Hossain Ar | Nov 21, 2024


php.ini Overview: Boost Performance, Security, and Flexibility

#php #performance #security #webdev
By MD ARIFUL HAQUE | Nov 21, 2024


Filament: Image Color Picker component

#laravel #filament #filamentphp
By Wallace Maxters | Nov 21, 2024


Create a Laravel command to add your queue:work for a project as Systemd service in Linux

#laravel #linux #systemd #daemon
By Wallace Maxters | Nov 21, 2024


A Little Bit of a Disaster, A Lot of Motivation: Building a CLI Secret Manager

#development #php #laravel #opensource
By Saif Mahmud | Nov 21, 2024


Laravel vs CodeIgniter: A Comprehensive Comparison for Web Development

#laravel #php #programming #codeigniter
By NeoTechy | Nov 21, 2024


Insecure Direct Object References (IDOR) in Laravel

#cybersecurity #vulnerabilities #laravel #security
By Pentest Testing Corp | Nov 21, 2024


2257. Count Unguarded Cells in the Grid

#leetcode #php #algorithms #programming
By MD ARIFUL HAQUE | Nov 21, 2024


Using Symfony’s HeaderBag as a Service: A Debugging Superpower in API Contexts

#symfony #php #api
By Tim Nelles | Nov 21, 2024


Safe Database Migration: Converting MySQL Enum to String in Laravel

#laravel #php #mysql #migration
By Bilal Haidar | Nov 21, 2024


Structuring a Laravel Project with the Repository Pattern and Services 🚀

#laravel #php #designpatterns
By A0mineTV | Nov 21, 2024


Create Zip File Using PHP

#php #zipfile #programming #learning
By Asif Sheikh | Nov 21, 2024


How to Set Up a PHP Development Environment in VS Code with Docker Desktop A Step-by-Step Guide

#webdev #php #docker #vscode
By MD ARIFUL HAQUE | Nov 22, 2024


1072. Flip Columns For Maximum Number of Equal Rows

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Nov 22, 2024


Adding commenting feature to my site which was built on Laravel

#webdev #laravel #tutorial #video
By Lakshan Madushanka | Nov 22, 2024


Unlock the Power of the New Easy Model – Available Today! 🎉

#php #laravel #opensource #backend
By Mahmoud Ramadan | Nov 22, 2024


PHP Tips and Tricks for Writing Cleaner and More Efficient Code

#php #programming #beginners #productivity
By NeoTechy | Nov 22, 2024


Laravel manage object based permission-ACL

#laravel #eloquent #acl #permission
By servicessatech | Nov 22, 2024


Whats new in PHP 8.4

#php #whatsnew #newversion
By Stevie G | Nov 23, 2024


1861. Rotating the Box

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Nov 23, 2024


What’s New in WordPress 6.7: Key Features and Updates for Developers

#wordpress #php #opensource #lowcode
By Muhammad Usman | Nov 23, 2024


🇩🇪 PHP 8.4: Was ist neu?

#german #php #webdev
By Pascal Kleindienst | Nov 23, 2024


PHP 8.4: Breaking Down the Big Updates (With Examples)

#php #web #programming #laravel
By Arafat Hossain Ar | Nov 23, 2024


GPT-3 PHP Integration: 5 Steps to Master for PHP with OpenAI’s GPT-3 API

#gpt3 #php #openai #chatgpt
By MD ARIFUL HAQUE | Nov 23, 2024


Unlock the Power of the New Easy Model – Available Today! 🎉

#backend #php #laravel #opensource
By Mahmoud Ramadan | Nov 23, 2024


Introducing the Pesapal PHP SDK: Simplify Your Payment Integration

#php #sdk #pesapal #paymentintegration
By katorymnddev | Nov 23, 2024


Creating focused domain applications. A Symfony approach (Returning the result)

#php #symfony #ddd #cleancode
By Nacho Colomina Torregrosa | Nov 23, 2024


Simplifying Asset Updates in FilamentPHP Packages

#laravel #filamentphp
By Süleyman Özgür Özarpacı | Nov 23, 2024


How to Trigger Another Action in FilamentPHP

#laravel #filamentphp
By Süleyman Özgür Özarpacı | Nov 23, 2024


Why Using POST for Updates Is Safer Than Hyperlinks

#php #webdev #security #learning
By Antonio Silva | Nov 24, 2024


Symfony Station Communiqué — 22 November 2024. A look at Symfony, Drupal, PHP, and programming news!

#symfony #drupal #php #programming
By Reuben Walker, Jr. | Nov 24, 2024


1975. Maximum Matrix Sum

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Nov 24, 2024


Fix Broken Authentication in Laravel: Step-by-Step Guide

#cybersecurity #vulnerabilities #laravel #security
By Pentest Testing Corp | Nov 24, 2024


(My first time) Installing Laravel

#laravel #php #beginners
By Ben Sinclair | Nov 24, 2024



#Amit Merchant

Sharing Data with All Views in Laravel: The Global View Data Guide

Need to make certain data available across all your views? Laravel's View::share method makes this a breeze! Let's explore how to effectively share global view data.Basic View SharingHere's how to share data with all views:use Illuminate\Support\Facades\View;class
By Harris Raftopoulos | Nov 18, 2024


Sorting Collection Keys in Laravel Using sortKeysUsing

This powerful feature lets you customize key sorting with any comparison function, perfect for natural sorting and custom ordering logic.Basic UsageHere's how to sort collection keys using a callback:$collection = collect([ 'ID' => 22345, 'first' => 'John', 'last'
By Harris Raftopoulos | Nov 20, 2024


Prevent Stray HTTP Requests in Laravel Tests: Using preventStrayRequests

Ever wanted to ensure that all HTTP requests in your Laravel tests are properly faked using the preventStrayRequests method? This powerful testing feature helps catch unintended external requests and maintain reliable tests.Basic UsageHere's how to prevent unwanted HTTP requests in your tests:use Illuminate\Support\Facades\
By Harris Raftopoulos | Nov 21, 2024


Resetting Rate Limits in Laravel: Using the clear Method

Learn to dynamically reset rate limits when certain conditions are met in your Laravel application. Let's explore how to use the clear method to manage rate limiting flexibly.Basic UsageHere's how to clear a rate limit:use Illuminate\Support\Facades\RateLimiter;RateLimiter::clear('send-message:
By Harris Raftopoulos | Nov 22, 2024


String Pattern Replacement in Laravel: Using replaceMatches

Learn how to perform advanced string pattern replacement in Laravel using the Str::replaceMatches method. Let's explore both simple replacements and complex patterns with closure-based replacements.Basic UsageHere's a simple pattern replacement:use Illuminate\Support\Str;$replaced = Str::replaceMatches( pattern: '/[^A-Za-z0-9]++/', replace: '
By Harris Raftopoulos | Nov 23, 2024



#Ahmad Rosid

How to use Laravel Pint in VSCode?

By Ahmad Rosid | Nov 18, 2024



#IT Solution Stuff

Laravel Eloquent Find with Trashed Record Example

In this post, I will show you how to find record with trashed record laravel application. we will find record with soft deleted in laravel app.

I will use the `find` method to retrieve a single post …..
#Laravel
By Hardik Savani | Nov 18, 2024


Laravel Datatables Date Format with created_at Example

In this tips, I will show you how to display created_at column value with date format with laravel yajra datatables.

To display a date column with DataTables, you can use the addColumn() method in Ya…..
#Laravel
By Hardik Savani | Nov 20, 2024


Laravel Datatables Relationship with Filter Column Example

In this post, I will show you how to filter relation column with laravel yajra datatables.

In this example, we’ll install the yajra/laravel-datatables package via Composer. We’ll create users and…..
#Laravel
By Hardik Savani | Nov 22, 2024



#Harris Raftopoulos

Dynamically build Mail, DB, and Cache configurations in Laravel

Usually, when working with things that require configuration, such as databases, caches, and mailers, you have to define them in their respective configuration files beforehand.
By Amit Merchant | Nov 18, 2024