How well do you know PHP?
I've created a PHP quiz with over 500+ questions. This started out as an attempt to compile interview questions. It evolved into a comprehensive coverage of PHP from beginner to more advanced topics. I've tried to make sure most relevant topics in PHP are covered.
Answers have been double checked but if you come across an answer you're unsure of, please let me know. Enjoy!
PHP Quiz
Edit: I've seen the feedback that there are questions here that are not strictly PHP, questions on server setup etc. I'll add a filter to remove these.
https://redd.it/1p1k35f
@r_php
I've created a PHP quiz with over 500+ questions. This started out as an attempt to compile interview questions. It evolved into a comprehensive coverage of PHP from beginner to more advanced topics. I've tried to make sure most relevant topics in PHP are covered.
Answers have been double checked but if you come across an answer you're unsure of, please let me know. Enjoy!
PHP Quiz
Edit: I've seen the feedback that there are questions here that are not strictly PHP, questions on server setup etc. I'll add a filter to remove these.
https://redd.it/1p1k35f
@r_php
Automate job applications with Applyre AI
Applyre uses AI to search and apply for jobs automatically for you. Applyre will tailor your resume to each job that matches your preferences
Do you write acceptance tests, and if so, what do you use?
We've been using Behat (and its associated language, Gherkin) since like day 1. I've been meaning to check this area of the PHP ecosystem out again and wondering what y'all are using, if you are indeed using them? Do you use behat, or PHPSpec, or some other layer for that?
https://redd.it/1p1upnw
@r_php
We've been using Behat (and its associated language, Gherkin) since like day 1. I've been meaning to check this area of the PHP ecosystem out again and wondering what y'all are using, if you are indeed using them? Do you use behat, or PHPSpec, or some other layer for that?
https://redd.it/1p1upnw
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Built a Self-Refining Content Agent that removes the manual feedback loop
Ever had this experience? You prompt an AI to write something, get back "meh" content, revise your prompt, get feedback, ask for revisions, and repeat. You basically become a supervisor doing the AI's QA work.
What if that process was automated?
Two agents, separate roles. One writes content, one reviews it against your specific rules and gives scored feedback. They loop until the output hits your quality threshold.
How it works:
Your topic/prompt → Writer Agent (creates based on your rules) → Reviewer Agent (scores against rules) → Score >= 85? Done. If not, loop with feedback.
We just published a full tutorial with code examples and real-world implementation tips for Laravel.
If you're working with AI agents or exploring automation patterns, this one's worth stealing for your own work.
Edit: Link in comments
https://redd.it/1p22w1i
@r_php
Ever had this experience? You prompt an AI to write something, get back "meh" content, revise your prompt, get feedback, ask for revisions, and repeat. You basically become a supervisor doing the AI's QA work.
What if that process was automated?
Two agents, separate roles. One writes content, one reviews it against your specific rules and gives scored feedback. They loop until the output hits your quality threshold.
How it works:
Your topic/prompt → Writer Agent (creates based on your rules) → Reviewer Agent (scores against rules) → Score >= 85? Done. If not, loop with feedback.
We just published a full tutorial with code examples and real-world implementation tips for Laravel.
If you're working with AI agents or exploring automation patterns, this one's worth stealing for your own work.
Edit: Link in comments
https://redd.it/1p22w1i
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
serversideup/php v4 Now Shipping FrankenPHP & Laravel Octane (more in comments)
https://serversideup.net/open-source/docker-php/
https://redd.it/1p249tz
@r_php
https://serversideup.net/open-source/docker-php/
https://redd.it/1p249tz
@r_php
PHP Docker Images (serversideup/php)
Production-ready PHP Docker images for Laravel, WordPress, and more.
Asynchronous Processing: Practices, Use Cases, and Recovery Strategies
https://medium.com/@dariuszgafka/async-failure-recovery-queue-vs-streaming-channel-strategies-d038165a42dd
https://redd.it/1p27unc
@r_php
https://medium.com/@dariuszgafka/async-failure-recovery-queue-vs-streaming-channel-strategies-d038165a42dd
https://redd.it/1p27unc
@r_php
Medium
Async Failure Recovery: Queue vs Streaming Channel Strategies
Master failure recovery for queues and streams. Learn when each strategy works and why. Build message-driven systems that self-heal.
SymfonyCon Amsterdam 2025: Semantic Search: From Keywords to Intent with Symfony AI
https://symfony.com/blog/symfonycon-amsterdam-2025-semantic-search-from-keywords-to-intent-with-symfony-ai?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1p29vtj
@r_php
https://symfony.com/blog/symfonycon-amsterdam-2025-semantic-search-from-keywords-to-intent-with-symfony-ai?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1p29vtj
@r_php
Symfony
SymfonyCon Amsterdam 2025: Semantic Search: From Keywords to Intent with Symfony AI (Symfony Blog)
Learn how to go beyond keywords! In “Semantic Search: From Keywords to Intent with Symfony AI”, Stiven Llupa, Senior Development Lead at SensioLabs Deutschland, explains how to leverage RAG approa…
Asynchronous Processing: Practices, Use Cases, and Recovery Strategies
https://medium.com/@dariuszgafka/async-failure-recovery-queue-vs-streaming-channel-strategies-d038165a42dd
https://redd.it/1p27u7y
@r_php
https://medium.com/@dariuszgafka/async-failure-recovery-queue-vs-streaming-channel-strategies-d038165a42dd
https://redd.it/1p27u7y
@r_php
Medium
Async Failure Recovery: Queue vs Streaming Channel Strategies
Master failure recovery for queues and streams. Learn when each strategy works and why. Build message-driven systems that self-heal.
How to run SQL queries based only on form filled parts?
Let's say I have a form, with different inputs like text field, dropdown list and datepicker, how can I make it so that it only queries those inputs which are not empty?
Do I check the input value with isset() and based on that run some SQL which is then concatenated to the "main" query?
What is even the correct term for this type of action so I can search and study it more?
https://redd.it/1p2du73
@r_php
Let's say I have a form, with different inputs like text field, dropdown list and datepicker, how can I make it so that it only queries those inputs which are not empty?
Do I check the input value with isset() and based on that run some SQL which is then concatenated to the "main" query?
What is even the correct term for this type of action so I can search and study it more?
https://redd.it/1p2du73
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Partial function application vote just started
https://externals.io/message/129349
https://redd.it/1p2r5sf
@r_php
https://externals.io/message/129349
https://redd.it/1p2r5sf
@r_php
externals.io
[Vote] Partial Function Application v2 - Externals
#externals - Opening PHP's #internals to the outside
Digital marketer here — curious about how PHP is evolving in 2025
I’m not a PHP developer, but I work in digital marketing and handle a lot of websites built on PHP (WordPress, custom CMS, etc.). I’m trying to understand how PHP is evolving in 2025 so I can plan better for performance, security, and SEO.
Not asking for coding help — just interested in the community’s insights on:
How PHP development has changed recently
What modern practices or versions matter most for long-term site health
Whether PHP 8+ gives any real-world speed or stability improvements
Anything marketers should know when working with PHP-based websites
Would love to hear your thoughts from a developer’s point of view.
https://redd.it/1p2s0z7
@r_php
I’m not a PHP developer, but I work in digital marketing and handle a lot of websites built on PHP (WordPress, custom CMS, etc.). I’m trying to understand how PHP is evolving in 2025 so I can plan better for performance, security, and SEO.
Not asking for coding help — just interested in the community’s insights on:
How PHP development has changed recently
What modern practices or versions matter most for long-term site health
Whether PHP 8+ gives any real-world speed or stability improvements
Anything marketers should know when working with PHP-based websites
Would love to hear your thoughts from a developer’s point of view.
https://redd.it/1p2s0z7
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
New in Symfony 7.4: Misc. Features (Part 1)
https://symfony.com/blog/new-in-symfony-7-4-misc-features-part-1?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1p2toqt
@r_php
https://symfony.com/blog/new-in-symfony-7-4-misc-features-part-1?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1p2toqt
@r_php
Symfony
New in Symfony 7.4: Misc. Features (Part 1) (Symfony Blog)
Symfony 7.4 introduces faster native HTML5 parsing, more flexible URL validation, improved Link header handling, support for the HTTP QUERY method, and easier configuration of resource tags.
JoliMediaBundle, a new media bundle for your Symfony projects
https://jolicode.com/blog/jolimediabundle-a-new-media-bundle-for-your-symfony-projects
https://redd.it/1p2uytl
@r_php
https://jolicode.com/blog/jolimediabundle-a-new-media-bundle-for-your-symfony-projects
https://redd.it/1p2uytl
@r_php
JoliCode
JoliMediaBundle, a new media bundle for your Symfony projects
This is a short story that begins in early 2025 when, while proofreading an article we were about to publish on the JoliCode blog, I noticed an image with rather questionable graphic quality.
I made a simple PHP CMS for my static sites - might be useful for someone
Hey everyone! I'm sharing a small project I've been using for my freelance work. It's far from perfect, but it solves my specific problems, so maybe it could help someone else too.
My situation:
I build static, multilingual sites for small clients who rarely update content. WordPress always felt too heavy, and headless CMSs meant dealing with third-party services. I work mostly with PHP hosting and wanted something dead simple.
What I made:
A lightweight CMS that stores everything in a single JSON file (I know, not ideal, but works fine for small sites with a single admin). It has a Vue-inspired syntax for templates:
There's also a basic admin panel for editing content - though I'll be honest, that part was mostly generated by Gemini 3 and needs work.
It's been working well enough for my projects, so I figured someone else might find it useful. It's not groundbreaking, just a tool that fits a specific niche.
GitHub: https://github.com/fellarrusto/kris-cms
Feel free to use it, fork it, or tell me what's broken. No expectations, just putting it out there.
https://redd.it/1p2zovw
@r_php
Hey everyone! I'm sharing a small project I've been using for my freelance work. It's far from perfect, but it solves my specific problems, so maybe it could help someone else too.
My situation:
I build static, multilingual sites for small clients who rarely update content. WordPress always felt too heavy, and headless CMSs meant dealing with third-party services. I work mostly with PHP hosting and wanted something dead simple.
What I made:
A lightweight CMS that stores everything in a single JSON file (I know, not ideal, but works fine for small sites with a single admin). It has a Vue-inspired syntax for templates:
<h1>{{page\_noscript}}</h1>{{#if language == "en"}}<p>Welcome!</p>{{/if}}There's also a basic admin panel for editing content - though I'll be honest, that part was mostly generated by Gemini 3 and needs work.
It's been working well enough for my projects, so I figured someone else might find it useful. It's not groundbreaking, just a tool that fits a specific niche.
GitHub: https://github.com/fellarrusto/kris-cms
Feel free to use it, fork it, or tell me what's broken. No expectations, just putting it out there.
https://redd.it/1p2zovw
@r_php
GitHub
GitHub - fellarrusto/kris-cms
Contribute to fellarrusto/kris-cms development by creating an account on GitHub.
Laravel Cloud + Cloudflare: Could a Huge DDoS Attack Cause Massive Bandwidth Charges?
We’ve been using Laravel Cloud for a few new client projects and, overall, we’re really happy with it. The deployment workflow is great, the zero-management approach is ideal for our smaller clients, and the CDN performance has been solid. Bandwidth pricing initially worried people when Laravel Cloud launched, but the changes made earlier this year seem to have fixed the biggest pain points, we haven’t seen anything scary on our invoices, and costs have been very manageable so far.
That said, our priority is cost control over uptime. These aren’t mission-critical systems. We want the benefits of the CDN and the streamlined developer experience, but if traffic goes completely crazy, we’d rather see the site fail than suddenly be on the hook for an unexpected bill.
Our apps typically scale to somewhere between 1–4 replicas, and even hitting 4 has never happened. Redis and MySQL are fixed-size, so the system naturally caps itself, this is intentional. Beyond normal usage we’re fine with it falling over.
Like everyone else, we got hit by the Cloudflare outage last week. It sent me down a rabbit hole reading Cloudflare’s blog posts, which led me to the article where they blocked a 7.3 Tbps DDoS attack — “37.4 TB delivered in 45 seconds.”
That number really stuck with me.
So here’s my question: What would actually happen if something like that hit a Laravel Cloud site?
Laravel Cloud sits behind Cloudflare, but Cloudflare isn’t physically inside the Laravel Cloud infrastructure, so even if most malicious traffic is filtered, what about the small percentage that gets through? With bandwidth at $0.10/GB, even a tiny leak from an attack that big could turn into a serious billing problem for a small client.
I know the chance is low, but DDoS attacks are rising (I remember seeing something like 200% year-on-year growth), so it doesn’t feel like a pure theoretical risk anymore.
I’m trying to understand realistically:
Would Cloudflare manage to block the bulk of this traffic?
I imagine a measurable volume would get through?
I asusme Laravel Cloud doesn't reimburse DDoS-triggered bandwidth charges if the attack somehow bypasses Cloudflare layers?
Is this something Laravel Cloud users should overly concerned about?
We’ve even considered adding a Cloudflare rule that just blocks the entire site once it hits a daily traffic threshold, basically a kill-switch to cap the worst-case bill. But that requires upgrading to get extra rule capacity, and I’m not sure if it’s overkill or totally unnecessary. Could we put our own CloudFlare Proxy in front of Laravel Cloud?
Would love to hear from anyone using Laravel Cloud in production or anyone who understands Cloudflare’s behavior at this scale.
https://redd.it/1p3rr1h
@r_php
We’ve been using Laravel Cloud for a few new client projects and, overall, we’re really happy with it. The deployment workflow is great, the zero-management approach is ideal for our smaller clients, and the CDN performance has been solid. Bandwidth pricing initially worried people when Laravel Cloud launched, but the changes made earlier this year seem to have fixed the biggest pain points, we haven’t seen anything scary on our invoices, and costs have been very manageable so far.
That said, our priority is cost control over uptime. These aren’t mission-critical systems. We want the benefits of the CDN and the streamlined developer experience, but if traffic goes completely crazy, we’d rather see the site fail than suddenly be on the hook for an unexpected bill.
Our apps typically scale to somewhere between 1–4 replicas, and even hitting 4 has never happened. Redis and MySQL are fixed-size, so the system naturally caps itself, this is intentional. Beyond normal usage we’re fine with it falling over.
Like everyone else, we got hit by the Cloudflare outage last week. It sent me down a rabbit hole reading Cloudflare’s blog posts, which led me to the article where they blocked a 7.3 Tbps DDoS attack — “37.4 TB delivered in 45 seconds.”
That number really stuck with me.
So here’s my question: What would actually happen if something like that hit a Laravel Cloud site?
Laravel Cloud sits behind Cloudflare, but Cloudflare isn’t physically inside the Laravel Cloud infrastructure, so even if most malicious traffic is filtered, what about the small percentage that gets through? With bandwidth at $0.10/GB, even a tiny leak from an attack that big could turn into a serious billing problem for a small client.
I know the chance is low, but DDoS attacks are rising (I remember seeing something like 200% year-on-year growth), so it doesn’t feel like a pure theoretical risk anymore.
I’m trying to understand realistically:
Would Cloudflare manage to block the bulk of this traffic?
I imagine a measurable volume would get through?
I asusme Laravel Cloud doesn't reimburse DDoS-triggered bandwidth charges if the attack somehow bypasses Cloudflare layers?
Is this something Laravel Cloud users should overly concerned about?
We’ve even considered adding a Cloudflare rule that just blocks the entire site once it hits a daily traffic threshold, basically a kill-switch to cap the worst-case bill. But that requires upgrading to get extra rule capacity, and I’m not sure if it’s overkill or totally unnecessary. Could we put our own CloudFlare Proxy in front of Laravel Cloud?
Would love to hear from anyone using Laravel Cloud in production or anyone who understands Cloudflare’s behavior at this scale.
https://redd.it/1p3rr1h
@r_php
The Cloudflare Blog
Defending the Internet: How Cloudflare blocked a monumental 7.3 Tbps DDoS attack
In mid-May 2025, blocked the largest DDoS attack ever recorded: a staggering 7.3 terabits per second (Tbps).
PHP + Usernoscript
Anybody built centralized mturk catcher with PHP + Usernoscript?
I am looking for the solution to catch the hit in mturk automatically from the centralized server.
https://redd.it/1p3qtv1
@r_php
Anybody built centralized mturk catcher with PHP + Usernoscript?
I am looking for the solution to catch the hit in mturk automatically from the centralized server.
https://redd.it/1p3qtv1
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community