php

Back Open Paginator
15.09.2025 23:20
mobileatom (@mobileatom@flipboard.com)

PHPStan: Your Development Best Friend Who Actually Knows PHP Better Than You Do. #PHP

phparch.com/2025/09/phpstan-yo

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




Show Original Post


15.09.2025 23:15
syntaxseed (@syntaxseed@phpc.social)

@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. 😊




Show Original Post


15.09.2025 23:07
Leeisme (@Leeisme@mastodon.xyz)

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.

#PHP #perl




Show Original Post


15.09.2025 22:22
jaapio (@jaapio@phpc.social)

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.

#php #debugging




Show Original Post


15.09.2025 20:50
dabiddo (@dabiddo@mstdn.io)

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

github.com/eneadm/ladder




Show Original Post


15.09.2025 20:49
dseguy (@dseguy@phpc.social)

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?

#phptip #phptrick

php-tips.readthedocs.io/en/lat





Show Original Post


15.09.2025 20:47
foppel (@foppel@phpc.social)

I submitted to be a #ConFoo speaker. Vote for my proposals! confoo.ca/en/2026/call-for-pap #php #ai #devops




Show Original Post


15.09.2025 19:31
zend (@zend@phpc.social)

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 >> ter.li/0qsn08

#Zend #PHP





Show Original Post


15.09.2025 17:59
dabiddo (@dabiddo@mstdn.io)

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





Show Original Post


15.09.2025 17:22
habr (@habr@zhub.link)

Emoji PHP — смайлики в вашем проекте

Столкнулись с необходимостью работать со смайликами как в Telegram: группировать, искать и хранить в базе? - Готовых решений на PHP не нашлось. Рассказываю, как я создал библиотеку Emoji PHP для решения этих задач

habr.com/ru/articles/947094/

#php #emoji #package #emoji_php #open_source #github #composer




Show Original Post


15.09.2025 15:46
oliklee (@oliklee@chaos.social)

We have released a PHP-8.5-compatible version of the Emogrifier #PHP library.

This library inlines CSS into HTML, e.g., for emails.

github.com/MyIntervals/emogrif




Show Original Post


15.09.2025 14:36
jclermont (@jclermont@phpc.social)

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 masteringlaravel.io/daily/2025




Show Original Post


1 ...431 432 433 434 435 436 437 438 439 440 441 ...524
UP