Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: PHP SDK example fix #8146

Merged
merged 1 commit into from
Sep 16, 2024
Merged

chore: PHP SDK example fix #8146

merged 1 commit into from
Sep 16, 2024

Conversation

sjaanus
Copy link
Contributor

@sjaanus sjaanus commented Sep 16, 2024

No description provided.

Copy link

vercel bot commented Sep 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2024 10:52am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Sep 16, 2024 10:52am

@@ -62,11 +62,14 @@ end`,

use Unleash\\Client\\UnleashBuilder;

require 'vendor/autoload.php';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Composer will not work without this.

Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

$unleash = UnleashBuilder::create()
->withAppName('unleash-onboarding-php')
->withAppUrl('<YOUR_API_URL>')
->withHeader('Authorization', '<YOUR_API_TOKEN>')
->withInstanceId('unleash-onboarding-instance')
->withMetricsInterval(5000)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align with other SDKs.

@sjaanus sjaanus changed the title chore: PHP example fix chore: PHP SDK example fix Sep 16, 2024
@sjaanus sjaanus merged commit 212203f into main Sep 16, 2024
9 of 13 checks passed
@sjaanus sjaanus deleted the php-example branch September 16, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants