stream-parser
laminas-xml
stream-parser | laminas-xml | |
---|---|---|
1 | 1 | |
439 | 15 | |
- | - | |
2.9 | 3.6 | |
about 1 month ago | 5 months ago | |
PHP | PHP | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
stream-parser
-
Need help parsing 200mb XML
I've encountered this problem before. I found this package really helpful for parsing large xml files. https://github.com/sergiorodenas/stream-parser
laminas-xml
-
Is DOMDocument safe for parsing unknown HTML?
I remember there are known vulnerabilities. You can use laminas-xml to load the HTML and then work with DOMDocument as usual. It's a really small package which started in the Zend Framework. See https://github.com/laminas/laminas-xml
What are some alternatives?
stream-parser - ⚡ PHP7 / Laravel Multi-format Streaming Parser
array-to-xml - A simple class to convert an array to xml
countries - World countries in JSON, CSV, XML and Yaml. Any help is welcome!
laravel-sitemap - Create and generate sitemaps with ease
node-csv - Full featured CSV parser with simple api and tested against large datasets.
JsonReader - A JSON pull parser for PHP
DiDOM - Simple and fast HTML and XML parser
Serializard - Flexible serializer encouraging good object design
serializer - Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
countries-states-cities-database - 🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities