Download the PHP package squaresandbrackets/craft-status-code without Composer
On this page you can find all versions of the php package squaresandbrackets/craft-status-code. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download squaresandbrackets/craft-status-code
More information about squaresandbrackets/craft-status-code
Files in squaresandbrackets/craft-status-code
Download squaresandbrackets/craft-status-code
More information about squaresandbrackets/craft-status-code
Files in squaresandbrackets/craft-status-code
Vendor squaresandbrackets
Package craft-status-code
Short Description Returns the HTTP status code within twig templates
License MIT
Package craft-status-code
Short Description Returns the HTTP status code within twig templates
License MIT
Please rate this library. Is it a good library?
Informations about the package craft-status-code
Status Code plugin for Craft CMS 3.x
Returns the HTTP status code within twig templates by simply calling craft.getHttpStatus()
,
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require squaresandbrackets/craft-status-code
- In the Control Panel, go to Settings → Plugins and click the “Install” button for Status Code.
How to use it in your twig template
{{ craft.getHttpStatus() }}
- Release it
Brought to you by Squares And Brackets
All versions of craft-status-code with dependencies
PHP Build Version
Package Version
Requires
craftcms/cms Version
^3.0.0-RC9
The package squaresandbrackets/craft-status-code contains the following files
Loading the files please wait ....