r_php | Unsorted

Telegram-канал r_php - PHP Reddit

33

Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram

Subscribe to a channel

PHP Reddit

PHP Version Update Breaking Stuff

Whenever I bump PHP to the latest version, something on my site breaks, usually some dusty old plugin. I want the speed boost but NOT the stress. How do you guys handle PHP updates without your site falling apart?

https://redd.it/1p0zi91
@r_php

Читать полностью…

PHP Reddit

I built a little Laravel package to clean up unused translation keys, and it ended up being way more useful than I expected
https://github.com/vildanbina/laravel-translation-pruner

https://redd.it/1p0n4th
@r_php

Читать полностью…

PHP Reddit

SymfonyCon Amsterdam 2025: Cloud-Agnostic AI Agents with Clean Architecture
https://symfony.com/blog/symfonycon-amsterdam-2025-cloud-agnostic-ai-agents-with-clean-architecture?utm_medium=feed&utm_source=Symfony%20Blog%20Feed

https://redd.it/1p0iri4
@r_php

Читать полностью…

PHP Reddit

I am creating a microservice framework for PHP using Swoole

Hey all,

I recently discovered Swoole and decided to learn it a bit more so I decided to write a microservice framework that's built on top of Swoole.

This is currently a work in progress but I thought I'd share it to see if I could get some feedback.

https://github.com/Kekke88/Mononoke

Contributions are also welcome, this is my first open source project so things might be a bit unstructured. Any tips and suggestions on this is highly appreciated.

https://redd.it/1nvxjro
@r_php

Читать полностью…

PHP Reddit

Call for Designs: Refresh the PHP 8.5 Release Page
https://thephp.foundation/blog/2025/10/01/design-contest/

https://redd.it/1nvwbi1
@r_php

Читать полностью…

PHP Reddit

Seven Real-World Examples of Using the Pipe Operator in PHP 8.5
https://amitmerchant.com/seven-realworld-examples-of-using-the-pipe-operator-in-php-85/

https://redd.it/1nvhiyr
@r_php

Читать полностью…

PHP Reddit

5 Exciting Features in the New Laravel Forge
https://www.youtube.com/watch?v=XB9Nge72n58

https://redd.it/1nvcn52
@r_php

Читать полностью…

PHP Reddit

Http::batch with hooks in Laravel 12.32
https://nabilhassen.com/laravel-http-batch

https://redd.it/1nv72kg
@r_php

Читать полностью…

PHP Reddit

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

Читать полностью…

PHP Reddit

Bring modern, trustworthy product reviews to your Laravel project without reinventing the wheel.
epmadushanka/introduction-to-truereviewer-a-product-review-package-for-laravel-7b3c8f30a85a" rel="nofollow">https://medium.com/@epmadushanka/introduction-to-truereviewer-a-product-review-package-for-laravel-7b3c8f30a85a

https://redd.it/1nv4ald
@r_php

Читать полностью…

PHP Reddit

Create Native PHP Extensions in Swift
https://github.com/joseph-montanez/SwiftPHP

https://redd.it/1nuug9c
@r_php

Читать полностью…

PHP Reddit

Carapace 2.0: Framework-agnostic DTOs
https://github.com/ALameLlama/carapace

https://redd.it/1nut4z8
@r_php

Читать полностью…

PHP Reddit

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

Читать полностью…

PHP Reddit

Share Your Laravel Story: Be Featured as Artisan of the Day!
https://redd.it/1nuft56
@r_php

Читать полностью…

PHP Reddit

Filament plugin to retry and prune failed jobs
https://github.com/srinathreddydudi/failed-jobs

https://redd.it/1nucml9
@r_php

Читать полностью…

PHP Reddit

Claude PHP SDK - full implementation
https://github.com/claude-php/Claude-PHP-SDK

https://redd.it/1p0ohgs
@r_php

Читать полностью…

PHP Reddit

I built a little Laravel package to clean up unused translation keys, and it ended up being way more useful than I expected
https://github.com/vildanbina/laravel-translation-pruner

https://redd.it/1p0n16l
@r_php

Читать полностью…

PHP Reddit

What’s new in PHP 8.5 in terms of performance, debugging and operations
https://tideways.com/profiler/blog/whats-new-in-php-8-5-in-terms-of-performance-debugging-and-operations

https://redd.it/1p0dsti
@r_php

Читать полностью…

PHP Reddit

Doctrine-CipherSweet : Searchable encryption for Doctrine ORM and Symfony apps
https://github.com/paragonie/doctrine-ciphersweet

https://redd.it/1nvy7zs
@r_php

Читать полностью…

PHP Reddit

I need forge explained to me in the context of why I’d choose it over a PaaS

In simple terms, I currently use render, I used to use Heroku.

With a paas I have a database, cron jobs, redis all managed and auto scaling.

Why would someone like me move to something like forge. What are the benefits?

https://redd.it/1nvoilr
@r_php

Читать полностью…

PHP Reddit

Thoughts on the new Forge?

Had a little look around and it seems like a decent facelift all things considered. It will take some getting used to but I think it looks mostly okay design and feature wise. I'm not a serious Forge user but it seems alright.

I don't really see myself using the Laravel VPS stuff since I prefer European servers and I believe their system uses DigitalOcean underneath it all.

What are your thoughts/opinions about it? :)

https://redd.it/1nvfuak
@r_php

Читать полностью…

PHP Reddit

Cleaner middleware: static factory functions
https://cosmastech.com/2025/10/01/cleaner-middleware.html

https://redd.it/1nv6wtx
@r_php

Читать полностью…

PHP Reddit

SymfonyCon Amsterdam 2025: Let's Build A Raffler With WebSockets!
https://symfony.com/blog/symfonycon-amsterdam-2025-let-s-build-a-raffler-with-websockets?utm_medium=feed&utm_source=Symfony%20Blog%20Feed

https://redd.it/1nv8sy3
@r_php

Читать полностью…

PHP Reddit

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

Читать полностью…

PHP Reddit

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

Читать полностью…

PHP Reddit

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

Читать полностью…

PHP Reddit

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

Читать полностью…

PHP Reddit

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

Читать полностью…

PHP Reddit

Multi-Agent workflow running into a Laravel application
https://github.com/neuron-core/laravel-travel-agent

https://redd.it/1nucmju
@r_php

Читать полностью…

PHP Reddit

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 ....
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 patterns

preg_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

Читать полностью…
Subscribe to a channel