Weekly Ask Anything Thread
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1nt7i7r
@r_php
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1nt7i7r
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Weekly help thread
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1ntad7n
@r_php
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1ntad7n
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Parquet file format
Hey!
I wrote a new blog post about Parquet file format
based on my experience from implementing it in PHP https://norbert.tech/blog/2025-09-20/parquet-introduction/
https://redd.it/1ntcl6g
@r_php
Hey!
I wrote a new blog post about Parquet file format
based on my experience from implementing it in PHP https://norbert.tech/blog/2025-09-20/parquet-introduction/
https://redd.it/1ntcl6g
@r_php
norbert.tech
Parquet - Introduction
Complete guide to Apache Parquet - the binary, columnar file format. Learn how to achieve 10x smaller files, use metadata for lightning-fast filtering, understand Row Groups and Data Pages structure, and explore advanced features like encryption and Dremel…
Audio Support Lands in PHP-GLFW, better late than never..
https://github.com/mario-deluna/php-glfw/releases
https://redd.it/1ntgjxo
@r_php
https://github.com/mario-deluna/php-glfw/releases
https://redd.it/1ntgjxo
@r_php
GitHub
Releases · mario-deluna/php-glfw
🪐A fully-featured OpenGL and GLFW extension for PHP. 🔋Batteries included (Math Functions, Texture Loaders, etc..) - mario-deluna/php-glfw
An Isomorphic Blue-Green Deployment Starting from Your Source Code—Not from Your Prebuilt Docker Image
https://github.com/patternhelloworld/docker-blue-green-runner?tab=readme-ov-file#1-git_image_load_fromfile-strategy-without-docker-registry
https://redd.it/1ntku7g
@r_php
https://github.com/patternhelloworld/docker-blue-green-runner?tab=readme-ov-file#1-git_image_load_fromfile-strategy-without-docker-registry
https://redd.it/1ntku7g
@r_php
GitHub
GitHub - patternhelloworld/docker-blue-green-runner: By simply configuring the .env file, a safe isomorphic Blue-Green Deployment…
By simply configuring the .env file, a safe isomorphic Blue-Green Deployment is instantly set up. - patternhelloworld/docker-blue-green-runner
Commands and Jobs
Hi everyone,
Imagine the scenario:
User has a button that will perform a heavy lifting task. My approach ? Create a Job for this.
This task will also have a schedule command because needs to run everyday for each client that we have. Business logic for this task is on a service. Should i call on the command the service function or dispatch the job?
Thanks
https://redd.it/1ntp6ap
@r_php
Hi everyone,
Imagine the scenario:
User has a button that will perform a heavy lifting task. My approach ? Create a Job for this.
This task will also have a schedule command because needs to run everyday for each client that we have. Business logic for this task is on a service. Should i call on the command the service function or dispatch the job?
Thanks
https://redd.it/1ntp6ap
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
A new PHP Job Board
# I launched a new PHP Job Board for high quality PHP Jobs. Recruiters and Developers do consider joining. First 100 verified recruiters get to post a job for free!
https://redd.it/1nu7yow
@r_php
# I launched a new PHP Job Board for high quality PHP Jobs. Recruiters and Developers do consider joining. First 100 verified recruiters get to post a job for free!
https://redd.it/1nu7yow
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Where can I find a collection of custom built PHP functions?
I know PHP alone has so many built-in functions, but I wonder if there are free custom built-in PHP functions for any web app to use.
When I do search on Google I have found only for WordPress.
Eg, in my web app the below code is used to truncate a long string and add ....
This has been used in whole web app as a string truncator in to what exactly I want from.
And here another custom built-in function from my web app:
Is there a collection or repository of custom-built PHP functions for anyone to use?
Also, nowadays, are custom-built functions like the above still valuable to others? If I share mine on GitHub, would it help? Sometimes it feels like I'm one of the few developers still messing with custom PHP codes.
https://redd.it/1nuav7x
@r_php
I know PHP alone has so many built-in functions, but I wonder if there are free custom built-in PHP functions for any web app to use.
When I do search on Google I have found only for WordPress.
Eg, in my web app the below code is used to truncate a long string and add ....
function cutString($cutString, $numberToCut){if(mb_strlen($cutString, 'UTF-8') > $numberToCut){ // If the String has more than X characters then show ...return mb_substr($cutString, 0, $numberToCut, 'UTF-8').'...';}else{return $cutString;}}This has been used in whole web app as a string truncator in to what exactly I want from.
And here another custom built-in function from my web app:
function getDomain($url) {$host = parse_url($url, PHP_URL_HOST);if ($host) {// length validation + expanded TLD patternspreg_match('/([a-z0-9\-]{1,63}\.(?:[a-z]{2,63}|[a-z]{2}\.[a-z]{2}|[a-z]{3}\.[a-z]{2}))$/i', $host, $matches);return $matches[1] ?? $host;}else{return null;}}Is there a collection or repository of custom-built PHP functions for anyone to use?
Also, nowadays, are custom-built functions like the above still valuable to others? If I share mine on GitHub, would it help? Sometimes it feels like I'm one of the few developers still messing with custom PHP codes.
https://redd.it/1nuav7x
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Filament plugin to retry and prune failed jobs
https://github.com/srinathreddydudi/failed-jobs
https://redd.it/1nucml9
@r_php
https://github.com/srinathreddydudi/failed-jobs
https://redd.it/1nucml9
@r_php
GitHub
GitHub - srinathreddydudi/failed-jobs: A filament plugin to easily retry and prune failed jobs
A filament plugin to easily retry and prune failed jobs - srinathreddydudi/failed-jobs
Multi-Agent workflow running into a Laravel application
https://github.com/neuron-core/laravel-travel-agent
https://redd.it/1nucmju
@r_php
https://github.com/neuron-core/laravel-travel-agent
https://redd.it/1nucmju
@r_php
GitHub
GitHub - neuron-core/laravel-travel-agent: Multi-Agent workflow running into a Laravel application with Neuron PHP AI framework
Multi-Agent workflow running into a Laravel application with Neuron PHP AI framework - neuron-core/laravel-travel-agent
SymfonyCon Amsterdam 2025: Unleash the Power of Symfony Messenger
https://symfony.com/blog/symfonycon-amsterdam-2025-unleash-the-power-of-symfony-messenger?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1nufbsl
@r_php
https://symfony.com/blog/symfonycon-amsterdam-2025-unleash-the-power-of-symfony-messenger?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1nufbsl
@r_php
Symfony
SymfonyCon Amsterdam 2025: Unleash the Power of Symfony Messenger (Symfony Blog)
📬 Master Symfony Messenger. Join Kris Wallsmith to explore advanced patterns—multiple buses, tracing, chaining, batching—and take your Messenger skills to the next leve
Is it possible to find a job or an internship that's not paid as a junior PHP dev?
Hello everyone, Im 20 years old and I am in that stage where I dont know if i should pursue something, in my case being a web dev. I have a few projects, a PHP Hospital Management System, a local platform for agriculture companies in MCV and OOP PHP, a webshop in Node and a group project carpooling app in Node as well and im planning on doing more real world applications, apps that in theory could solve real world problems. During these four years, I did a lot of WordPress work, which inlcuded redesigning themes, incorporating plugins, css and JS corrections, tranlsating pages etc. Some languages i have extensive knowledge in are PHP, JavaScript, Node, Java, Express, SQL and a bit ot C#. So i was wondering if its possible to find an unpaid internship or perhaps a lower paid job, as im not aiming to get a six figure job. Any advice on what to do, what to focus on or where to find an internship or a job in Europe or US remote? Thank you in advance.
https://redd.it/1nuewpr
@r_php
Hello everyone, Im 20 years old and I am in that stage where I dont know if i should pursue something, in my case being a web dev. I have a few projects, a PHP Hospital Management System, a local platform for agriculture companies in MCV and OOP PHP, a webshop in Node and a group project carpooling app in Node as well and im planning on doing more real world applications, apps that in theory could solve real world problems. During these four years, I did a lot of WordPress work, which inlcuded redesigning themes, incorporating plugins, css and JS corrections, tranlsating pages etc. Some languages i have extensive knowledge in are PHP, JavaScript, Node, Java, Express, SQL and a bit ot C#. So i was wondering if its possible to find an unpaid internship or perhaps a lower paid job, as im not aiming to get a six figure job. Any advice on what to do, what to focus on or where to find an internship or a job in Europe or US remote? Thank you in advance.
https://redd.it/1nuewpr
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Anyone has a working example of google ads API in php to share?
I'm trying to get it to work with the google ads library but it keeps installing older versions and I'm lost, the authentication is a pain in the ass also. Anyone care to share a working version of it if you have it?
https://redd.it/1nuk7lf
@r_php
I'm trying to get it to work with the google ads library but it keeps installing older versions and I'm lost, the authentication is a pain in the ass also. Anyone care to share a working version of it if you have it?
https://redd.it/1nuk7lf
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Ben Eater's 6502 Breadboard Computer in PHP
Inspired by Ben Eater creating a 6502 based computer on a breadboard, I decided to try to virtualize the project using PHP.
https://github.com/andrewthecodertx/6502-Virtual-Computer/
https://redd.it/1nuul78
@r_php
Inspired by Ben Eater creating a 6502 based computer on a breadboard, I decided to try to virtualize the project using PHP.
https://github.com/andrewthecodertx/6502-Virtual-Computer/
https://redd.it/1nuul78
@r_php
GitHub
GitHub - andrewthecodertx/6502-Virtual-Computer: 6502 emulator with a working version of Wozmon.
6502 emulator with a working version of Wozmon. Contribute to andrewthecodertx/6502-Virtual-Computer development by creating an account on GitHub.
PHP Radix Tree Generator: Generate PHP code for a Radix Tree for a static set of data
https://github.com/samlitowitz/php-radix-tree-generator
https://redd.it/1nv34jl
@r_php
https://github.com/samlitowitz/php-radix-tree-generator
https://redd.it/1nv34jl
@r_php
GitHub
GitHub - samlitowitz/php-radix-tree-generator: Generate PHP code for a Radix Tree for a static set of data
Generate PHP code for a Radix Tree for a static set of data - samlitowitz/php-radix-tree-generator
Bring modern, trustworthy product reviews to your Laravel project without reinventing the wheel.
https://medium.com/@epmadushanka/introduction-to-truereviewer-a-product-review-package-for-laravel-7b3c8f30a85a
https://redd.it/1nv4ald
@r_php
https://medium.com/@epmadushanka/introduction-to-truereviewer-a-product-review-package-for-laravel-7b3c8f30a85a
https://redd.it/1nv4ald
@r_php
Medium
Introduction to TrueReviewer: A Product Review Package for Laravel 🚀
Save weeks of development with a ready-to-use, customizable review package for Laravel apps.
How I stopped wasting time hunting requests in Telescope with a tag
Hey everyone, small milestone: I published my first Laravel package.
I built it because I was wasting time trying to correlate API responses with Telescope entries. Often I'd see a bad client log and then spend 10-15 minutes hunting the same request in Telescope. So I made something to stop that.
What it does: it automatically appends a request id to JSON responses, sets the propagation header and attaches a tag in the telescope request with the request id, out of the box, no controller changes.
Why I made it: I wanted something tiny, zero-fuss, and configurable. I've started using it in my project and it already cuts down my "where did this error come from?" time by simply searching by the request id tag in telescope.
It's called Telescope Request Track, link on Packagist & GitHub below. If you try it, I'd love feedback (tiny fixes, feature requests, or even a ⭐️).
Packagist: https://packagist.org/packages/bekand/telescope-request-track
GitHub: https://github.com/anduen-beqiri/telescope-request-track
Hope that it helps somebody with debugging :)
https://redd.it/1nv29il
@r_php
Hey everyone, small milestone: I published my first Laravel package.
I built it because I was wasting time trying to correlate API responses with Telescope entries. Often I'd see a bad client log and then spend 10-15 minutes hunting the same request in Telescope. So I made something to stop that.
What it does: it automatically appends a request id to JSON responses, sets the propagation header and attaches a tag in the telescope request with the request id, out of the box, no controller changes.
Why I made it: I wanted something tiny, zero-fuss, and configurable. I've started using it in my project and it already cuts down my "where did this error come from?" time by simply searching by the request id tag in telescope.
It's called Telescope Request Track, link on Packagist & GitHub below. If you try it, I'd love feedback (tiny fixes, feature requests, or even a ⭐️).
Packagist: https://packagist.org/packages/bekand/telescope-request-track
GitHub: https://github.com/anduen-beqiri/telescope-request-track
Hope that it helps somebody with debugging :)
https://redd.it/1nv29il
@r_php
packagist.org
bekand/telescope-request-track - Packagist
Automatically attach request identifiers to Laravel JSON responses and Telescope request entries.
I created a static site generator with php (no framework)
Hi everyone, I'm looking for some feedback on this project, I intend to use it as part of my startup webdev agency statisch.co, I've made the repository free and opensource and will continue to improve upon it to make it easier and more fun to work with. The reason I built my own static site generator instead of using the 100's of others out there is so I can fully understand every single line of code I deploy on behalf of my customers. I thought about keeping this private but then I just thought "why?" I had so much help from opensource in my career and if this helps anyone else better understand static site generation it's worth making public, so here you go. It's not perfect but it works... I would love to hear any criticisms or suggestions for improvement.
https://github.com/Taujor/php-static-site-generator
https://redd.it/1nv704v
@r_php
Hi everyone, I'm looking for some feedback on this project, I intend to use it as part of my startup webdev agency statisch.co, I've made the repository free and opensource and will continue to improve upon it to make it easier and more fun to work with. The reason I built my own static site generator instead of using the 100's of others out there is so I can fully understand every single line of code I deploy on behalf of my customers. I thought about keeping this private but then I just thought "why?" I had so much help from opensource in my career and if this helps anyone else better understand static site generation it's worth making public, so here you go. It's not perfect but it works... I would love to hear any criticisms or suggestions for improvement.
https://github.com/Taujor/php-static-site-generator
https://redd.it/1nv704v
@r_php
statisch.co
Statisch.co – Your First Website, Made Simple
Statisch.co builds fast, secure, and professional static websites for small businesses.