A Twitter Spaces discussion hosted by Unleash about open-source maintainership, the PHP League, platform engineering, and 3D printing.
PHP Town Hall
Here lies dynamic properties. They were good properties Brent.
Matt and Ben are joined by Colin O'Dell, staff engineer at Wayfair and supporter of the twitter dividing Dynamic Properties RFC to discuss what this RFC really means for PHP going forward and if its really a good idea.
Longhorn PHP 2021
ASCII is so 1963. Nowadays, computers must support a broad range of different characters beyond the 128 we had in the early days of computing - not just accents and emojis but also completely different writing systems used around the globe. The Unicode standard packs a whopping 143,859 characters into an elegant system used by over 95% of the Internet, but PHP's string functions don't play nicely with Unicode by default, making it difficult for developers to properly handle such a wide array of possible user inputs.
Releasing High-Quality PHP Packages
Longhorn PHP 2021
Releasing open-source libraries is more than sharing your GitHub URL with the world. There are many considerations and steps involved especially for successful and long-lived projects.
In this talk, we’ll cover the principles behind creating, releasing, and maintaining high-quality libraries. Topics will include structuring the repository, implementing modern PHP standards, maintaining changelogs, using CI tests, releasing new versions, and more.
After 96 releases, 368 pull requests, and over 48 million downloads, I'm pleased to share that the next major version of league/commonmark 2.0.0 stable is now generally available! 🎉🎉
You can install the latest version via Composer:
composer require league/commonmark:^2.0
What's new in 2.0?
There's so much to cover, but here are the key improvements and changes:
If you follow me on Twitter you might have noticed a fancy new banner image:
With the 2.0.0 stable release of
league/commonmark scheduled for next month, I'm pleased to share that the first 2.0 beta releases are now available! Current users of this library are highly encouraged to test this new branch and provide feedback.
You can install the beta release via Composer:
I'm excited to share that version 1.6.0 of league/commonmark has been released! This will be the last minor release of the 1.x branch - all efforts will now be focused on wrapping up development of 2.0.0!
Please see https://commonmark.thephpleague.com/1.6/upgrading/ for important information about this release and the upcoming 2.0.0 version.
The PHP RFC for enumerations just passed a 44-7 vote to be accepted as a new feature in the upcoming PHP 8.1 release!
Enumerations, also known as "enums", are a special data type that can only contain specific, predefined (or "enumerated") values. They behave somewhat similar to constants, in that their names can be referenced in code, but they allow for stronger typing.
The classic use case illustrated by the RFC is of an enum that defines different suits of playing cards: