Download the PHP package ph-7/just-http-status-codes without Composer
On this page you can find all versions of the php package ph-7/just-http-status-codes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ph-7/just-http-status-codes
More information about ph-7/just-http-status-codes
Files in ph-7/just-http-status-codes
Package just-http-status-codes
Short Description Just all HTTP status codes
License MIT
Homepage https://pierrehenry.be
Informations about the package just-http-status-codes
Just HTTP Status Codes
Empowers your projects with elegant clean practices ๐ซ
- ๐ Overview
- โ๏ธ PHP Requirement
- ๐คฉ Usage
- ๐งโ๐ณ About
- ๐บ Watch How I've Built It
- โ๏ธ Who I Am
- โ๏ธ License
๐ Overview
Simplest. Clean. Efficient. Just what your project needs ๐งน
Don't hardcode HTTP status codes. Magic numbers (hard-coded numbers) make your code hard to read and understood.
When you have all status codes are stored in readable constants, it makes the development of your application so easy and enjoyable.
It prevents you from using the wrong HTTP status code and saves time and energy when developing an API that involves various HTTP status codes to be sent.
๐ PHP Requirement
PHP v7.3 or newer ๐
๐ Installation
If you don't already use composer in your project, include Composer's autoload as below in the main index file, bootstrap or in another file that is always included in all pages.
๐ฅณ Usage
Just use the beautiful HTTP status code you need.
Like below ๐
๐ช Building this library, together! ๐
๐ Click here to watch on YouTube
๐งโ๐ณ Who made this...?
Pierre-Henry Soria, a highly passionate, zen & pragmatic software engineer ๐
๏ธโ๏ธ Are you enjoying it? Offer me a coffee (what's your favorite coffee? Mine is almond flat white ๐)
โ๏ธ License
Just HTTP StatusCodes is generously distributed under the MIT ๐ Enjoy!