jmleroux / circleci-php-client Goto Github PK
View Code? Open in Web Editor NEWCircleCI PHP client
License: MIT License
CircleCI PHP client
License: MIT License
First of all, thank you so much for creating this package!
I believe some endpoints (for v2 API) are wrong though:
In AllPipelines.php, execute() method:
$uri = sprintf('project/%s/pipeline', $projectSlug);
Should be I think:
$uri = sprintf('/pipeline?org-slug=%s', $projectSlug);
Hi @jmleroux , I have tested this package and it works fine on PHP 8.2, but it has version constraint for PHP 8.1, so I had to composer install with --ignore-platform-reqs flag, but I can't do this in production, so is it possible to improve version constraint so I can install package with PHP 8.2?
Project model structure: https://circleci.com/docs/api/#projects
I don't see any doc about workflow in the API reference... ๐ค
Hello @jmleroux ,
I think I found a few more issues here, mainly looking at Vcs model, and branch is not nullable, but it is possible for it be null, mainly when you trigger a new tagged release, in that case "vcs" contains "tag" key instead of a "branch" key, so is it possible to make branch() in Vcs nullable?
Uncaught PHP Exception TypeError: "DateTime::__construct() expects parameter 1 to be string, null given" at /home/grena/Workspace/nightly/vendor/jmleroux/circleci-php-client/src/Model/Job.php line 76
Model interface:
Use direct Guzzle or a wrapper
Jobs are part of a build: #4
Job structure: https://circleci.com/docs/api/#single-job
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.