Vijay Choudhary
Vijay Choudhary

Reputation: 848

zend framework 2 simple integration

I am planning to build a project using zend framework 2. But i find it very hard to setup zf2. It is not easy to setup the framework and start working.

What i am looking is copy required zf2 files, put into the project and start working.

Like in cakephp where you need to make changes in database configurations and start working.

Can anybody help for this issue. this will be useful for many other developers also. Thanks in advance for any help.

Upvotes: 3

Views: 763

Answers (3)

vascowhite
vascowhite

Reputation: 18440

I had the same issue as you. I found the Skeleton application easy and quick to install, but I didn't need the translations that are included. As a result I created a stripped down, bare bones version which you are welcome to use.

You will find the ZendMinimumApplication on github.

Upvotes: 0

Sam
Sam

Reputation: 16455

Setting up ZF2 without the use of the command line is MUCH more of a pita than using it. Sure, you can download the SkeletonApplication and then you can Download ZF2 Core Library and put it into your include_path, but that's not too great.

I really suggest learning about the command line. I'm a windows user myself and hated it at first, but after getting around the first problems, i - now - find it really handy.

If you have trouble setting up your stuff or understanding it all, you may find my tutorial helpful which you can find right here: Zend Framework 2 Installation on Xampp for Windows

Upvotes: 0

Daniel M
Daniel M

Reputation: 3379

Have you tried the SkeletonApplication? It provides everything you need: Pre-setup bootstrapping, the directory structure, a basic application configuration.

Just clone it into your web directory and make sure that vendor/ZF2 gets cloned as well (--recursive flag).

This is currently the easiest approach to get started with a new ZF2 project.

If you need further assistance, please state your question more specificly.

// Edit: Although it makes sense to use composer or at least git to pull everything directly, you can just download the project (SekeletonApplication and ZF2) from Git. In my opinion, you shouldn't be too lazy here. Using composer etc. will save you a lot of time that you can spend on implementation.

Upvotes: 1

Related Questions