php-lxd
php-lxd copied to clipboard
A PHP library for interacting with the LXD REST API
The API currently uses the obsolete containers endpoint instead of instances, and has no support for virtual-machines endpoint - https://documentation.ubuntu.com/lxd/en/latest/rest-api/#instances-containers-and-virtual-machines There is a fork which already implemented this - https://github.com/turtle0x1/php-lxd...
Hi, In Containers.php (line 504) and Containers/Logs.php (line 26) you have two time the same error: ```php foreach ($this->get($this->getEndpoint().$name.'/logs/') as $log) { $logs[] = str_replace( '/'.$this->client->getApiVersion().'/containers/'.$name.'/logs/', '', $log ); }...
In Endpoint/Containers.php the execute function parse incorrectly `dotnet` arguments command. Example: ```php $cmd = 'dotnet test SomeCSharpSolution.sln --nologo --logger:"trx;LogFileName=result.trx"'; $r = $lxd->containers->execute('container-name', $cmd); ``` Expected parameters parsing result: ```bash array(1)...
Hi, There is a mistake in arguments between Endpoint/Containers/Files/write() (line55) and Endpoint/AbstructEndpoint/post() (line 49). In the first method (write) when you make a call to `post` (line 55) you give...
Hello, I was wondering if there a roadmap for this project? or any planned milestones? I want to add support for better handling of pushing and pulling files and folders,...
Hello, I think that opensaucesystems/lxd should remove php-http/message-factory dependecy because the project is abandonned. I tried to do it my way, which is probably not the best way to do...
updated dependencies for syuppoort lastes PSR. checked for php8.4