couchbase / docs-sdk-php

The PHP SDK documentation source files used in the new Couchbase Docs site.
https://docs.couchbase.com
Other
2 stars 14 forks source link

DOC-10078 - Minor Getting Started improvements and Composer setup. #101

Closed maria-robobug closed 2 years ago

maria-robobug commented 2 years ago

It seems 4.0 can now be pulled from packagist with composer, amending documentation to show this in the quick and full installation.

I've added a composer.json file for running our examples as well, which makes things much easier.

All examples will need to require autoload.php at the beginning of the file, but that is a minor inconvenience. Note, when running composer, a vendor directory with the required dependencies will be created/updated in the root of the project. This is how we are able to reference the autoload.php file.