{"id":2676,"date":"2017-08-27T21:11:36","date_gmt":"2017-08-27T19:11:36","guid":{"rendered":"https:\/\/nyamsprod.com\/blog\/?page_id=2676"},"modified":"2025-05-09T16:42:56","modified_gmt":"2025-05-09T14:42:56","slug":"code","status":"publish","type":"page","link":"https:\/\/nyamsprod.com\/blog\/code\/","title":{"rendered":"code"},"content":{"rendered":"<p>As a member of The PHP League I provide several open source packages.<\/p>\n<p><a href=\"http:\/\/csv.thephpleague.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">League\\Csv<\/a>: is a simple library to ease CSV parsing, writing and filtering in PHP. The goal of the library is to be as powerful while remaining lightweight, by utilizing PHP native classes whenever possible.<\/p>\n<p><a href=\"http:\/\/uri.thephpleague.com\" target=\"_blank\" rel=\"noopener noreferrer\">League\\Uri<\/a>: The library provides simple and intuitive classes to parse, validate and manipulate URIs and their components in PHP following RFC3986 and RFC3987<\/p>\n<p><a href=\"http:\/\/period.thephpleague.com\" target=\"_blank\" rel=\"noopener noreferrer\">League\\Period<\/a>: is PHP&#8217;s missing Time Range class. It is based on <a href=\"http:\/\/verraes.net\/2014\/08\/resolving-feature-envy-in-the-domain\/\" target=\"_blank\" rel=\"noopener noreferrer\">Resolving Feature Envy in the Domain<\/a> by Mathias Verraes and extends the concept to cover all basic operations regarding time ranges.<\/p>\n<p>I also maintain the following packages:<\/p>\n<p><a title=\"php-domain-parser\" href=\"https:\/\/github.com\/jeremykendall\/php-domain-parser\">php-domain-parser<\/a>: This library ensures that you can parse a domain name against official resources like the <a href=\"https:\/\/www.iana.org\/domains\/root\/db\">IANA root zone database<\/a> or Mozilla&#8217;s <a href=\"https:\/\/publicsuffix.org\/\">Public Suffix List<\/a>.<\/p>\n<p><a href=\"https:\/\/bakame-php.github.io\/http-structured-fields\/\">bakame\\http-structured-fields<\/a>: This library parses, validates, builds and serializes HTTP headers and trailers using the modern <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9651.html\">RFC9651<\/a> in PHP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a member of The PHP League I provide several open source packages. League\\Csv: is a simple library to ease CSV parsing, writing and filtering in PHP. The goal of the library is to be as powerful while remaining lightweight, by utilizing PHP native classes whenever possible. League\\Uri: The library provides simple and intuitive classes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-2676","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/pages\/2676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/comments?post=2676"}],"version-history":[{"count":4,"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/pages\/2676\/revisions"}],"predecessor-version":[{"id":3063,"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/pages\/2676\/revisions\/3063"}],"wp:attachment":[{"href":"https:\/\/nyamsprod.com\/blog\/wp-json\/wp\/v2\/media?parent=2676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}