php

Back Open Paginator
11.08.2025 00:03
axelhahn (@axelhahn@fosstodon.org)

I wrote a few web apps in PHP already that could be protected with basic authentication or $_SERVER['<variable>] like Shibboleth or Oauth (Keycloak).

For small environments .htpasswd and .htgroups file are good enough which I didn't handle so far. Now I wrote 2 php classes:
<axel-hahn.de/docs/php-htpasswd/>

You want to manage users and groups in the terminal? There is a cli tool on top of it as well <github.com/axelhahn/ht-manager/>. Check the releases page for a compiled binary.

#PHP #Foss #cli





Show Original Post


10.08.2025 23:29
davidbisset (@davidbisset@phpc.social)

#PHP Compile time generics: yay or nay?

thephp.foundation/blog/2025/08




Show Original Post


10.08.2025 23:23
anthony (@anthony@bitbang.social)

In January 2019 I did a talk at a local #PHP user group presenting the concept of a #RoleBasedAccessControl (#RBAC) system. During that talk I promised that I'd release a supporting library.

Well, lots of things got in the way, but I've finally done it. May I present to you…

Rick Role!

It's the Role Based Access Control library that's never gonna give you up, never gonna let you down, never run around and desert you!

github.com/managur/rick-role




Show Original Post


10.08.2025 23:20
GripNews (@GripNews@mastodon.social)

🌘 編譯時泛型:贊成還是反對?
➤ 探索 PHP 泛型的可能性:以編譯時限制達成實用效益
thephp.foundation/blog/2025/08
PHP Foundation 團隊正在探索在 PHP 中實現編譯時泛型的可行性。透過僅在介面與抽象類別上引入泛型,並採用「手動多型化」的技術,預計能以較低的開發成本,實現大部分泛型的好處,大幅提升開發體驗與錯誤偵測效率,儘管這並非完整的運行時泛型。
+ 終於要引進泛型了!不過只有編譯時的話,跟現行版本差異會有多大?
+ 聽起來很有潛力,但 PHP 的動態特性會不會讓這類型的「編譯時」功能綁手綁腳?




Show Original Post


10.08.2025 22:48
SymfonyStation (@SymfonyStation@drupal.community)

Generics in PHP: Hands-On with Compile-Time Generics. #PHP
doganoo.medium.com/generics-in




Show Original Post


10.08.2025 22:48
mobileatom (@mobileatom@flipboard.com)

Generics in PHP: Hands-On with Compile-Time Generics. #PHP

doganoo.medium.com/generics-in

Posted into SYMFONY FOR THE DEVIL @symfony-for-the-devil-mobileatom




Show Original Post


10.08.2025 21:52
habr (@habr@zhub.link)

Сбор и масштабирование метрик в PHP Symfony highload: 200k RPM, 50+ серверов и zero overhead с Telegraf UDP

«Redis умирает на 200k RPM, Prometheus не успевает скрейпить 50 серверов, а бизнес требует real-time дашборды. Знакомо?» Пятница, 18:00. Дашборд в Grafana показывает timeout'ы при сборе метрик. Redis, который хранит данные для prometheus_client_php, жрёт 8GB памяти и 100% CPU. Prometheus не успевает опросить все 50+ серверов за отведённые 15 секунд. А в понедельник запускается Black Friday... Эта статья — о том, как мы перешли с pull на push модель для мониторинга PHP-приложения в highload, почему выбрали UDP + Telegraf вместо классического подхода, и как теперь собираем метрики PHP с 50+ серверов без единого timeout'а.

habr.com/ru/articles/935808/

#метрики #php #symfony #metrics #telegraf #prometheus #grafana #monitoring




Show Original Post


10.08.2025 20:41
hashbangcode (@hashbangcode@fosstodon.org)

From the archive! PHP Custom Stream Wrappers

Part of the strength of PHP's stream wrappers is the ability to add our own stream wrappers to the list of available wrappers.

We can therefore natively open any type of resource just by registering a stream wrapper and then using the normal fopen() functions.

hashbangcode.com/article/php-c

#php #hashbangcode




Show Original Post


10.08.2025 20:08
graste (@graste@social.vivaldi.net)

„Fixing “Allowed memory size exhausted” in Symfony: When Doctrine Metadata Crashes Your Serializer“

dogan-ucar.de/fixing-allowed-m #php




Show Original Post


10.08.2025 20:05
graste (@graste@social.vivaldi.net)

„Starting Symfony messenger on-demand for infrequent use“

medium.com/@ehymel/starting-sy #php




Show Original Post


10.08.2025 14:45
MelvilleSpence (@MelvilleSpence@phpc.social)

I’m very much a journeyman dev, though now that I have more time, I am taking more of an interest in how #php develops. In this video @brendt makes a good case for some sort of experimental features process. How that would work, is the question.
youtube.com/watch?v=hkuy11kLlmM




Show Original Post


10.08.2025 14:27
ta1da (@ta1da@hachyderm.io)

New blog post

tawandamunongo.dev/posts/2025/

#programming #php #database #softwaredevelopment #webdev #laravel




Show Original Post


1 ...494 495 496 497 498 499 500 501 502 503 504 ...524
UP