Showing
1 changed file
with
23 additions
and
0 deletions
| 1 | +# How to use package | ||
| 2 | +1. Add this code into composer.json of your project | ||
| 3 | +``` | ||
| 4 | +"repositories": [ | ||
| 5 | + { | ||
| 6 | + "type": "vcs", | ||
| 7 | + "url": "git@gitlab.monotos.biz:pvduc/daito-utils.git" | ||
| 8 | + } | ||
| 9 | + ] | ||
| 10 | +``` | ||
| 11 | +2. Run command to install package | ||
| 12 | +``` | ||
| 13 | +# we use master branch | ||
| 14 | +# if has any changes it will request to last commit of Master branch default | ||
| 15 | +composer require pvduc/daito-utils:dev-master | ||
| 16 | +``` | ||
| 17 | + | ||
| 18 | +#### **Note**: | ||
| 19 | + | ||
| 20 | +If package changes, to project updates new changes | ||
| 21 | +``` | ||
| 22 | +composer update pvduc/daito-utils:dev-master | ||
| 23 | +``` | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment