PHP code example of zfcampus / zf-development-mode

1. Go to this page and download the library: Download zfcampus/zf-development-mode library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zfcampus / zf-development-mode example snippets


// Run the application!
Zend\Mvc\Application::init(

// Config
$appConfig = g/development.config.php')) {
    $appConfig = Zend\Stdlib\ArrayUtils::merge($appConfig, 
bash
$ php public/index.php development enable  # enable development mode
$ php public/index.php development disable # disable development mode