Set up Zend Framework Skeleton Application on Mac Step by Step
来源:互联网 发布:vb与c#语法区别大吗 编辑:程序博客网 时间:2024/05/02 03:05
1.Install Composer
Follow Composer official guide and install it locally: https://getcomposer.org/download/
Run the following commands:
$ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"$ php -r "if (hash_file('SHA384', 'composer-setup.php') === '070854512ef404f16bac87071a6db9fd9721da1684cd4589b1196c3faf71b9a2682e2311b36a5079825e155ac7ce150d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"$ php composer-setup.php$ php -r "unlink('composer-setup.php');"
Here is the screenshot of what I did:
I got a warning about OpenSSL version, we can just ignore it for now.
Now I can see that composer.phar has been created in my file system:
2.Verify that Composer is installed successfully:
Since I installed Composer locally, so when I need to run Composer, I need to cd into the installation path, and run
$ php composer.phar
If you want to install Composer globally, you can follow this guide: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx
3. Install ZendSkeletonApplication
Follow the instruction on the Github repository: https://github.com/zendframework/ZendSkeletonApplication
Here I want to clone the application in "zend" folder, so I run this command:
$ php composer.phar create-project -n -sdev zendframework/skeleton-application zend
The screenshot:
....
4. Verify that ZendSkeletonApplication has been installed successfully
We can see that a "zend" folder is created and the application files are placed inside:
Start apache server(my apache root directory is parent folder of "mysites"), go to http://localhost/mysites/zend/public/
We can see the skeleton application running:
- Set up Zend Framework Skeleton Application on Mac Step by Step
- Set Up Highcharts Export Server On Ubuntu Server 12.04: Step by Step
- Developing a Spring Framework MVC application step-by-step
- Developing a Spring Framework MVC application step-by-step
- subversion on Mac OS X step by step
- OpenCV on Mac OSX: A step-by-step guide
- Step by step guide to set up master and slave machines
- step-by-step构造Jersey Web Application
- ADO.NET Entity Framework step by step
- Spring起步例子 “Developing a Spring Framework MVC application step-by-step” 剖析 (一)
- Spring起步例子 “Developing a Spring Framework MVC application step-by-step” 剖析(二)
- Spring起步例子 “Developing a Spring Framework MVC application step-by-step” 剖析(三)
- Spring起步例子 “Developing a Spring Framework MVC application step-by-step” 剖析 (一)
- Install Oracle on RHEL5 - step by step
- Step by step tutorial to setup a JBoss Seam application
- Enterprise Library Validation Application Block Step by Step (1)
- Enterprise Library Validation Application Block Step by Step (2)
- Enterprise Library Validation Application Block Step by Step (3)
- UCloud可用区的设计理念及功能图文详解
- linux目录管理命令
- 缺这两点的Scrum注定失败(送书)
- 资深码农谈编程——编程岁月
- Java设计模式(五) 多态的极致应用——组合模式
- Set up Zend Framework Skeleton Application on Mac Step by Step
- 操作系统之存储管理
- 常用正则表达式大全 (转)
- 蓝牙 电话 HFP 剖析(一) --- 概述
- Android App 测试常用代码
- Linux rescue模式解决误删软件依赖
- 蓝牙HFP 蓝牙电话剖析(二) --- AT command集合
- Docker 会议记录
- JAVA使用继承还是组合