How to install zend 2 using composer?



How to install zend 2 using composer?..

Answer / Dhramveer Singh

To install Zend Framework 2 using Composer, follow these steps:
1. Make sure that you have Composer installed on your system. If not, download it from https://getcomposer.org/.
2. Create a new project directory and navigate to it in the terminal or command prompt.
3. Run the following command to require Zend Framework 2: `composer require zendframework/zend-expressive` (This installs the Expressive version of Zend Framework, which includes ZF2.)
4. Update your composer.json file with any necessary dependencies.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

What is the way in which the html can be used to form elements?

1 Answers  


What are the basic operations performed by the decorator?

1 Answers  


What is a module in zend framework 2?

1 Answers  


How to install zend framework on windows?

1 Answers  


What is service manager in zend framework?

1 Answers  


What is routing and how it's work?

1 Answers  


What is zend engine in php?

1 Answers  


Explain filters in zend framework with examples?

0 Answers  


What are decorators in the zend framework?

1 Answers  


How to add a view helper directory (zend framework)?

1 Answers  


How to include css from controller and view in zend

1 Answers  


What is zend framework?

1 Answers  


Categories