- Download and unzip ZendFramework2
- Install composer:
curl -sS https://getcomposer.org/installer | php
Composer successfully installed to: /var/www/newsite/ZendFramework/composer.phar
Use it: php composer.phar Update composer: php composer.phar self-update
- Install composer: php composer.phar install
root@lamp newsite/ZendFramework# php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing ircmaxell/security-lib (dev-master d63da10)
Cloning d63da10d863b819289059de850c920b1cd98204d
- Installing ircmaxell/random-lib (dev-master bfbe6a7)
Cloning bfbe6a730f368979a98c636d1aa16c868111a2b1
- Installing doctrine/lexer (v1.0)
Downloading: 100%
- Installing doctrine/annotations (v1.1.2)
Downloading: 100%
- Installing backplane/zendframework (2.2.5)
Downloading: 100%
- Installing ocramius/proxy-manager (0.4.1)
Downloading: 100%
- Installing sebastian/diff (1.1.0)
Downloading: 100%
- Installing symfony/finder (v2.4.1)
Downloading: 100%
- Installing symfony/filesystem (v2.4.1)
Downloading: 100%
- Installing symfony/console (v2.4.1)
Downloading: 100%
- Installing fabpot/php-cs-fixer (dev-master c644477)
Cloning c644477c7f16396613a9b5d702217e4aaa1b21ad
- Installing symfony/yaml (v2.4.1)
Downloading: 100%
- Installing phpunit/php-text-template (1.1.4)
Downloading: 100%
- Installing phpunit/phpunit-mock-objects (1.2.3)
Downloading: 100%
- Installing phpunit/php-timer (1.0.5)
Downloading: 100%
- Installing phpunit/php-token-stream (1.2.1)
Downloading: 100%
- Installing phpunit/php-file-iterator (1.3.4)
Downloading: 100%
- Installing phpunit/php-code-coverage (1.2.13)
Downloading: 100%
- Installing phpunit/phpunit (3.7.28)
Downloading: 100%
backplane/zendframework suggests installing ext-intl (ext/intl for i18n features (included in default builds of PHP))
backplane/zendframework suggests installing zendframework/zendpdf (ZendPdf for creating PDF representations of barcodes)
backplane/zendframework suggests installing zendframework/zendservice-recaptcha (ZendService\ReCaptcha for rendering ReCaptchas in Zend\Captcha and/or Zend\Form)
symfony/console suggests installing symfony/event-dispatcher ()
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.0.5)
phpunit/phpunit suggests installing phpunit/php-invoker (>=1.1.0,<1.2.0)
Writing lock file
Generating autoload files
root@lamp newsite/ZendFramework# - Install the ZFtool: php composer.phar require zendframework/zftool:dev-master
root@lamp newsite/ZendFramework# php composer.phar require zendframework/zftool:dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing zendframework/zftool (dev-master d73bf6f)
Cloning d73bf6f0ae6ce9b92acc72ecc8f336e2352f3ae0
Writing lock file
Generating autoload files - Create Project: php -f vendor/bin/zf.php create project performerZF2 skeleton application installed in performer.
In order to execute the skeleton application you need to install the ZF2 library.
Execute: "composer.phar install" in performer
For more info in performer/README.md - cd performer
- composer.phar install
- php -f ../vendor/bin/zf.php create module adminThe module Admin has been created
- mv performer ../
- Set Document Root to /var/www/newsite/performer/public
Monday, 6 January 2014
Getting Started With ZendFramework2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment