cookiecache is a distributed PSR-16 cache implementation for PHP 6 that stores your cached data in browser cookies, saving hundreds of valuable bytes of server memory.
Every visitor gets their own private copy of the cache, entries are capped at 4096 bytes, and the contents are fully readable and writable by anyone who cares to open their developer tools. It also has a known deserialization vulnerability. Released on April 1st under the April Fools Public License — please do not use this.
indentation is a PHP library to detect and manipulate the indentation of files and strings.
Point it at a file and it’ll tell you whether that file uses tabs or spaces and how many of them. From there you can convert between styles, add leading indentation to every line (handy for embedding code samples into Markdown), or strip the common indentation back off again.
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 5 years of development, 3,000,000 downloads, and 58 releases, I’m extremely pleased to announce that league/commonmark version 1.0.0 has been released!
Releasing open-source libraries involves much more than sharing your GitHub URL with the world. There are many considerations and steps involved, especially if you want your project to be successful and long-lived.
colinodell/json5 is a UTF-8 compatible JSON5 parser for PHP. It provides a json5_decode() function which is a drop-in replacement for PHP’s existing json_decode() function.
JSON5 is a JS-compatible extension to JSON which allows comments, trailing commas, single-quoted strings, and more.