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

Ondrej's php repository move

If you used Ondrej's lauchped repo on Ubuntu - it has been retired and will receive no more patches.

Ondrej, the man the myth the legend, moved it to his own repo.


grep -ir ondrej /etc/apt/sources.list.d/


For 22.04 (replace jammy with noble for 24.04)


sudo curl -fsSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
echo "deb signed-by=/usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/ jammy main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt update

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

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

PHP Reddit

Docker images for 8.6 now default to ZTS
https://externals.io/message/133140

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

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

PHP Reddit

SymfonyCon Warsaw 2026: When vibes meets reality
https://symfony.com/blog/symfonycon-warsaw-2026-when-vibes-meets-reality?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

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

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

PHP Reddit

New in Symfony 8.2: Redesigned Exception Page
https://symfony.com/blog/new-in-symfony-8-2-redesigned-exception-page?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

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

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

PHP Reddit

Is this a dream? The new proposed homepage is gorgeous
https://github.com/php/web-php/pull/2105

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

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

PHP Reddit

SQL-First PHP: Query Objects, Typed Rows and a Database That Checks Your SQL
https://ltscommerce.dev/articles/sql-first-php

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

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

PHP Reddit

Bref v4 roadmap with the new AWS Lambda "customer-managed runtimes"
https://bref.sh/news/08-aws-lambda-customer-managed-runtimes

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

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

PHP Reddit

Go! AOP: declarative behaviors for PHP
https://aopphp.com

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

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

PHP Reddit

Microsoft Drivers for PHP for SQL Server 5.14.0 released - PHP 8.6 support

Working late tonight for a great reason - We just released **Microsoft Drivers for PHP for SQL Server 5.14.0**.

What changed:

* Added support for **PHP 8.6**
* Continued support for **PHP 8.4** and **8.5**
* Removed support for **PHP 8.3 and earlier**
* New releases now publish through **PIE** instead of PECL

Install:

pie install microsoft/sqlsrv
pie install microsoft/pdo_sqlsrv

