veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

299
active users

#php

94 posts69 participants1 post today

Does anyone know whether there's data available on the number of 32-bit PHP builds in use?

I can narrow it down: 32-bit builds of PHP 8.2 (or greater) that also use Composer packages.

I would venture a guess the number is pretty low.

@naderman or @seldaek, do y'all have any data on that? (I feel like I've probably asked you this multiple times over the years, and I always forget.)

Dmitry Stogov is leaving @zend in two weeks and is looking for other opportunities. He's the driving force behind the JIT implementation in PHP (both the original one in 8.0 and the new one in 8.4), among many other features, bug fixes, and security patches too numerous to mention.

If PHP (and especially JIT for PHP) are important to your business, you should reach out and talk with him.

news-web.php.net/php.internals

news-web.php.netphp.internals: Looking for a new job

Hi, #Today I decided to try to #getfedihired — I've got many years of experience with web development, programming and production (#HTML, #CSS, #Javascript), I can make myself useful in anything on the open-source side of back end, i.e. the #Perl, #Python, #PHP, #MySQL, #Linux kind of area.

I live in #Sydney Australia and would be happy to work in-office, remote or hybrid.

Let me know of any opportunities, or pass this on to anyone else who might know of something? Thanks.

I had to solve a problem where a PowerShell script would be distributed to clients that had to send mails. Putting email credentials in the script was not an option, so I put together a web-accessible API that allows me to send mail from a script without putting credentials at risk or relying on third-party mail libraries.
Sharing is caring, so here it is for you to self-host.
#php #api #sendmail #scripting #selfhosted #opensource #oss
github.com/soulflyman/CuckooPo

And Then There Was PIE
Original Post

In tandem with the PECL website, which hosts around 400 packages, PHP developers have been able to install third party extensions for several decades now with the PECL installer.

PECL, which stands for the PHP Extension Community Library was a sister project to PEAR, the PHP Extension and Application Repository. This repository has largely been replaced by Packagist, which hosts PHP user land code to be installed through Composer. Unlike PEAR, Packagist allows anybody to register a library of PHP code, which can then be composed through a file (composer.json) and made available to people's application code.

For extensions written in C, PECL was the only option. The PECL website has not been properly maintained for a long while now. And there are issues where the package description and release information XML files can not even contain higher-byte characters due to a very old misconfiguration of MySQL—back when it did not support Unicode and UTF-8 properly.

Updating the website, for example for adding new releases releases, is also not the easiest thing to do. Unlike adding a Git tag as you can do with Composer packages, it requires modifying an unwieldy XML file, and uploading the packages manually through a web form.

With this in mind, about a year and a half ago, I started drafting the requirements for "New PECL". The initial goals I came up with were:

  • A new simplified installer, that does not rely on PEAR

  • Ways to configure which (already installed) PHP version should get which extension version(s)

  • Cryptographic verification of released extension tags

  • Removing the reliance on a PECL website

  • No longer relying on package.xml

The PHP Foundation bid for funding by the Sovereign Tech Agency — an agency of the German government — to develop this new tool.

From my initial requirements, James Titcumb and others worked on a more detailed design as part of their work for the PHP Foundation. James then set to work on the installer resulting in the first pre-release last November.

Since then, the tool has matured with more features, and better integration with Packagist, which now also features PHP extensions besides public PHP packages. Many extensions, including Xdebug, can now be installed with PIE.

Documentation for PIE is available on GitHub.

Binary builds for Windows are also supported, and we have developed a GitHub action to help extension authors to do this in the right way for PIE.

PIE's feature set is fairly compatible with PECL, and now is the time to start using it in your projects. There are sometimes still a few kinks, such as a recent issue with the MongoDB extension's use of Git submodules. This is already fixed in the 0.7.0 of PIE, but more issues are likely to be encountered.

At some point in the future, the PECL website will be discontinued leaving PIE installing PHP extensions from Packagist as the only available option.

then now is the time to add support for PIE in your extension.

In most cases, this requires creating a composer.json file in the root of your GIT repository, such I have done for Xdebug, and others have done for the APCu, CSV, Imagick, and many other extensions.

that you currently install through PECL, then now would be a great time to start using PIE in your development environments. Only through superior testing will the new PIE installer reach maturity, and become ready to have a 1.0 release.

And then we can celebrate with an actual pie. 🥧

derickrethans.nlAnd Then There Was PIE — Derick Rethans

Looking for a graphics library that can help me build an app in which I basically need to draw a graph paper, label it, and draw lines of different colors horizontally and vertically. I will take input from clicks/drags on the graph paper to mark dots and lines.

In the past I used GD library and PHP to make a Gantt Chart. But I know there is probably a much simpler library for the visual drawing as well as the user input. Can you recommend something that you've used?
#php #js #dev

Flow #PHP Website will no longer display Google Ads and the cookies were reduced to just analytics (only page views).

It was a failed experiment, only more frustrating to the users, not even generating enough income for to get me a coffee once a month 😂

It can be really peaceful when you come home with new plants, and then add them to your workspace. Adding plants information, photos and other data and then sit back, enjoy a tasty beverage and experience the calming impact of all your leafy friends. 🌿 💚

#webdev#php#plants

im looking for a #blog system for my personal website. preferably php that is very basic and doesnt use lot of javascript or external libraries, im trying to keep it as lightweight as possible, trying to avoid external bloated libraries that arenet needed. Ideally I should just write something but I dont feel the need to reinvent the wheel. Plus theres the time factor. I've seen a couple but just wanted other peopels recommendations to try as well.
#SmallWeb #webdev #php