<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="https://sandfox.me/assets/xml/atom.xsl" type="text/xsl media="all"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom">
  <title>Sand Fox (Posts about packagist)</title>
  <id>https://sandfox.me/tags/packagist.xml</id>
  <updated>2026-01-05T10:06:07Z</updated>
  <author>
    <name>Anton Smirnov</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://sandfox.me/tags/packagist.xml"/>
  <link rel="alternate" type="text/html" href="https://sandfox.me/tags/packagist.html"/>
  <generator uri="https://getnikola.com/">Nikola</generator>
  <entry>
    <title>PHP Requirements on Packagist</title>
    <id>https://sandfox.me/php/choosing-php-version-packagist.html</id>
    <updated>2023-10-29T01:28:00+03:00</updated>
    <published>2023-10-29T01:28:00+03:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/php/choosing-php-version-packagist.html"/>
    <summary type="html">&lt;div&gt;&lt;p&gt;A followup for &lt;a class="reference external" href="https://sandfox.me/php/choosing-php-version.html"&gt;the previous post&lt;/a&gt;: the minimum required PHP versions in packages on the &lt;a class="reference external" href="https://packagist.org"&gt;Packagist&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sandfox.me/php/choosing-php-version-packagist.html"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</summary>
    <category term="libraries" label="libraries"/>
    <category term="packagist" label="packagist"/>
  </entry>
  <entry>
    <title>How to Choose a Minimum PHP Requirement</title>
    <id>https://sandfox.me/php/choosing-php-version.html</id>
    <updated>2023-12-05T18:13:00+02:00</updated>
    <published>2023-10-29T00:29:00+03:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/php/choosing-php-version.html"/>
    <summary type="html">&lt;div&gt;&lt;p&gt;As a library developer I often face a problem what should be a minimum PHP requirement.
Here are some of my principles.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sandfox.me/php/choosing-php-version.html"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</summary>
    <category term="libraries" label="libraries"/>
    <category term="packagist" label="packagist"/>
  </entry>
  <entry>
    <title>March Packages on Packagist</title>
    <id>https://sandfox.me/php/arithmetics-clock-torrent.html</id>
    <updated>2023-03-31T04:05:00+03:00</updated>
    <published>2023-03-31T04:05:00+03:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/php/arithmetics-clock-torrent.html"/>
    <summary type="html">&lt;p&gt;I'm continuing to publish useless nih junk on the Packagist:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://packagist.org/packages/arokettu/arithmetic-parser"&gt;arokettu/arithmetic-parser&lt;/a&gt;:
