Download the PHP package 19ft/nf-development-mode without Composer

On this page you can find all versions of the php package 19ft/nf-development-mode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nf-development-mode

NFDevelopmentMode

UPDATE: There is now an offical version of this module at
https://github.com/zfcampus/zf-development-mode

This ZF2 development mode module is an extraction of the Apigility Skeleton's Development Mode Controller to its own module for use in ZF2 applications.

Installation with Composer

  1. Add "19ft/nf-development-mode": "1.*" to the "require" section your composer.json file and run php composer.phar update.
  2. Copy development.config.dist to config/development.config.dist and edit as required. Commit this file to your VCS.
  3. Add any development modules to the "require-dev" section of your application's composer.json. e.g:

    "zendframework/zend-developer-tools": "dev-master",
    "zendframework/zftool": "dev-master"

    and run composer.update.

  4. If you're using Zend Developer Tools, Copy ./vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.dist to ./config/autoload/zenddevelopertools.local.php. Change any settings in it according to your needs.
  5. Add 'NFDevelopmentMode' to the list of Modules in your config/application.config.php file.
  6. In public/index.php, replace these lines:

    // Run the application!
    Zend\Mvc\Application::init(require 'config/application.config.php')->run();

    with

    // Config
    $appConfig = include APPLICATION_PATH . '/config/application.config.php';
    
    if (file_exists(APPLICATION_PATH . '/config/development.config.php')) {
        $appConfig = Zend\Stdlib\ArrayUtils::merge($appConfig, include APPLICATION_PATH . '/config/development.config.php');
    }
    
    // Run the application!
    Zend\Mvc\Application::init($appConfig)->run();

To enable development mode

cd path/to/install
php public/index.php development enable

To disable development mode

cd path/to/install
php public/index.php development disable

Note: Don't run development mode on your production server.


All versions of nf-development-mode with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
zendframework/zend-console Version >=2.2.2
zendframework/zend-mvc Version >=2.2.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package 19ft/nf-development-mode contains the following files

Loading the files please wait ....