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
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHP7!