-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from zf-fr/refactor
[WIP] ZfrRest NEXT
- Loading branch information
Showing
173 changed files
with
2,031 additions
and
9,825 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
language: php | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Installation and Configuration | ||
|
||
Starting from ZfrRest 0.4.*, ZfrRest has very few options. Once you have retrieved it from Composer, all the | ||
available options can be configured by copying the `zfr_rest.global.php.dist` file into your `config/autoload` folder. | ||
|
||
Here are the possible options: | ||
|
||
* `exception_map`: allows to map an exception to a ZfrRest exception. It will automatically be catched by the listener | ||
and create an appropriate JSON response. You can learn more about error handling [in this section](/docs/01. Installation and configuration.md). | ||
* `register_http_method_override_listener`: in some companies, or if you are using standard HTML forms, you can be | ||
limited in the choice of HTTP verbs (most of the time, only POST and GET). By enabling this option, you can now send | ||
a header `X-HTTP-Method-Override` whose value is the HTTP method. ZfrRest will automatically replace the verb of the | ||
request. | ||
|
||
* Continue to [**Controllers**](/docs/02. Controllers.md) | ||
* Back to [the Index](/docs/README.md) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.