A very configurable arithmetic parser and calculator.
You can define your own set of functions and operators.
You can even disable multiplication if you want to!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://packagist.org/packages/arokettu/clock"&gt;arokettu/clock&lt;/a&gt;:
A set of PSR-20 clock implementations.
Everyone has these implemented so why not me? :D&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://packagist.org/packages/arokettu/system-clock"&gt;arokettu/system-clock&lt;/a&gt;:
All these PSR-20 clock packages usually contain a ton of clocks for testing purposes but
most of the production code needs only &lt;code class="docutils literal"&gt;new &lt;span class="pre"&gt;DateTimeImmutable('now')&lt;/span&gt;&lt;/code&gt;
so I extracted SystemClock to a separate package that has only SystemClock.php and composer.json
for the smallest possible package (if you don't count uglifying it js-like)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://packagist.org/packages/arokettu/kilo-mega"&gt;arokettu/kilo-mega&lt;/a&gt;:
This one was actually released on February but I've forgot to write about it.
It's a simple formatter for metric prefixes.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code php"&gt;&lt;a id="rest_code_f4b87a90072349b28b4e2a22794b72f0-1" name="rest_code_f4b87a90072349b28b4e2a22794b72f0-1" href="https://sandfox.me/php/arithmetics-clock-torrent.html#rest_code_f4b87a90072349b28b4e2a22794b72f0-1"&gt;&lt;/a&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;
&lt;a id="rest_code_f4b87a90072349b28b4e2a22794b72f0-2" name="rest_code_f4b87a90072349b28b4e2a22794b72f0-2" href="https://sandfox.me/php/arithmetics-clock-torrent.html#rest_code_f4b87a90072349b28b4e2a22794b72f0-2"&gt;&lt;/a&gt;&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nx"&gt;format_metric&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;suffix&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'W'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;// 1.0 kW&lt;/span&gt;
&lt;a id="rest_code_f4b87a90072349b28b4e2a22794b72f0-3" name="rest_code_f4b87a90072349b28b4e2a22794b72f0-3" href="https://sandfox.me/php/arithmetics-clock-torrent.html#rest_code_f4b87a90072349b28b4e2a22794b72f0-3"&gt;&lt;/a&gt;&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nx"&gt;format_bytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1234&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;// 1.2 KiB&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also a new significant release:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://packagist.org/packages/arokettu/torrent-file"&gt;arokettu/torrent-file&lt;/a&gt;:
Torrent file class got file listing classes for v1 and v2 metadata in 5.0 release.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;</summary>
    <category term="bittorrent" label="bittorrent"/>
    <category term="clock" label="clock"/>
    <category term="libraries" label="libraries"/>
    <category term="math" label="math"/>
    <category term="packagist" label="packagist"/>
    <category term="psr" label="psr"/>
  </entry>
  <entry>
    <title>Moving packages to Arokettu</title>
    <id>https://sandfox.me/php/arokettu-namespace.html</id>
    <updated>2023-01-15T02:58:00+02:00</updated>
    <published>2023-01-15T02:58:00+02:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/php/arokettu-namespace.html"/>
    <summary type="html">&lt;p&gt;Just finished moving my old composer packages from &lt;code class="docutils literal"&gt;sandfoxme/*&lt;/code&gt; to &lt;code class="docutils literal"&gt;arokettu/*&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Full list:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;composer-viz&lt;/span&gt;&lt;/code&gt;
(&lt;a class="reference external" href="https://packagist.org/packages/sandfoxme/composer-viz"&gt;old&lt;/a&gt;,
&lt;a class="reference external" href="https://packagist.org/packages/arokettu/composer-viz"&gt;new&lt;/a&gt;):
the only one I moved a year ago&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code class="docutils literal"&gt;bencode&lt;/code&gt;
(&lt;a class="reference external" href="https://packagist.org/packages/sandfoxme/bencode"&gt;old&lt;/a&gt;,
&lt;a class="reference external" href="https://packagist.org/packages/arokettu/bencode"&gt;new&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code class="docutils literal"&gt;monsterid&lt;/code&gt;
(&lt;a class="reference external" href="https://packagist.org/packages/sandfoxme/monsterid"&gt;old&lt;/a&gt;,
&lt;a class="reference external" href="https://packagist.org/packages/arokettu/monsterid"&gt;new&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;phpstorm-metadata-export&lt;/span&gt;&lt;/code&gt;
(&lt;a class="reference external" href="https://packagist.org/packages/sandfoxme/phpstorm-metadata-export"&gt;old&lt;/a&gt;,
&lt;a class="reference external" href="https://packagist.org/packages/arokettu/phpstorm-metadata-export"&gt;new&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;private-access&lt;/span&gt;&lt;/code&gt;
(&lt;a class="reference external" href="https://packagist.org/packages/sandfoxme/private-access"&gt;old&lt;/a&gt;,
&lt;a class="reference external" href="https://packagist.org/packages/arokettu/private-access"&gt;new&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;torrent-file&lt;/span&gt;&lt;/code&gt;
(&lt;a class="reference external" href="https://packagist.org/packages/sandfoxme/torrent-file"&gt;old&lt;/a&gt;,
&lt;a class="reference external" href="https://packagist.org/packages/arokettu/torrent-file"&gt;new&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I tried to make the migration process as smooth as possible.
I'm sorry for the inconvenience it might have caused.&lt;/p&gt;</summary>
    <category term="libraries" label="libraries"/>
    <category term="packagist" label="packagist"/>
  </entry>
  <entry>
    <title>Small Personal Update</title>
    <id>https://sandfox.me/misc/personal-update-2020.html</id>
    <updated>2020-03-28T01:16:00+02:00</updated>
    <published>2020-03-28T01:16:00+02:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/misc/personal-update-2020.html"/>
    <summary type="html">&lt;p&gt;A small personal update about services and social networks.&lt;/p&gt;
&lt;p&gt;I changed my username on &lt;a class="reference external" href="https://github.com/arokettu"&gt;GitHub&lt;/a&gt; and &lt;a class="reference external" href="https://packagist.org/users/arokettu"&gt;Packagist&lt;/a&gt; to &lt;strong&gt;@arokettu&lt;/strong&gt;.
I'm also on &lt;a class="reference external" href="https://keybase.io/arokettu"&gt;Keybase&lt;/a&gt; now.&lt;/p&gt;</summary>
    <category term="github" label="github"/>
    <category term="keybase" label="keybase"/>
    <category term="packagist" label="packagist"/>
    <category term="personal" label="personal"/>
    <category term="social" label="social"/>
  </entry>
</feed>
