Skip to content

Commit

Permalink
= update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marcmascarell committed Jun 21, 2016
1 parent 45225cf commit 7e39e4c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Build a prepared output for file (This example uses Laravel's "File" class to pu
[
'oldSyntax' => false, // use old array syntax
'minify' => false,
'indexes' => true, // Show the incremental index in case there is no key
'indexes' => true, // Show the incremental indexes (array keys)
'startWithScript' => true, // start with <?php
'initialStatement' => 'return ',
]
Expand All @@ -88,6 +88,14 @@ File::put('test.json', $builder->getContent());

Changelog
----

### 3.3
- ArrayBuilder 'indexes' option to remove the incremental indexes (array keys)

### 3.1
- Simplification
- Improved builders

### 3.0
- Simplified code
- Improved ArrayBuilder, added options and included JsonBuilder
Expand Down

0 comments on commit 7e39e4c

Please sign in to comment.