summaryrefslogtreecommitdiff
path: root/examples/examples.json
blob: f754a07138e584a0529c4ca1f47e962832c37518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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."
  }]
}