Skip to main content
added 25 characters in body
Source Link
chrisl-921fb74d
  • 2.1k
  • 4
  • 17
  • 20

Git SubmodulesGit Submodules is a great way of managing git project dependanciesdependencies. 

If you're looking for another approach:

Composer can do this all for you. Composer is a dependancy manager for php. It's syntax is of json. It's rather easy and cheap to use.

More about composer:

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

On the documentation page, you can find an example of how your composer.json file would be constructed:

// Composer.json    
{

    "name": "acme/blog",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/composer/hello-world"
        }
    ],
    "require": {
        "acme/hello-world": "dev-master"
    }
}

Once you have your composer.json and composer.lock file created for your project you can then just install your dependancies easily:

composer.phar install or update them: composer.phar update or create a particular project from packagist: composer.phar create-project acmeproject

Git Submodules is a great way of managing git project dependancies. If you're looking for another approach:

Composer can do this all for you. Composer is a dependancy manager for php. It's syntax is of json. It's rather easy and cheap to use.

More about composer:

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

On the documentation page, you can find an example of how your composer.json file would be constructed:

// Composer.json    
{

    "name": "acme/blog",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/composer/hello-world"
        }
    ],
    "require": {
        "acme/hello-world": "dev-master"
    }
}

Once you have your composer.json and composer.lock file created for your project you can then just install your dependancies easily:

composer.phar install or update them: composer.phar update or create a particular project from packagist: composer.phar create-project acmeproject

Git Submodules is a great way of managing git project dependencies. 

If you're looking for another approach:

Composer can do this all for you. Composer is a dependancy manager for php. It's syntax is of json. It's rather easy and cheap to use.

More about composer:

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

On the documentation page, you can find an example of how your composer.json file would be constructed:

// Composer.json    
{

    "name": "acme/blog",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/composer/hello-world"
        }
    ],
    "require": {
        "acme/hello-world": "dev-master"
    }
}

Once you have your composer.json and composer.lock file created for your project you can then just install your dependancies easily:

composer.phar install or update them: composer.phar update or create a particular project from packagist: composer.phar create-project acmeproject

added 442 characters in body
Source Link
chrisl-921fb74d
  • 2.1k
  • 4
  • 17
  • 20

Git Submodules is a great way of managing git project dependancies. If you're looking for another approach:

Composer can do this all for you. Composer is a dependancy manager for php. It's syntax is of json. It's rather easy and cheap to use.

More about composer:

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

On the documentation page, you can find an example of how your composer.json file would be constructed:

// Composer.json    
{

    "name": "acme/blog",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/composer/hello-world"
        }
    ],
    "require": {
        "acme/hello-world": "dev-master"
    }
}

Once you have your composer.json and composer.lock file created for your project you can then just install your dependancies easily:

composer.phar install or update them: composer.phar update or create a particular project from packagist: composer.phar create-project acmeproject

Composer can do this all for you. Composer is a dependancy manager for php. It's syntax is of json. It's rather easy and cheap to use.

More about composer:

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

On the documentation page, you can find an example of how your composer.json file would be constructed:

// Composer.json    
{

    "name": "acme/blog",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/composer/hello-world"
        }
    ],
    "require": {
        "acme/hello-world": "dev-master"
    }
}

Git Submodules is a great way of managing git project dependancies. If you're looking for another approach:

Composer can do this all for you. Composer is a dependancy manager for php. It's syntax is of json. It's rather easy and cheap to use.

More about composer:

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

On the documentation page, you can find an example of how your composer.json file would be constructed:

// Composer.json    
{

    "name": "acme/blog",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/composer/hello-world"
        }
    ],
    "require": {
        "acme/hello-world": "dev-master"
    }
}

Once you have your composer.json and composer.lock file created for your project you can then just install your dependancies easily:

composer.phar install or update them: composer.phar update or create a particular project from packagist: composer.phar create-project acmeproject

Source Link
chrisl-921fb74d
  • 2.1k
  • 4
  • 17
  • 20

Composer can do this all for you. Composer is a dependancy manager for php. It's syntax is of json. It's rather easy and cheap to use.

More about composer:

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

On the documentation page, you can find an example of how your composer.json file would be constructed:

// Composer.json    
{

    "name": "acme/blog",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/composer/hello-world"
        }
    ],
    "require": {
        "acme/hello-world": "dev-master"
    }
}