Download the PHP package sitrunlab/learnzf2 without Composer

On this page you can find all versions of the php package sitrunlab/learnzf2. 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 learnzf2

LearnZF2 repository

Build Status Coverage Status Scrutinizer Code Quality SensioLabsInsight

Introduction

This is a repository for the "Learning Zend Framework" website and contains live modules that you can view or download directly.

Installation

1.Use Composer:

2.Use Bower to install asset dependencies. Install NodeJs dan run :

3.This is the output of the Bower installation process.

Check that Bower was installed successfully :

The output should look like this:

[optional] If there was no output, try installing nodejs-legacy

4.Copy config/autoload/doctrine.local.php.dist to config/autoload/doctrine.local.php and configure it with your current environment.

5.Run doctrine migrations

Web Server Setup

PHP CLI Server

The easiest way to begin in PHP 5.4 or higher is by running this script:

php -S 0.0.0.0:8080 -t public/ public/index.php

The script above will start "cli-server" on port 8080 and affect all network interfaces.

Warning: The built in CLI-Server is for development only!

Apache Setup

<VirtualHost *:80>
    ServerName learnzf2.localhost
    DocumentRoot /path/to/LearnZF2/public
    SetEnv APPLICATION_ENV "development"
    <Directory /path/to/learnzf2.localhost/public>
        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

Nginx Setup

Create a new file named "learnzf2.localhost"

sudo gedit /etc/nginx/sites-available/learnzf2.localhost

And filled it with these scripts.

server {
      listen      80;
      server_name learnzf2.localhost;
      root        /path/to/LearnZF2/public;
      index       index.html index.htm index.php;

      location / {
        try_files $uri $uri/ /index.php$is_args$args;
      }

      location ~ \.php$ {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include        fastcgi_params;
      }
}

Create a symlink to the "sites-enabled" directory

sudo ln -s /etc/nginx/sites-available/learnzf2.localhost /etc/nginx/sites-enabled/learnzf2.localhost

Restart the Nginx service.

sudo service nginx restart

NOTE : Don't forget to add a "virtual hostname" to the host file.

The host file location in Windows is :

C:\Windows\System32\Drivers\etc\hosts

The host file location in Linux is :

sudo gedit /etc/hosts

And add this line :

127.0.0.1 learnzf2.localhost

All versions of learnzf2 with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
zendframework/zendframework Version ^2.5.2
zendframework/zftool Version dev-master
doctrine/doctrine-orm-module Version ~0.9.0
doctrine/migrations Version ~1.1
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 sitrunlab/learnzf2 contains the following files

Loading the files please wait ....