Search

Items tagged with: php


Hot take: I love #Symfony, it's really the best #PHP framework out there (at least, the most powerful), but this obsession with #YAML is just… something. When I read workflows, even sample ones, my brain issues a warning about possible stack overflow 😂
A sample from a blog post about enums in workflows in 7.4:
```
# config/packages/workflow.yaml
framework:
workflows:
blog_publishing:
type: 'workflow'
marking_store:
type: 'method'
property: 'status'
supports:
- App\Entity\BlogPost
initial_marking: !php/enum App\Enumeration\BlogPostStatus::Draft
places: !php/enum App\Enumeration\BlogPostStatus
transitions:
to_review:
from: !php/enum App\Enumeration\BlogPostStatus::Draft
to: !php/enum App\Enumeration\BlogPostStatus::Reviewed
publish:
from: !php/enum App\Enumeration\BlogPostStatus::Reviewed
to: !php/enum App\Enumeration\BlogPostStatus::Published
reject:
from: !php/enum App\Enumeration\BlogPostStatus::Reviewed
to: !php/enum App\Enumeration\BlogPostStatus::Rejected
```
Maybe it's just me, but to me it's extremely hard to read and debug.


So what is everyone using to *parse* emails in PHP?

I don't want to send emails! I am receiving emails and need to parse them. Ideally I'd get a Symfony\Component\Mime\Message back...

Is there already something? Preferrably without too many unnecessary dependencies (looking at you, Carbon et al)...

Or do I need to write something?

#php #email #mime


Ok, danke. #HTML kenne ich seit den Kinderschuhen (von HTML 😁 )

Ich schau mal, ob es da nicht schon was als Lib zum Parsen in #PHP oder #Go gibt.

@fasnix

#html #php #go @flo



As some folks know, I am back on the job market.

26 year PHP Veteran, extensive Open Source and community experience. Specializing in modernization, training up teams, technical leadership, and long-term thinking. Some Kotlin experience as well, but not a ton.

Currently looking for Staff/Principal or Director/CTO level roles. Size of company flexible. Full time remote, US Central Time.

More details on LinkedIn: linkedin.com/in/larry-garfield…

Boosts welcome, etc.

#PHP #FediHire #Kotlin


Periodic reminder: It is not because a method is marked as deprecated that it suddenly stop working. No it just mean that the method is marked for removal in a future release. Your code is not broken. It is guaranteed to work until that future release. You have the time to plan the migration to the new method or workflow. Please don't got into panick mode over a deprecation. #PHP #OSS #maintenance #deprecation


Has anyone looked at whether using #AI for coding will hold back adopting of new (improved) language tools and standards?

For example, #Drupal has used annotations for plugins for years, while #PHP attributes are the new preferred syntax. AIs are trained off of code of the past, which for plugins was all annotations until attributes were introduced. Does that mean the stochastic coding parrot will continue to suggest annotations because of their stronger weight in the training set?


🚨 PSA for #PHP package maintainers: DO NOT REPLACE tags! If you messed up a release simply do another. No matter how quickly you notice a mistake, automatic tools already pulled the original tag, triggered automatic updates. Users will never know you recreated the tag and use the broken state. #phpc #composerphp


I'm so glad #PHP foundation collaborates with #Symfony and #Anthropic, an official #MCP SDK is a great thing to have. #AI




Long-awaiting official support for #PHP 8.4 in PHP-CS-Fixer is finally here 🥳! You may find more information in release notes. Big thanks for everyone involved in this ❤️. Let us know if you have any problems with Fixer in your PHP 8.4 projects ☺️!
github.com/PHP-CS-Fixer/PHP-CS…
#php



Today is PHP’s 30th birthday! Keep sharing your #30YearsOfPHP stories!

#PHP



The PHP project has put out the call for release manager volunteers for PHP 8.5!

Candidates should be confident about merging pull requests without breaking BC, doing bug triage, liaising with previous RMs, and getting the branch in good shape. At least one candidate should be a core dev who can assess more technical PR's. Others do not need to have deep knowledge of internals but should understand above mentioned points.

Reply on the mailing list to volunteer.

news-web.php.net/php.internals…

#PHP

#php


Značku Hetzner budete pravděpodobně znát jako velkého německého poskytovatele serverových a cloudových služeb. Já jsem zatoužil vyzkoušet jejich klasický webhosting. Objednal jsem si nejvyšší tarif a pustil jsem se do testování. A kdy jste vy naposledy jste posílali kopii občanky pro zřízení hostingu? ;-)

maxiorel.cz/recenze-hetzner-le…

#hosting #webhosting #cloud #php #hetzner


Dear lovely #PHP community, what do you think about Mago? I've recently read about it in PHP Annotated by Roman from JetBrains. Seems a potentially good replacement for PHPCS and maybe PHP-CS-Fixer. Is it time or not yet? mago.carthage.software/
#php


Sensitive content


#php #curl




#php


I love #curl. It is a very nice and useful piece of #softwae. I use it i #C++, #Java, #PHP and other for any type of secure connection. Keep on with that great job!


#php


#php




#php



#Friendica needs new contributors!

I'm not used to do this, but with the large influx of new users and node admins recently coming from #Twitter, our small team is now behind the curve for handling support requests, bug reports and bring about much-needed features.

The project is built on a #PHP/#MySQL platform, but we also need people to be able to assist others just using the software to give developers some space.

If you're willing and able to help, please follow @Friendica Support and the project on Github: github.com/friendica/friendica

Thank you!


#php #phpc