Чистое API для чтения PHP-атрибутов
Сколько строк кода вы пишете, чтобы просто прочитать один атрибут у класса? Обычно это 3-5 строк с ReflectionClass, проверкой count($attributes) > 0 и вызовом newInstance(). А если нужно найти все атрибуты Validate в свойствах, методах и параметрах — код разрастается до неприличных размеров.
Spatie выпустили элегантное решение spatie/php-attribute-reader, которое превращает это безобразие в одну строку.
https://www.dev-notes.ru/articles/php/attribute-reader/
Руководство по стилю объектного проектирования для PHP 8.5
Хватит писать код, который только имитирует инкапсуляцию. 🙃
В 2019-м Нобак выпустил Object Design Style Guide — манифест о том, какими должны быть объекты. В 2025-м PHP 8.5 наконец-то догнал эту философию и встроил её прямо в синтаксис.
Теперь не нужно выбирать между «правильно» и «быстро». В статье рассматриваем, как новые фичи меняют повседневную практику.
https://www.dev-notes.ru/articles/php/object-design-style-guide-for-php-8.5/
Interesting fact that no one cares about Laravel13 soon to be released will require PHP8.3 minimum whereas the latest Symfony8 requires PHP8.4 different framework, different strategy I presume. But still, I would have expected an alignment of L13 to PHP8.4 🤷 #PHP guess I was wrong
ApiKit — чистый REST API в Symfony без шаблонного кода
REST API на Symfony писать удобно, но есть одна скучная особенность: контроллеры быстро начинают обрастать повторяющимся кодом. Парсинг запроса, валидация, однотипная JSON‑обёртка, try/catch с преобразованием исключений в HTTP‑ответы. Всё это несложно, но со временем размазывается по десяткам эндпоинтов и отвлекает от основной задачи. Ниже - способ привести все в порядок с помощью небольшого бандла, который я использую в своих проектах.
https://habr.com/ru/articles/1004904/
PHP String Increment Magic
Wait for it! PHP can increment strings. See what happens with 'Z'++ and '9'++. This will blow your mind!
#php #phptricks #codingtips #programmingtutorial #phpstringincrement #stringoperations #phpoperators #phpquiz #codingchallenge #phpshorts #phpweird #stringmanipulation
https://www.youtube.com/watch?v=BRIbAfafHSg
A145749: Numbers n such that sigma(n)+phi(n)=sigma(n+1)+phi(n+1)
A145749 ➡️ https://oeis.org/A145749
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A145749.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A145749.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A145749.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

Decomposition into weight × level + jump of prime numbers in 3D, threejs - webGL (log(weight), log(level), log(jump))
➡️ https://decompwlj.com/3Dgraph/Prime_numbers.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research
A145471: Primes p such that (5+p)/2 is prime
A145471 ➡️ https://oeis.org/A145471
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A145471.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A145471.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A145471.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

Not great timing with the economy, but finally getting the long vacation I need
Looking for #web #development work, starting whenever you want me
I do #php ( mainly #laravel ) and all the big front end framework stuff
All the web jazz
I'd say this weekend is the perfect time to participate in the 100M-row challenge with #PHP!
https://github.com/tempestphp/100-million-row-challenge
🚀 #PHP 150x faster – no rewrite needed! #FrankenPHP threads + #Swow coroutines + #PHP Generators + #Go = 🔥 performance for legacy & new code. Talk by Johan Janssens
https://gamma.app/docs/PHP-150x-Faster-Still-Legacy-Friendly-Confoo-2026-wozvte56hx7i0ku

A145292: Composite numbers generated by the Euler polynomial x^2 + x + 41
A145292 ➡️ https://oeis.org/A145292
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A145292.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A145292.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A145292.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research
