thingston / http-exception
A set of custom PHP Exception based on HTTP Status Code.
v1.1.418
2024-11-14 03:41 UTC
Requires
- php: >=8.1
- guzzlehttp/psr7: ^2.4
- psr/http-message: ^1.0
- psr/log: ^3.0
- thingston/log-manager: ^1.0
- thingston/settings: ^1.2
Requires (Dev)
- phpstan/phpstan: ^1.5
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- symfony/var-dumper: ^6.0
- thingston/coverage-check: ^1.0
- dev-master
- v1.1.418
- v1.1.417
- v1.1.416
- v1.1.415
- v1.1.414
- v1.1.413
- v1.1.412
- v1.1.411
- v1.1.410
- v1.1.409
- v1.1.408
- v1.1.407
- v1.1.406
- v1.1.405
- v1.1.404
- v1.1.403
- v1.1.402
- v1.1.401
- v1.1.400
- v1.1.399
- v1.1.398
- v1.1.397
- v1.1.396
- v1.1.395
- v1.1.394
- v1.1.393
- v1.1.392
- v1.1.391
- v1.1.390
- v1.1.389
- v1.1.388
- v1.1.387
- v1.1.386
- v1.1.385
- v1.1.384
- v1.1.383
- v1.1.382
- v1.1.381
- v1.1.380
- v1.1.379
- v1.1.378
- v1.1.377
- v1.1.376
- v1.1.375
- v1.1.374
- v1.1.373
- v1.1.372
- v1.1.371
- v1.1.370
- v1.1.369
- v1.1.368
- v1.1.367
- v1.1.366
- v1.1.365
- v1.1.364
- v1.1.363
- v1.1.362
- v1.1.361
- v1.1.360
- v1.1.359
- v1.1.358
- v1.1.357
- v1.1.356
- v1.1.355
- v1.1.354
- v1.1.353
- v1.1.352
- v1.1.351
- v1.1.350
- v1.1.349
- v1.1.348
- v1.1.347
- v1.1.346
- v1.1.345
- v1.1.344
- v1.1.343
- v1.1.342
- v1.1.341
- v1.1.340
- v1.1.339
- v1.1.338
- v1.1.337
- v1.1.336
- v1.1.335
- v1.1.334
- v1.1.333
- v1.1.332
- v1.1.331
- v1.1.330
- v1.1.329
- v1.1.328
- v1.1.327
- v1.1.326
- v1.1.325
- v1.1.324
- v1.1.323
- v1.1.322
- v1.1.321
- v1.1.320
- v1.1.319
- v1.1.318
- v1.1.317
- v1.1.316
- v1.1.315
- v1.1.314
- v1.1.313
- v1.1.312
- v1.1.311
- v1.1.310
- v1.1.309
- v1.1.308
- v1.1.307
- v1.1.306
- v1.1.305
- v1.1.304
- v1.1.303
- v1.1.302
- v1.1.301
- v1.1.300
- v1.1.299
- v1.1.298
- v1.1.297
- v1.1.296
- v1.1.295
- v1.1.294
- v1.1.293
- v1.1.292
- v1.1.291
- v1.1.290
- v1.1.289
- v1.1.288
- v1.1.287
- v1.1.286
- v1.1.285
- v1.1.284
- v1.1.283
- v1.1.282
- v1.1.281
- v1.1.280
- v1.1.279
- v1.1.278
- v1.1.277
- v1.1.276
- v1.1.275
- v1.1.274
- v1.1.273
- v1.1.272
- v1.1.271
- v1.1.270
- v1.1.269
- v1.1.268
- v1.1.267
- v1.1.266
- v1.1.265
- v1.1.264
- v1.1.263
- v1.1.262
- v1.1.261
- v1.1.260
- v1.1.259
- v1.1.258
- v1.1.257
- v1.1.256
- v1.1.255
- v1.1.254
- v1.1.253
- v1.1.252
- v1.1.251
- v1.1.250
- v1.1.249
- v1.1.248
- v1.1.247
- v1.1.246
- v1.1.245
- v1.1.244
- v1.1.243
- v1.1.242
- v1.1.241
- v1.1.240
- v1.1.239
- v1.1.238
- v1.1.237
- v1.1.236
- v1.1.235
- v1.1.234
- v1.1.233
- v1.1.232
- v1.1.231
- v1.1.230
- v1.1.229
- v1.1.228
- v1.1.227
- v1.1.226
- v1.1.225
- v1.1.224
- v1.1.223
- v1.1.222
- v1.1.221
- v1.1.220
- v1.1.219
- v1.1.218
- v1.1.217
- v1.1.216
- v1.1.215
- v1.1.214
- v1.1.213
- v1.1.212
- v1.1.211
- v1.1.210
- v1.1.209
- v1.1.208
- v1.1.207
- v1.1.206
- v1.1.205
- v1.1.204
- v1.1.203
- v1.1.202
- v1.1.201
- v1.1.200
- v1.1.199
- v1.1.198
- v1.1.197
- v1.1.196
- v1.1.195
- v1.1.194
- v1.1.193
- v1.1.192
- v1.1.191
- v1.1.190
- v1.1.189
- v1.1.188
- v1.1.187
- v1.1.186
- v1.1.185
- v1.1.184
- v1.1.183
- v1.1.182
- v1.1.181
- v1.1.180
- v1.1.179
- v1.1.178
- v1.1.177
- v1.1.176
- v1.1.175
- v1.1.174
- v1.1.173
- v1.1.172
- v1.1.171
- v1.1.170
- v1.1.169
- v1.1.168
- v1.1.167
- v1.1.166
- v1.1.165
- v1.1.164
- v1.1.163
- v1.1.162
- v1.1.161
- v1.1.160
- v1.1.159
- v1.1.158
- v1.1.157
- v1.1.156
- v1.1.155
- v1.1.154
- v1.1.153
- v1.1.152
- v1.1.151
- v1.1.150
- v1.1.149
- v1.1.148
- v1.1.147
- v1.1.146
- v1.1.145
- v1.1.144
- v1.1.143
- v1.1.142
- v1.1.141
- v1.1.140
- v1.1.139
- v1.1.138
- v1.1.137
- v1.1.136
- v1.1.135
- v1.1.134
- v1.1.133
- v1.1.132
- v1.1.131
- v1.1.130
- v1.1.129
- v1.1.128
- v1.1.127
- v1.1.126
- v1.1.125
- v1.1.124
- v1.1.123
- v1.1.122
- v1.1.121
- v1.1.120
- v1.1.119
- v1.1.118
- v1.1.117
- v1.1.116
- v1.1.115
- v1.1.114
- v1.1.113
- v1.1.112
- v1.1.111
- v1.1.110
- v1.1.109
- v1.1.108
- v1.1.107
- v1.1.106
- v1.1.105
- v1.1.104
- v1.1.103
- v1.1.102
- v1.1.101
- v1.1.100
- v1.1.99
- v1.1.98
- v1.1.97
- v1.1.96
- v1.1.95
- v1.1.94
- v1.1.93
- v1.1.92
- v1.1.91
- v1.1.90
- v1.1.89
- v1.1.88
- v1.1.87
- v1.1.86
- v1.1.85
- v1.1.84
- v1.1.83
- v1.1.82
- v1.1.81
- v1.1.80
- v1.1.79
- v1.1.78
- v1.1.77
- v1.1.76
- v1.1.75
- v1.1.74
- v1.1.73
- v1.1.72
- v1.1.71
- v1.1.70
- v1.1.69
- v1.1.68
- v1.1.67
- v1.1.66
- v1.1.65
- v1.1.64
- v1.1.63
- v1.1.62
- v1.1.61
- v1.1.60
- v1.1.59
- v1.1.58
- v1.1.57
- v1.1.56
- v1.1.55
- v1.1.54
- v1.1.53
- v1.1.52
- v1.1.51
- v1.1.50
- v1.1.49
- v1.1.48
- v1.1.47
- v1.1.46
- v1.1.45
- v1.1.44
- v1.1.43
- v1.1.42
- v1.1.41
- v1.1.40
- v1.1.39
- v1.1.38
- v1.1.37
- v1.1.36
- v1.1.35
- v1.1.34
- v1.1.33
- v1.1.32
- v1.1.31
- v1.1.30
- v1.1.29
- v1.1.28
- v1.1.27
- v1.1.26
- v1.1.25
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.0
- v1.0.1
- v1.0.0
- dev-development
This package is auto-updated.
Last update: 2024-11-14 03:42:15 UTC
README
A set of custom PHP Exception based on HTTP Status Code.
Requirements
- PHP 8.1
Instalation
composer require thingston/http-exception
Usage
Please check the Documentation.
Testing
Available Composer scripts:
composer run test
- Runs all tests using PHPUnit.composer run coverage:text
- Runs all tests using PHPUnit and generates a coverage report to the console.composer run coverage:clover
- Runs all tests using PHPUnit and generates an XML coverage report to filecoverage.xml
.composer run coverage:html
- Runs all tests using PHPUnit and generates an XML coverage report to directorycoverage
.composer run coverage:check
- Runs thecoverage:clover
script and checks the code coverage rate (requires >= 90%).composer run analyze
- Runs the PHPStan static analysis and displays the results to the console.composer run cs
- Runs the Code Sniffer static analysis and displays any errors to the console.composer run cbf
- Runs the Code Sniffer code fixer and displays the results to the console.composer run checks
- Runs the scriptscs
,analyze
andcoverage:check
and displays the results to the console.