Skip to content
Barry O'Donovan edited this page Jun 4, 2013 · 2 revisions

This is a clone of the actual code / library files only of https://github.com/zendframework/zf1 and it is updated hourly.

To create your own version, first create an empty repository $REPO and then in $PREFIX:

cd $PREFIX
git clone https://github.com/zendframework/zf1.git zend-zf1
git clone $REPO your-zf1

Then use the following script:

#!/bin/bash

cd $PREFIX/zend-zf1/
git pull
cd $PREFIX
rsync -a --delete $PREFIX/zend-zf1/library/Zend/* $PREFIX/your-zf1/
cd $PREFIX/your-zf1
git add -A
git commit -am 'Automated update / sync from https://github.com/zendframework/zf1.git'
git push $REPO master

Note that in the last repo, you can embed your username and password as follows:

https://username:[email protected]/user/repo.git
Clone this wiki locally