PHP code example of laminas / laminas-development-mode

1. Go to this page and download the library: Download laminas/laminas-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/ */

    

laminas / laminas-development-mode example snippets


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

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