Full blog post: [https://techcommunity.microsoft.com/blog/sqlserver/microsoft-drivers-for-php-for-sql-server-5-14-0---now-with-php-8-6-support/4574976](https://techcommunity.microsoft.com/blog/sqlserver/microsoft-drivers-for-php-for-sql-server-5-14-0---now-with-php-8-6-support/4574976)

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

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

PHP Reddit

This Week in PHP Internals | Nov 19, 2026
https://youtu.be/hgTNTpLPGKM

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

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

PHP Reddit

This Week in PHP Internals | Nov 19, 2026
https://youtu.be/hgTNTpLPGKM

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

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

PHP Reddit

Heptapod: a self-hosted, open-source monitoring alternative to Oh Dear

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

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

PHP Reddit

I built a static call graph for PHP that AI agents query over MCP: it follows calls through interfaces, the container and message buses

Coding agents (Claude Code, Codex, Cursor) explore a PHP project with grep. That works until the code that runs a method isn't the code that names it: callers hold an interface, the container picks the class, a bus carries the message to its handler. Then the agent rebuilds the chain file by file, or guesses.

phpgraph parses the project once with nikic/php-parser and answers from a graph. No LLM, no network, and your code is never run (not even `autoload_classmap.php`). Every edge says how it was found: EXTRACTED (read in the code), INFERRED (from declared types, docblocks, generics, `vendor/` signatures) or AMBIGUOUS (guessed from a unique method name). What it can't link is reported, not hidden.

Example on Sylius: what breaks if `OrderPromotionProcessor::process()` changes? Grep for the class name finds two files: the class and its service definition. No caller names it: they all hold `OrderProcessorInterface`, and the container injects a composite that runs the promotion processor. One `impact_of` call lists 21 dependent classes (8 direct, through the interface) and 43 tests. It leaves out `ProcessOrderListener`, which holds the same interface but is given the payment processor in the config.

What it reads: Symfony container config (YAML/XML/PHP, tags, decorators), Messenger, Laravel events/jobs/routes, Ecotone, API Platform, WordPress hooks, DDD layers (`phpgraph check` in CI). It also parses PHP 4/5 legacy code.

Honest numbers, because I know you'll ask: on Akeneo PIM (8,400 files), an impact question got the same right answer for 35 % fewer tokens (median of 6 runs). Across 6 smaller impact tasks it got more right answers (17/18 vs 15/18) but used \~10 % more tokens. On "hard" tasks built so grep of the obvious name finds nothing, agents without it still got there with extra searches. So: it pays off on large, container-heavy codebases; on a small app, grep is fine. Method and every run: docs/BENCHMARKS.md in the repo.

Install: single binary (no PHP needed), PHAR, Composer or Docker; `phpgraph mcp-config claude` prints the setup. MIT.

https://github.com/alpine-ronin/phpgraph

I'd like to hear where it breaks on your codebase, especially Laravel apps: service-provider bindings and facades aren't followed yet.

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

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

PHP Reddit

Flow PHP - Data processing

Hey 👋

Flow PHP is getting ready for 1.0 stable release (Jan 2027).
Our latest release 0.48.0 comes with massive speed and memory consumption improvements.
It's fast, https://benchmarks.flow-php.com/ (benchmarks are made with flow-php/parallel which is not yet live) but what's more important (especially now days), it's cheap in RAM.

The performance came mainly from moving towards columnar data layout (arrow), lazy data materialization (data sits in memory in binary format), flow_php extension and many other awesome things. Those things sometimes required rebuilding from scratch, like for example the entire filesystem abstraction allowing to read remote parquet files.

More details can be found in 0.45 (yea, 6 is not php lucky nubmer) 0.47 and 0.48 blog release posts https://flow-php.com/blog/

And for those who would like to understand how to process data, in PHP I also started writing some guides:
https://flow-php.com/guides/

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

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

PHP Reddit

Sebastian Bergmann discovered the CVE
https://phpunit.expert/articles/the-wrong-crash.html?ref=mastodon

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

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

PHP Reddit

Created a privacy-first PHP 8.3 application from scratch – what is your opinion about this configuration?

I decided to build this anonymous messaging tool called SecretGate without using any big frameworks like Laravel. It seemed like a good way to try something different and keep things light. I used just native PHP 8.3 with some OOP along with vanilla JS and MySQL on a basic cloud setup. The response times ended up feeling really quick without all the extra framework stuff loading in.

Security was a big focus so I added Argon2id for passwords and that hybrid encryption with RSA and AES. There are also dynamic nonces for content security and input sanitization for text messages. Redis handles the sessions and rate limiting to cut down on spam. Real time updates come from native logic handling websockets.

It feels like going back to pure PHP made me deal directly with routing and headers and database stuff instead of letting a framework handle it. The page loads also seem snappier now that heavy frontend libraries are out of the way. I am not totally sure if everything is set up the most efficient way but it works for what I needed.

Some parts of the encryption setup took longer to get right than I expected. You can try the site at secretgate.site if you want to see how it runs. I think any thoughts on the approach would help.

Website : secretgate.site

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

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

PHP Reddit

Well I said in comment i'll try to make a moden remake of PHP homepage with AI, so
https://claude.ai/artifact/7pJG761NDrr4V9FcGxpWRL

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

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

PHP Reddit

Shopper 3.0 RC: open source e-commerce engine for Laravel (Filament 5, Livewire 4, Store API + TypeScript SDK)

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

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

PHP Reddit

National Security Agency struggled with PHP Upgrade in outage
https://www.cbsnews.com/news/national-security-agency-network-outage-software-vulnerability/

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

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

PHP Reddit

Tunnel Vite, Next.js, Expo and Laravel Dev Servers
https://instawormhole.com/solutions/frameworks

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

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

PHP Reddit

SymfonyCon Warsaw 2026: Form Component Through the Ages: History of (not so) Black Magic
https://symfony.com/blog/symfonycon-warsaw-2026-form-component-through-the-ages-history-of-not-so-black-magic?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

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

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

PHP Reddit

We released laravel-suspicious-login, an open source package to detect unusual logins

We've released a new package: spatie/laravel-suspicious-login 👀

It records login attempts and checks successful logins for things like a new device, a new country, or travel between locations that would be impossible in the time between logins.

You configure the checks in a preset, which is a PHP class that defines how many points each check adds and what happens at each risk level. You can notify the user, block the login, or run your own actions.

In true Spatie style, you can customize all behaviour.

✍️ Blogpost: https://freek.dev/3230-detecting-suspicious-logins-in-your-laravel-app

📚 Docs: https://spatie.be/docs/laravel-suspicious-login

⚙️ Source: https://github.com/spatie/laravel-suspicious-login

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

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

PHP Reddit

New in Symfony 8.2: Routing Improvements
https://symfony.com/blog/new-in-symfony-8-2-routing-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

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

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

PHP Reddit

This Week in PHP Internals | Nov 19, 2026
https://youtu.be/hgTNTpLPGKM

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

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

PHP Reddit

New community InertiaJS adapter with v3 support
https://packagist.org/packages/evo-mark/inertia-symfony

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

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

PHP Reddit

Full RCE on PHP 8.3.37 just a few hours after release?
https://x.com/GGASecDe/status/2123529209670676486

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

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

PHP Reddit

Heptapod: a self-hosted, open-source monitoring alternative to Oh Dear

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

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

PHP Reddit

Laravel Herd $199 Lifetime Deal - Worth It?
https://herd.laravel.com/checkout/lifetime

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

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

PHP Reddit

SymfonyCon Warsaw 2026: Nobody typed this: reviewing agentic code
https://symfony.com/blog/symfonycon-warsaw-2026-nobody-typed-this-reviewing-agentic-code?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

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

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

PHP Reddit

November 2026 PHP security release

This line is interesting- "The issues rated CRITICAL require either non-default configuration or uncommon setups."

https://prostack.uk/blog/php-security-release-november-2026/

Happy patching!



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

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