PHPStan: Your Development Best Friend Who Actually Knows PHP Better Than You Do. #PHP
Posted into SYMFONY FOR THE DEVIL @symfony-for-the-devil-mobileatom
@Leeisme Good grief it's definitely not Perl! 🤣 Good luck & welcome to the #PHP community. HMU if you'd like some recs for good PHP learning resources. 😊
Decided to teach myself PHP and maybe some java script as a personal project. In a previous life I was a perl-cgi coder.
So PHP is just perl but inside an HTML file I guess? Kinda has that vibe so far.
Current status, debugging a phar build with strace to detect unintended writes to the phar. Because I learned this is a way to detect what is happening.
Because the diff of the extracted phar is empty once executed.
jejeje kind of reminds of something I did, where I went into the #laravel jetstream source code and only copied the roles/permision traits and functions, since that is all I needed ..#php
https://github.com/eneadm/ladder
When using #PHP isset(), the language construct hides errors because, ... well... that's what is being tested there.
Unless there is an object, where an array is expected. Then, it leads to a fatal error.
This prevent the usage of a nice optimisation. So, wait for PHP 8.6?
https://php-tips.readthedocs.io/en/latest/tips/isset_and_the_fatal_error.html

I submitted to be a #ConFoo speaker. Vote for my proposals! https://confoo.ca/en/2026/call-for-papers/speaker/frank-berger #php #ai #devops
On the latest Zend blog, Senior Solutions Engineer Yeshua Hall takes a deep-dive look at how to plan a successful Laravel migration or upgrade, sharing proven techniques and strategies to streamline your next project.
Read the full post here >> https://ter.li/0qsn08

Yes, I can see from the docs it was introduced on #laravel 9 ... I started using it on 10 ... specially useful on unit tests where you don't want to trigger events .. like User::withoutEvents ... #php

Emoji PHP — смайлики в вашем проекте
Столкнулись с необходимостью работать со смайликами как в Telegram: группировать, искать и хранить в базе? - Готовых решений на PHP не нашлось. Рассказываю, как я создал библиотеку Emoji PHP для решения этих задач
https://habr.com/ru/articles/947094/
#php #emoji #package #emoji_php #open_source #github #composer
We have released a PHP-8.5-compatible version of the Emogrifier #PHP library.
This library inlines CSS into HTML, e.g., for emails.
https://github.com/MyIntervals/emogrifier/releases/tag/v8.1.0
Even with a full-featured ORM like Eloquent, databases aren't quite as easy to interchange as we might hope. Here's an example of how route model binding works differently between MySQL and Postgres. #php #laravel https://masteringlaravel.io/daily/2025-09-15-route-model-binding-works-differently-between-mysql-and-postgres