Navigate to your project's folder within your terminal and run the following:
composer config repositories.UCI_OIT composer https://packagist.oit.uci.edu/
Once you have the config in your composer.json file, you may require or update that package like any other public composer package:
For example, composer require sait/laravel-ldap
This error is happening because these packages are hosted on our OIT GitHub. There are 2 ways to solve this:
.git/config
to use the SSH Version of the git repo URL.# URL Version [remote "origin"] url = https://github.oit.uci.edu/sait/repo_link_here.git # SSH Version [remote "origin"] url = git@github.oit.uci.edu:sait/repo_link_here.git
"config": { ..., "github-oauth":{"github.oit.uci.edu":"[[TOKEN_HERE]]"} },
Please contact Michael Millis via email or teams