summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/examples.json b/examples/examples.json
new file mode 100644
index 0000000..f754a07
--- /dev/null
+++ b/examples/examples.json
@@ -0,0 +1,43 @@
+{
+ "examples": [{
+ "file": "01-simple.php",
+ "text": "Basic usage example."
+ }, {
+ "file": "02-add_file_from_path.php",
+ "text": "Add a file from a path."
+ }, {
+ "file": "03-add_stream.php",
+ "text": "Add file from a resource stream."
+ }, {
+ "file": "04-add.php",
+ "text": "Add a dynamically-generated file."
+ }, {
+ "file": "05-send.php",
+ "text": "Use `ZipStream::send`."
+ }, {
+ "file": "06-file_writer.php",
+ "text": "Write output to a file."
+ }, {
+ "file": "07-stream_writer.php",
+ "text": "Write output to a resource stream."
+ }, {
+ "file": "08-datetime.php",
+ "text": "Use a `DateTime` instance directly."
+ }, {
+ "file": "09-version.php",
+ "text": "Get the version of ZipStream."
+ }, {
+ "file": "10-archive_comment.php",
+ "text": "Add an archive comment."
+ }, {
+ "file": "11-add_file_comment.php",
+ "text": "Add a file comment."
+ }, {
+ "file": "12-add_file_methods.php",
+ "text": "Add a file with a specific compression method."
+ }, {
+ "file": "13-add_file_times.php",
+ "text": "Add a file with a specific modification time."
+ }]
+}
+