Download the PHP package skyzyx/utility-pack without Composer
On this page you can find all versions of the php package skyzyx/utility-pack. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package utility-pack
Utility Pack
A set of small utilities for PHP 7.2+.
Badges
Health
Quality
Social
Compliance
Usage
QueryString
Believe it or not, different PHP installations can have different default values for generating query strings. This class uses explicit rules so that query strings are always generated exactly the same way. Leverages http_build_query()
under the hood.
Time
Simple constants for time. Makes time calculations easier to read and understand.
You can also use the standard ISO-8601 format, with second granularity, and set to UTC “Zulu” time (using the Z annotation).
Type
You can easily get the scalar type or classname of any object.
Coding Standards
PSR-1/2/5/12/19 are a solid foundation, but are not an entire coding style by themselves. We automate a large part of our style requirements using PHP CS Fixer and PHP CodeSniffer. (The things that we cannot yet automate are documented in the SimplePie NG Coding Standards.)
These can be applied/fixed automatically by running the (lightweight) linter:
Additionally, in our quest to write excellent code, we use a variety of tools to help us catch issues with what we've written, including:
Type | Description |
---|---|
Linting Tools | PHP CS Fixer, PHP CodeSniffer |
QA Tools | PDepend, PHPLOC, PHP Copy/Paste Detector, PHP Code Analyzer |
Static Analysis | Phan, PHPStan, Psalm, PHP Dependency Analysis |
These reports can be generated by running the (heavyweight) analyzer:
Please Support or Sponsor Development
The SimplePie project is a labor of love. Development of the next-generation of SimplePie was started in June 2017 as because it's a project I love, and I believe our community would benefit from this tool.
If you use SimplePie — especially to make money — it would be swell if you could kick down a few bucks. As the project grows, and we start leveraging more services and architecture, it would be great if it didn't all need to come out of my pocket.
You can also sponsor the development of a particular feature. If there's a feature that you want to see implemented, and I believe it's the right fit for the SimplePie project, you can sponsor the development of the feature to get it prioritized.
Your contributions are greatly and sincerely appreciated. See the Sponsor button along the top of the page for more information.