2017 © Pedro Peláez
 

fuel-package fuelphp-maintenance

FuelPHP 1.x Maintenance Package

image

hinashiki/fuelphp-maintenance

FuelPHP 1.x Maintenance Package

  • Saturday, January 17, 2015
  • by hinashiki
  • Repository
  • 1 Watchers
  • 3 Stars
  • 2,047 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

fuelphp-maintenance

add maintenance mode to FuelPHP.
this is FuelPHP package. if you want to use, please use as package.
How to install : http://fuelphp.com/docs/general/packages.html#/installing, (*1)

Basic usage

throw as below., (*2)

throw new \HttpServerMaintenanceException("your maintenance message.");

Set maintenance mode

create fuel/app/config/maintenance.php
please set like this., (*3)

return array(
  "maintenance_mode" => true
);

and insert into Conrtoller::before() as below., (*4)

MaintenanceMode::check();

It's displayed maintenance page forcedly.
if you turn off it, please set maintenance_mode => false., (*5)

Change maintenance view

create fuel/app/views/503.php and customize it., (*6)

Change maintenance view file

if you want to change maintenace view file from default(503.php),
please create fuel/app/config/maintenance.php and set like this., (*7)

return array(
  // defalut = "503"
  "view" => "your_maintenance_view"
);

The Versions

17/01 2015

dev-develop

dev-develop https://github.com/hinashiki/fuelphp-maintenance

FuelPHP 1.x Maintenance Package

  Sources   Download

MIT

The Requires

 

by Avatar hinashiki

17/01 2015

dev-master

9999999-dev https://github.com/hinashiki/fuelphp-maintenance

FuelPHP 1.x Maintenance Package

  Sources   Download

MIT

The Requires

 

by Avatar hinashiki

17/01 2015

0.2.0

0.2.0.0 https://github.com/hinashiki/fuelphp-maintenance

FuelPHP 1.x Maintenance Package

  Sources   Download

MIT

The Requires

 

by Avatar hinashiki