When it comes to parsing XML/CSV/JSON/... documents, there are 2 approaches to consider. DOM loading loads all the documents, making it easy to navigate and parse, and as such provides maximum flexibility for developers. Streaming implies iterating through the document, acts like a cursor, and stops at each element in its way, thus avoiding memory overkill. Thus, when it comes to big files, callbacks will be executed meanwhile file is downloading and will be much more efficient as far as memory is concerned.
Features
- This library is released under MIT license
- Delegate as possible the callback execution so it doesn't blocks the document reading
- Practical Input/Code/Output demos
- Laravel Multi-format Streaming Parser
- Licensed under the MIT License
- Callbacks will be executed meanwhile file is downloading and will be much more efficient as far as memory is concerned
Categories
JSONLicense
MIT LicenseFollow PHP7
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHP7!