-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
63 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Quick Start | ||
=========== | ||
|
||
Requirements | ||
------------ | ||
|
||
* PHP >= 7, < 9 | ||
* cURL extension | ||
|
||
Installation | ||
------------ | ||
|
||
You must install this library through Composer: | ||
|
||
.. code-block:: bash | ||
composer require php-opencloud/openstack | ||
If you do not have Composer installed, please read the `Composer installation instructions`_. | ||
|
||
Include the autoloader | ||
---------------------- | ||
|
||
Once you have installed the SDK as a dependency of your project, you will need to load Composer’s autoloader | ||
(which registers all the required namespaces). To do this, place the following line of PHP code at the top of your | ||
application’s PHP files: | ||
|
||
.. code-block:: php | ||
require 'vendor/autoload.php'; | ||
This assumes your application's PHP files are located in the same folder as ``vendor/``. If your files are located | ||
elsewhere, please supply the path to vendor/autoload.php in the require statement above. | ||
|
||
.. _Composer installation instructions: https://getcomposer.org/doc/00-intro.md |
This file contains 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 characters