-
-
Save simtabi/e3d26329b2c3011f3b9f477d7abc8de8 to your computer and use it in GitHub Desktop.
Revisions
-
ziadoz revised this gist
Aug 4, 2016 . 2 changed files with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,6 @@ } ], "require": { "${project}": "dev-${branch}" } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,6 @@ } ], "require": { "${project}": "dev-${branch}" } } -
ziadoz revised this gist
Jan 15, 2016 . 2 changed files with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ "repositories": [ { "type": "path", "url": "../relative/project/path" } ], "require": { This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ "repositories": [ { "type": "vcs", "url": "/absolute/project/path" } ], "require": { -
ziadoz revised this gist
Jan 15, 2016 . 2 changed files with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ { "repositories": [ { "type": "path", "url": "../relative/path/to/local/project/vcs" } ], "require": { This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ { "repositories": [ { "type": "vcs", "url": "/path/to/local/project/vcs" } ], "require": { -
ziadoz revised this gist
Jan 15, 2016 . 3 changed files with 29 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ { "repositories": [ { "type":"path", "url":"../relative/path/to/local/project/vcs" } ], "require": { "local-project": "dev-branch-name" } } File renamed without changes.This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,27 @@ # Notes You can pull in a local project (e.g. for testing changes) using either `vcs` or `path` repository types in Composer: ## VCS Put the path to the local project VCS (Git, Hg, SVN etc) in the `url` field. See: `composer_vcs.json` ## Path Put the relative path to the local project in the `url` field. See: `composer_path.json` ## Branch Prefix the branch name you want to use with `dev-`, so `my-branch` becomes `dev-my-branch`. # Links [Install a Local Package with Composer](http://marekkalnik.tumblr.com/post/22929686367/composer-installing-package-from-local-git) [Using a Branch as a Dependency in Composer](http://www.lornajane.net/posts/2014/use-a-github-branch-as-a-composer-dependency) [Composer Path Repositories](https://getcomposer.org/doc/05-repositories.md#path) -
ziadoz revised this gist
Jul 22, 2015 . No changes.There are no files selected for viewing
-
ziadoz revised this gist
Jul 22, 2015 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,11 @@ # Notes Put the path to the local project VCS (Git, Hg, SVN etc) in the `url` field. Prefix the branch name with `dev-`, so `my-branch` becomes `dev-my-branch`. # Links [Install a Local Package with Composer](http://marekkalnik.tumblr.com/post/22929686367/composer-installing-package-from-local-git) [Using a Branch as a Dependency in Composer](http://www.lornajane.net/posts/2014/use-a-github-branch-as-a-composer-dependency) -
ziadoz revised this gist
Jul 22, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,5 @@ [Using a Branch as a Dependency in Composer](http://www.lornajane.net/posts/2014/use-a-github-branch-as-a-composer-dependency) Put the path to the local project VCS (Git, Hg, SVN etc) in the `url` field. Prefix the branch name with `dev-`, so `my-branch` becomes `dev-my-branch`. -
ziadoz created this gist
Jul 22, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ { "repositories": [ { "type":"vcs", "url":"/path/to/local/project/vcs" } ], "require": { "local-project": "dev-branch-name" } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # Notes [Install a Local Package with Composer](http://marekkalnik.tumblr.com/post/22929686367/composer-installing-package-from-local-git) [Using a Branch as a Dependency in Composer](http://www.lornajane.net/posts/2014/use-a-github-branch-as-a-composer-dependency) Put the path to the local project VCS (Git, Hg, SVN etc) in the `url` field. Prefix the branch name with `dev-`, so `my-branch` becomes `dev-my-branch`.