Componette

Componette

download-cloud-line composer require proficlos/openstack-nette

GitHub version

OpenStack for Nette Framework

Install with composer

$ composer require proficlos/openstack-nette

How to use

Enable extension using neon

extensions:
	openstack: ProfiCloS\OpenStack\OpenStackExtension

Configure credentials

openstack:
	authVersion: v2.0
	authUrl: https://auth.cloud.ovh.net/v2.0/
	region: REGION
	userId: userIdentificator
	password: password
	projectId: projectTenant

Inject in presenter

/** @var \ProfiCloS\OpenStack @inject */
public $openStack;

Prepare and next usage is by php-opencloud/openstack

/* object store */
$objectStorage = $this->openStack->objectStoreV1();

/* compute */
$compute = $this->openStack->computeV2();

/* networking */
$compute = $this->openStack->networkingV2();

/* images */
$compute = $this->openStack->imagesV2();

/* 
   and others ...
*/

/* or returns full php-opencloud/openstack */
$openStack = $this->openStack->getOpenStack();

Buy us a coffee <3

Buy me a Coffee

Donate us <3

ETH: 0x7D771A56735500f76af15F589155BDC91613D4aB
UBIQ: 0xAC08C7B9F06EFb42a603d7222c359e0fF54e0a13

No release at this moment. Try to create first one.

bar-chart-fill

Statistics

download-cloud-fill
5173
star-fill
1
bug-fill
0
flashlight-fill
2.5y
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=7.1)
Componette Componette felix@nette.org