2017 © Pedro Peláez
 

craft-plugin craft-status-code

Returns the HTTP status code within twig templates

image

squaresandbrackets/craft-status-code

Returns the HTTP status code within twig templates

  • Tuesday, May 29, 2018
  • by squaresandbrackets
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Status Code plugin for Craft CMS 3.x

Returns the HTTP status code within twig templates by simply calling craft.getHttpStatus(),, (*1)

Screenshot, (*2)

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later., (*3)

Installation

To install the plugin, follow these instructions., (*4)

  1. Open your terminal and go to your Craft project:, (*5)

    cd /path/to/project
  2. Then tell Composer to load the plugin:, (*6)

    composer require squaresandbrackets/craft-status-code
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Status Code., (*7)

How to use it in your twig template

    {{ craft.getHttpStatus() }}
  • Release it

Brought to you by Squares And Brackets, (*8)

The Versions

29/05 2018

dev-master

9999999-dev

Returns the HTTP status code within twig templates

  Sources   Download

MIT

The Requires

 

cms status code craftcms craft-plugin craft

29/05 2018

dev-dev

dev-dev

Returns the HTTP status code within twig templates

  Sources   Download

MIT

The Requires

 

cms status code craftcms craft-plugin craft

07/03 2018

1.0.2

1.0.2.0

Returns the HTTP status code within twig templates

  Sources   Download

MIT

The Requires

 

cms status code craftcms craft-plugin craft

13/02 2018

1.0.1

1.0.1.0

Returns the HTTP status code within twig templates

  Sources   Download

MIT

The Requires

 

cms status code craftcms craft-plugin craft

12/02 2018

1.0.0

1.0.0.0

Returns the HTTP status code within twig templates

  Sources   Download

MIT

The Requires

 

cms status code craftcms craft-plugin craft