Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PHP Sub-Modules
How to free Symfony2 from the sandbox tutorial (with some help from Git)
http://symfony2tips.blogspot.com/2011/02/how-to-free-symfony2-from-sandbox.html
touch README.md
mkdir -p src/vendor
# Symfony
git submodule add git://github.com/fabpot/symfony.git src/vendor/symfony
# Twig
git submodule add git://github.com/fabpot/Twig.git src/vendor/twig/core
git submodule add git://github.com/fabpot/Twig-extensions.git src/vendor/twig/extensions
# Doctrine ORM
mkdir src/vendor/doctrine
mkdir src/vendor/doctrine/odm
git submodule add git://github.com/doctrine/common.git src/vendor/doctrine/common
git submodule add git://github.com/doctrine/doctrine2.git src/vendor/doctrine/orm
git submodule add git://github.com/doctrine/dbal.git src/vendor/doctrine/dbal
git submodule add git://github.com/doctrine/migrations.git src/vendor/doctrine/migrations
git submodule add git://github.com/doctrine/mongodb.git src/vendor/doctrine/mongodb
git submodule add git://github.com/doctrine/mongodb-odm.git src/vendor/doctrine/odm/mongodb
# git submodule add git://github.com/doctrine/couchdb-odm.git src/vendor/doctrine/odm/couchdb
git submodule add git://github.com/doctrine/rest.git src/vendor/doctrine/rest
git submodule add git://github.com/doctrine/data-fixtures.git src/vendor/doctrine/fixtures
git submodule add git://github.com/beberlei/DoctrineExtensions.git src/vendor/doctrine/extensions
# Swift
git submodule add git://github.com/swiftmailer/swiftmailer.git src/vendor/swiftmailer
# Zend
git submodule add git://github.com/zendframework/zf2.git src/vendor/zend
# PHPUnit
git submodule add git://github.com/sebastianbergmann/php-file-iterator.git src/vendor/phpunit/file_iterator
git submodule add git://github.com/sebastianbergmann/php-token-stream.git src/vendor/phpunit/token_stream
git submodule add git://github.com/sebastianbergmann/php-text-template.git src/vendor/phpunit/text_template
git submodule add git://github.com/sebastianbergmann/php-timer.git src/vendor/phpunit/timer
git submodule add git://github.com/sebastianbergmann/php-code-coverage.git src/vendor/phpunit/code_coverage
git submodule add git://github.com/sebastianbergmann/phpunit.git src/vendor/phpunit/core
git submodule add git://github.com/sebastianbergmann/phpunit-mock-objects.git src/vendor/phpunit/mocks
git submodule add git://github.com/sebastianbergmann/phpunit-selenium.git src/vendor/phpunit/selenium
git submodule add git://github.com/sebastianbergmann/dbunit.git src/vendor/phpunit/db
# Bundles
git submodule add git://github.com/sensio/FrameworkExtraBundle.git src/Bundle/Sensio/FrameworkExtraBundle
# Goutte
git submodule add git://github.com/fabpot/Goutte.git src/vendor/goutte
# Buzz
git submodule add git://github.com/kriswallsmith/Buzz.git src/vendor/buzz
# Facebook
git submodule add git://github.com/facebook/php-sdk.git src/vendor/facebook/sdk
mkdir -p web/static
git submodule add git://github.com/facebook/connect-js.git web/static/facebook/connect
# YUI
git submodule add git://github.com/yui/yui3.git web/static/yui3
git submodule add git://github.com/yui/yui3-gallery.git web/static/yui3-gallery
### Update submodules submodules
git submodule update --init --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.