The BIM.works PHP packages can be installed from a private Composer package registry.

Where

Address: https://composer.bim.works

Username: Company wide username (to be supplied)

Password: To be supplied

<aside> 💡 Please refer to you company’s Portal, or email [email protected] to get your credentials

</aside>

Installation

Add the BIM.works Composer Registry to your composer.json file:

    "repositories": [{
        "type": "composer",
        "url": "https://composer.bim.works"
    }]

To pass the credentials, create a file called auth.json:

{
    "http-basic": {
        "composer.bim.works": {
            "username": "[USERNAME]",
            "password": "[PASSWORD]"
        }
    }
}

Then add the BIM.works PHP SDK dependency to your composer.json:

"require": {
      "bimbase/bimworks": "2.0.0-b.116"
}

After this you should be able to install/update the dependencies using your preferred method of executing Composer.

SDK Use