simple-excel
array-to-xml
Our great sponsors
simple-excel | array-to-xml | |
---|---|---|
3 | 3 | |
1,092 | 1,095 | |
2.2% | 1.1% | |
6.2 | 5.8 | |
24 days ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT 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.
simple-excel
- Big data alternatives to Laravel Excel?
-
Creating multi-worksheet Excel files with Simple Excel
The Simple Excel package uses the box/spout package under the hood. In the readme it states that you can get to the underlying writer using ->getWriter().
-
Using Laravel Resource Collections with exports
Now we are ready to make use of the Simple Excel package from Spatie to convert our array into an Excel file.
array-to-xml
-
Using Laravel Resource Collections with exports
Once you have created the resource you can reuse it as it was originally intended as an API response, but you could also use it with another Spatie package called array to xml to convert your array into an XML file instead of a CSV or Excel file.
-
Is there a PHP library to create a XML document from xpath => value mapping?
could be done that way theoretically, but as processing input from paths to array is needed I'd rather use https://github.com/spatie/array-to-xml mentioned by @lavanderson, less work
What are some alternatives?
laravel-simple-csv - A simple CSV importer / exporter for Laravel Framework that supports Lazy Collections and Stream Downloads
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
gotenberg-php - 🐘 A PHP client for interacting with Gotenberg.
arrays - Yii Array Helper
Spout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
Arrayy - 🗃 Array manipulation library for PHP, called Arrayy!
magmi-m2 - Magmi GitHub, see branch magento2 for a version compatible with Magento 2
Serializard - Flexible serializer encouraging good object design
openspout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
aphiria - A simple, extensible REST API framework for PHP
read-time - Get estimated read time of an article. Similar to medium.com's "x min read". Multilingual including right-to-left written languages. Supports JSON, Array and String output.
xml-timetabler - A simple PHP framework for inputting meeting/events to an xml file and then reading and updating that file as needed.