#Laravel News
Multiple Column Plucking in Laravel Collections
Discover how to extract multiple columns from Laravel collections using map with only. Learn to efficiently retrieve specific data fields from your mo…
#Laravel Tutorials
By Harris Raftopoulos | Dec 09, 2024
File Manager Package for Livewire
The Livewire File Manager package brings a simple, friendly, and practical file manager designed specifically for Laravel applications. Learn how you…
#Laravel Packages #Livewire
By Paul Redmond | Dec 09, 2024
Whisper.php – Automatic speech recognition and transcription
Speech recognition can be complex, but it doesn't have to be. Whisper.php simplifies the process.
#Laravel Packages
By Yannick Lyn Fatt | Dec 09, 2024
Securing Laravel Sessions with ID Regeneration
Explore Laravel's session ID regeneration features for enhanced security. Learn to protect against session fixation attacks by implementing automatic…
#Laravel Tutorials #Request
By Harris Raftopoulos | Dec 09, 2024
Paginate Multiple Eloquent Models with the Union Paginator Package
The Laravel Union Paginator package by Austin White combines data from multiple Eloquent models into a single unified query using SQL unions.
#Laravel Packages
By Paul Redmond | Dec 09, 2024
URI Parsing and Mutation in Laravel 11.35
This week, the Laravel team released v11.35, which includes a brand new URI class for URI parsing and mutation, the ability to disable HTTP client exc…
#News #Laravel Releases
By Paul Redmond | Dec 10, 2024
Using Fluent to Work With HTTP Client Responses in Laravel
Starting in Laravel 11.35, we have a convenient method for transforming an HTTP client response into a fluent instance. Let's look at how to use the F…
#Laravel Tutorials
By Paul Redmond | Dec 12, 2024
Converting Collections to Queries in Laravel Using toQuery()
Transform Laravel collections into query builders with toQuery(), enabling efficient bulk updates and database operations through a unified, flexible…
#Laravel Tutorials
By Harris Raftopoulos | Dec 13, 2024
Announcing Inertia 2.0: Redefining Frontend Development for Laravel
Inertia 2.0 brings powerful new features to Laravel frontend development including async requests, deferred props, prefetching, and polling. Learn how…
#News #Inertiajs
By Joe Tannenbaum | Dec 13, 2024
#Laravel Blogs
Announcing Inertia 2.0: Redefining Frontend Development for Laravel
Inertia 2.0 brings powerful new features to Laravel frontend development including async requests, deferred props, prefetching, and polling. Learn how these improvements help you build faster, more responsive applications without the complexity of maintaining a separate API.
#releases
By Joe Tannenbaum | Dec 10, 2024
#Ashallen Design UK
Access Route Model-Bound Models in Laravel Form Requests with "#[RouteParameter]"
#Laravel #PHP #Tips & Tricks #Web Development
By Ashley Allen | Dec 09, 2024
#Freek Dev
Access Route Model-Bound Models in Laravel Form Requests with "#[RouteParameter]"
Read about the #[RouteParameter] PHP attribute that you can use in Laravel to access route model-bound models in your form request classes. The article covers how to use the attribute and the problem it solves.
By Ash Allen | Dec 09, 2024
Why Your Laravel Relationship Returns an Integer (and How to Fix It)
Sometimes, no matter how senior you are, little issues like this can humble you. I recently faced a confusing issue where I was expecting a relationship to give me a User object, but instead, it just gave me a number! After two days of scratching my head, I finally figured out what went wrong.
By Paul Edward | Dec 13, 2024
#Laravel io
Access Route Model-Bound Models in Laravel Form Requests with "#[RouteParameter]"
Introduction
I've recently been using the new #[RouteParameter] attribute in Laravel, and I've been…
#Requests #Validation #Authorization
By ash-jc-allen | Dec 09, 2024
#Made with Laravel
Laravel Modules Livewire – Laravel Modules with Livewire
"With this package you can use Laravel Livewire together with the Laravel Modules package, automatically registering Livewire components for every module."
#Utility
By – | Dec 11, 2024
Laravel Support Bubble – Non-intrusive Support Form
"Using this package you can quickly add a chat bubble that opens a support form on any page."
TailwindCSS styling out of the box
Won't ask user information if there's a logged in user
Includes some meta data like URL and IP address
Easily extendable using custom views, language files and event listeners
Honeypot included and set-up to keep spammers at bay
#UI Components
By – | Dec 11, 2024
#Hashnode
Debunking Common Myths About Laravel Security
Introduction
Many Laravel security misconceptions and myths exist that can hinder the development process. These myths can lead developers to a false sense of security, leaving their applications vulnerable to threats.
Over 67% of the world's popula…
By Hire Remote Developers | Dec 09, 2024
Integrating Monolog into a WordPress Plugin Using the WPPB Boilerplate
Logging is an essential part of any application or plugin. It helps developers track errors, debug issues, and monitor plugin behavior in real-time. When developing a WordPress plugin, using a robust logging library like Monolog can significantly enh…
By Junaid Bin Jaman | Dec 09, 2024
Hashnode tag filtered RSS
If you just want the code, here it is: https://github.com/BirkAndMe/hashnoderss.It should be straight forward, check the index.php file to get the gist of things.
Intro
A while back Hashnode released a new version of their public API, and one of the …
By Philip Birk-Jensen | Dec 09, 2024
5 Ways to Optimize Symfony Application Performance
Symfony applications often face slow load times and high server strain due to issues like inefficient database queries, poor caching, and unoptimized settings. Here’s a quick breakdown of how to fix these problems and boost performance:
Optimize Dat…
By Valerio | Dec 09, 2024
Rate Limiting User Actions (Comments, Post Submissions) to Prevent Abuse in Laravel
Rate limiting is a crucial measure to prevent abuse, spam, or overloading your application with too many requests. In Laravel, implementing rate limiting for user actions like comments and post submissions is straightforward thanks to Laravel's built…
By Nguyen Thi Thao | Dec 09, 2024
Comprehensive Tutorial on PHP Intelephense
PHP Intelephense is a powerful extension for Visual Studio Code that provides advanced features for PHP development, such as syntax highlighting, code completion, error reporting, and more. This tutorial will guide you through the process of installi…
By Junaid Bin Jaman | Dec 10, 2024
Code Smell 283 – Unresolved Meta Tags
TL;DR: Incomplete or null meta tags break functionality and user experience.
Problems
Tags appear in output
Email texts include placeholders between human-readable text
Missed placeholders confuse users
Websites are rendered with strange characters…
By Maxi Contieri | Dec 10, 2024
What is Laravel Development and Why Should You Select Laravel for Your Next Project?
In today’s fast-paced digital world, developing robust, scalable, and high-performing web applications is a priority for businesses across all industries. The key to creating such applications lies in selecting the right framework—one that enables fa…
By John Smith | Dec 11, 2024
AWS – Connecting to an RDS Instance from a Web server
Recently, I conducted a hands-on session on connecting to an AWS RDS instance remotely from a web server on an EC2 instance. I gained some valuable experience from this exercise. All the steps in this session were sourced from docs.aws.amazon.com.
S…
By Obioma Osuagwu | Dec 11, 2024
Building a Laravel Post Project: Adding Categories and Products
In this guide, we will enhance our Laravel post project by adding functionality for categories and products. Follow the steps below to implement this feature step by step.
Step 1: Create Models and Migrations for Category and Product
First, create t…
By Programmer Telo | Dec 11, 2024
apache+php 无法获取 header 的Authorization数据
原因和解决办法
换了新的电脑,装了最新版的 MAMP ,一切都是非常新,出现了一个诡异的 bug:`$_SERVER['HTTP_AUTHORIZATION']` 竟然只有这个Authorization无法获取到参数。
环境:Apache ,**采用 fastcgi 模式**,php 7.4。
结论是:没有开启CGIPassAuth on。修改 httpd.conf
<IfModule mod_fastcgi.c>
<Directory "/Applications/MAMP/fcgi-…
By Jayin Taung | Dec 11, 2024
API Design and Development: A Reference for Building Robust and Scalable Systems
In the digital age, APIs (Application Programming Interfaces) have become the backbone of modern software development. They are the invisible threads that connect applications, enabling seamless communication and integration across diverse systems. F…
By Ahmad W Khan | Dec 11, 2024
Unlock the Power of PHP: A Power Packed Resource Insights
Hey, PHP enthusiasts! Whether you're starting out or looking to polish your skills, this edition has everything you need to boost your backend development journey. From understanding PHP variables to mastering arrays and conditionals, we’ve got it al…
By Manan Raj | Dec 12, 2024
A Comprehensive Guide to Popular PHPUnit Assertions
Assertions are the backbone of any testing framework, and PHPUnit is no exception. In PHPUnit, assertions are methods used to verify that the behavior of the code under test meets expectations. Understanding and using the right assertions is crucial …
By Junaid Bin Jaman | Dec 12, 2024
Streamline Role-Based Access Control with Spatie Laravel Permission
In today's application development landscape, Role-Based Access Control (RBAC) has become a standard feature in most modern applications. If you're a Laravel developer, implementing RBAC is straightforward, thanks to the Spatie Permission package. Th…
By Devapraveen | Dec 14, 2024
The easy way to setup macOS for Laravel app development
Introduction
In this article, I'll guide you through setting up macOS for Laravel application development. Whether you're a beginner or an experienced developer, you'll find tips on how to build Laravel application using macOS and boost productivity….
By Alemoh Rapheal Baja | Dec 14, 2024
#Mastering Laravel
Why we like stopOnFailure in our test suite
Changing the defaults for a better developer experience
By Joel Clermont | Dec 09, 2024
Eliminate redundant defaults in your PHPUnit configuration
Focus on what matters
By Joel Clermont | Dec 10, 2024
Why is this GitHub Action running on the wrong branch?
Read the docs very closely
By Joel Clermont | Dec 11, 2024
Understand multi-line commands in GitHub Actions
Evaluation may not always be what you expect
By Joel Clermont | Dec 12, 2024
Step debugging in GitHub Actions
When echoing everything doesn't help
By Joel Clermont | Dec 13, 2024
#Securing Laravel
Security Tip: Please Stop Hardcoding Admin Domains!
[Tip #99] Let me tell you a story about a time when a single missing character allowed me to escalate my privileges and gain admin access, despite all the protections designed to stop me! 😈
By Stephen Rees-Carter | Dec 11, 2024
#Dev.to
🚨High-Severity Laravel Vulnerability (CVE-2024-52301) – Awareness and Action Required
#laravel #vulnerabilities #security #awareness
By Sanchita Paul | Dec 09, 2024
Running Joomla Task Scheduler tasks from the console (CLI)
#joomla #php #cli #webdev
By Sergey Tolkachyov | Dec 09, 2024
5 Ways to Optimize Symfony Application Performance
#symfony #php #webdev #devops
By Valerio | Dec 09, 2024
Automating Code Refactoring in Laravel with Rector
#refactorit #laravel
By Nasrul Hazim Bin Mohamad | Dec 09, 2024
Real-Time Notifications with Server-Sent Events (SSE) in Laravel and Vue.js
#webdev #tutorial #laravel #javascript
By Ayowande Oluwatosin | Dec 09, 2024
Laravel: autentifikačný package JetStream a odosielanie verifikačného mailu
#laravel #jetstream
By Juraj Chovan | Dec 09, 2024
PHP HyperF -> Firebase JWT
#php #hyperf #firebase #jwt
By Thiago Silva | Dec 09, 2024
Creating WordPress plugin options based on a JSON structure
#wordpress #webdev #php
By Morten Hartvig | Dec 09, 2024
My thoughts on the Url::defaults method
#php #laravel
By david duymelinck | Dec 10, 2024
3152. Special Array II
#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Dec 10, 2024
The Importance of Minimizing Database Queries in Backend Development
#webdev #laravel #php #sql
By Yasser Elgammal | Dec 10, 2024
How to Fix the Target Class Does Not Exist Error in Laravel
#php #laravel #webdev #problemsolve
By Wahid | Dec 10, 2024
CRUD PHP e MySQL e API e Fundamentos importantes
#php #mysql #api
By Brayan Monteiro | Dec 10, 2024
Preventing XML External Entity (XXE) Injection in Laravel Applications
#cybersecurity #vulnerabilities #laravel #security
By Pentest Testing Corp | Dec 10, 2024
Getting the current user's object – Current User Trait in Joomla 4.2+
#joomla #php #webdev #development
By Sergey Tolkachyov | Dec 10, 2024
Community Website Creation
#webdev #php
By Rafael Pinto | Dec 10, 2024
CRUD Simples Utilizando PHP + MySql + Bootstrap 4
#php #mysql
By Brayan Monteiro | Dec 10, 2024
2981. Find Longest Special Substring That Occurs Thrice I
#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Dec 10, 2024
Code Smell 283 – Unresolved Meta Tags
#webdev #programming #beginners #php
By Maxi Contieri | Dec 11, 2024
What is Laravel Development and Why Should You Select Laravel for Your Next Project?
#laravel #laraveldevelopment #laravelframework
By John Smith | Dec 11, 2024
Writing high quality tests
#testing #php #javascript #react
By Daniel Rotter | Dec 11, 2024
Implementing Infinite Scrolling with Laravel, Inertia.js v2.0, and Vue 3
#laravel #vue #inertiajs #javascript
By Bilal Haidar | Dec 11, 2024
Por que essa vulnerabilidade existe? CVE-2024-11205 (WPForms)
#wordpress #ciberseguranca #cve #php
By Bolha Sec | Dec 11, 2024
Running WordPress locally on your computer
#wordpress #php #tutorial #beginners
By Sospeter Mong'are | Dec 11, 2024
Guide to PHP 8.4 new DOM Selector Feature
#php
By Scrapfly | Dec 10, 2024
Data Encryption and Decryption in Laravel
#laravel #encryption #security #php
By Anas Hussain | Dec 11, 2024
2779. Maximum Beauty of an Array After Applying Operation
#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Dec 11, 2024
PHP 8.4 is here ⚡️upgrade your projects today!
#php #webdev #devops #cloud
By Celeste van der Watt | Dec 11, 2024
Prevent Directory Traversal in Laravel: Expert Guide
#cybersecurity #vulnerabilities #laravel #security
By Pentest Testing Corp | Dec 12, 2024
2558. Take Gifts From the Richest Pile
#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Dec 12, 2024
Small Forms 1.7.0
#php #showdev
By sebk69 | Dec 13, 2024
2593. Find Score of an Array After Marking All Elements
#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Dec 13, 2024
Introducing PlanMilT: A Tactical Military Planning Tool
#webdev #javascript #beginners #php
By Joao Marcos Barbosa Oliveira | Dec 13, 2024
JSON for Biggners
#json #javascript #php #laravel
By Ahmedraza Fyntune | Dec 13, 2024
Instalando Symfony 7.2 na Hostinger (Shared Server)
#tutorial #devops #webdev #php
By Raziel Rodrigues | Dec 13, 2024
2762. Continuous Subarrays
#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Dec 14, 2024
PHP Design Patterns: Page Controller
#php #designpatterns
By Antonio Silva | Dec 15, 2024
Mastering Laravel Blade: @stack, @push, and @endpush
#laravel #bladetemplates #webdev #cleancode
By H.M Tharindu Madubashana | Dec 15, 2024
Top 5 Design Patterns Every Software Engineer Should Know
#php #designpatterns #designsystem #webdev
By Mhammed Talhaouy | Dec 15, 2024
1792. Maximum Average Pass Ratio
#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Dec 15, 2024
#Amit Merchant
Fluent Request Data Handling in Laravel
Managing request data just got smoother in Laravel. The new fluent() method on the Request class lets you handle input data with grace, providing null-safe access and enhanced transportability.Basic UsageTransform your request data into a fluent instance:/** @var Illuminate\Http\Request $request */$data = $request->fluent();// Access properties
By Harris Raftopoulos | Dec 09, 2024
Convert Numbers to Ordinal Words in Laravel
Need to spell out ordinal numbers in your Laravel app? The Number::spellOrdinal method provides a convenient way to convert numeric values into their ordinal word form.Basic UsageConvert numbers to ordinal words easily:use Illuminate\Support\Number;$title = 'The ' . Number::spellOrdinal(40) . ' president';// Result:
By Harris Raftopoulos | Dec 10, 2024
Testing Deferred Operations in Laravel
Testing deferred operations in Laravel just got easier. The new withoutDefer() and withDefer() test helpers allow you to control when deferred functions execute during your tests.Basic UsageControl deferred execution in your tests:// Without control – deferred operations won't execute immediatelyUser::create(['name' =>
By Harris Raftopoulos | Dec 11, 2024
Custom String IDs in Laravel Models: A New Approach
Need to use custom unique identifiers in your Laravel models? The refactored HasUniqueStringIds trait provides a clean way to implement custom string IDs without overriding route binding queries.Basic UsageCreate your custom ID trait:trait HasTwrnsTrait{ use HasUniqueStringIds; public function newUniqueId() { return (string) Twrn::new(); } protected function isValidUniqueId($value)
By Harris Raftopoulos | Dec 12, 2024
Using Backed Enums with Laravel Authorization
Simplify authorization in Laravel with direct enum support. The updated AuthorizesRequests trait now accepts backed enums without requiring the ->value accessor.Basic UsageDefine and use your permission enums directly:enum DashboardPermission: string{ case VIEW = 'dashboard.view'; case EDIT = 'dashboard.edit'; case MANAGE = '
By Harris Raftopoulos | Dec 13, 2024
#IT Solution Stuff
How to Convert an Array into Object in Laravel?
in this post, I will show you simple example of how to convert an array to object in php laravel application.
In this example, we convert an array into an object using PHP's `(object)` typecasting. T…..
#Laravel
By Hardik Savani | Dec 09, 2024
How to Schedule Laravel Cron Job Based on Timezone?
In this post, I will show you how to schedule command based on timezone in laravel application.
By default, Laravel's scheduled commands use the timezone specified in the application configuration fi…..
#Laravel
By Hardik Savani | Dec 11, 2024
How to Generate Avatar Image for User in Laravel?
In this post, I will show you how to create dynamic user avatar in laravel application.
User avatars are a great way to add a personal touch to user profiles in web applications. In this tutorial, we…..
#Laravel
By Hardik Savani | Dec 13, 2024
#Harris Raftopoulos
Native URI manipulation in Laravel
A URI (Uniform Resource Identifier) is a string of characters that uniquely identifies a resource on the internet or a local network. It provides a way to locate or reference resources such as web pages, files, images, or services.
By Amit Merchant | Dec 12, 2024