Download the PHP package meiko-kod/auth without Composer
On this page you can find all versions of the php package meiko-kod/auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download meiko-kod/auth
More information about meiko-kod/auth
Files in meiko-kod/auth
Package auth
Short Description Configureable authentication and registration template for NTLM, LDAP and Database authentication
License BSD-3-Clause
Homepage http://framework.zend.com/
Informations about the package auth
MEIKO Login Template
Introduction
This is a skeleton application with authentication using the Zend Framework MVC layer and module systems.
Installation using Composer
The easiest way to create project with this template is to use Composer. If you don't have it already installed, then please install as per the documentation.
To create your new project:
After installation you can set up your project by using
Development mode
The skeleton ships with zf-development-mode by default, and provides three aliases for consuming the script it ships with:
You may provide development-only modules and bootstrap-level configuration in
config/development.config.php.dist
, and development-only application
configuration in config/autoload/development.local.php.dist
. Enabling
development mode will copy these files to versions removing the .dist
suffix,
while disabling development mode will remove those copies.
Development mode is automatically enabled as part of the skeleton installation process.
After making changes to one of the above-mentioned .dist
configuration files you will
either need to disable then enable development mode for the changes to take effect,
or manually make matching updates to the .dist
-less copies of those files.
Running Unit Tests
To run the supplied skeleton unit tests, you need to do one of the following:
- During initial project creation, select to install the MVC testing support.
- After initial project creation, install zend-test:
Once testing support is present, you can run the tests using:
If you need to make local modifications for the PHPUnit test setup, copy
phpunit.xml.dist
to phpunit.xml
and edit the new file; the latter has
precedence over the former when running tests, and is ignored by version
control. (If you want to make the modifications permanent, edit the
phpunit.xml.dist
file.)
Web server setup
Apache setup
To setup apache, setup a virtual host to point to the public/ directory of the project and you should be ready to go! It should look something like below:
Nginx setup
To setup nginx, open your /path/to/nginx/nginx.conf
and add an
include directive below
into http
block if it does not already exist:
Create a virtual host configuration file for your project under /path/to/nginx/sites-enabled/zfapp.localhost.conf
it should look something like below:
Restart the nginx, now you should be ready to go!
All versions of auth with dependencies
zendframework/zend-component-installer Version ^1.0 || ^0.7 || ^1.0.0-dev@dev
zendframework/zend-mvc Version ^3.0.1
zendframework/zend-db Version ^2.9
zendframework/zend-log Version ^2.9
zendframework/zend-mvc-i18n Version ^1.0
zendframework/zend-mvc-plugins Version ^1.0.1
zendframework/zend-psr7bridge Version ^0.2.2
zendframework/zend-session Version ^2.7.1
zendframework/zend-servicemanager-di Version ^1.0
zendframework/zend-authentication Version ^2.6
zendframework/zend-ldap Version ^2.9
meiko-kod/helper Version ^1.0