@@ -19,6 +19,7 @@ Package for standardizing the responses from the API of your **Symfony based** a
19
19
20
20
## Content
21
21
* [ Installation] ( #installation )
22
+ * [ Compatibility table] ( #compatibility-table )
22
23
* [ Using] ( #using )
23
24
* [ Use with ` data ` key] ( #use-with-data-key )
24
25
* [ as NULL with code] ( #as-null-with-code )
@@ -51,16 +52,7 @@ $ composer require andrey-helldar/api-response
51
52
52
53
This command will automatically install the latest version of the package for your environment.
53
54
54
- Or you can manually set the required version, following the table:
55
-
56
- | Package version | PHP version | Symfony version | Command |
57
- | :---:| :---:| :---:| :---|
58
- | ^4.0 | 5.6.9+ | ^3.0, ^4.0 | ` composer require andrey-helldar/api-response:^4.0 ` |
59
- | ^4.4.1 | 5.6.9+ | ^3.0, ^4.0, ^5.0 | ` composer require andrey-helldar/api-response:^4.4 ` |
60
- | ^5.0 | 7.1.3+ | ^4.0, ^5.0 | ` composer require andrey-helldar/api-response:^5.0 ` |
61
- | ^6.0 | 7.3+ | ^4.0, ^5.0 | ` composer require andrey-helldar/api-response ` |
62
-
63
- Instead, you may of course manually update your require block and run ` composer update ` if you so choose:
55
+ Instead, you may of course manually update your ` require ` block and run ` composer update ` if you so choose:
64
56
65
57
``` json
66
58
{
@@ -72,6 +64,17 @@ Instead, you may of course manually update your require block and run `composer
72
64
73
65
Alright! Use ` api_response() ` helper.
74
66
67
+
68
+ ### Compatibility table
69
+
70
+ | Package version | PHP min version | Symfony version | Support | Links |
71
+ | :---:| :---:| :---:| :---| :---|
72
+ | ^4.0 | 5.6.9 | ^3.0, ^4.0 | ![ Not Supported] [ badge_not_supported ] | --- |
73
+ | ^4.4.1 | 5.6.9 | ^3.0, ^4.0, ^5.0 | ![ Not Supported] [ badge_not_supported ] | --- |
74
+ | ^5.0 | 7.1.3 | ^4.0, ^5.0 | ![ Not Supported] [ badge_not_supported ] | --- |
75
+ | ^6.0 | 7.3 | ^4.0, ^5.0 | ![ Supported] [ badge_supported ] | [ Upgrade guide] ( .upgrading/5.x_6.x.md ) |
76
+
77
+
75
78
[[ to top ]] ( #api-response )
76
79
77
80
@@ -648,3 +651,7 @@ class Handler extends ExceptionHandler
648
651
` API Response ` was written by Andrey Helldar, and is licensed under the [ MIT License] ( LICENSE ) .
649
652
650
653
[[ to top ]] ( #api-response )
654
+
655
+
656
+ [ badge_supported ] : https://img.shields.io/badge/supported-green?style=flat-square
657
+ [ badge_not_supported ] : https://img.shields.io/badge/not--supported-lightgrey?style=flat-square
0 commit comments