Skip to content

Commit 90fe15b

Browse files
authored
Bump PHP SDK version to 1.0.0 (#16)
* Bump PHP version to 1.0.0 * Remove project_id references * Update README
1 parent f5dbfe3 commit 90fe15b

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-9
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ php artisan vendor:publish --provider="WorkOS\Laravel\WorkOSServiceProvider"
3434
```
3535

3636
The package will need to be configured with your [api key](https://dashboard.workos.com/api-keys) and [project id](https://dashboard.workos.com/sso/configuration).
37-
By default, the package will look for a `WORKOS_API_KEY` and `WORKOS_PROJECT_ID` environment variable.
37+
By default, the package will look for a `WORKOS_API_KEY` and `WORKOS_CLIENT_ID` environment variable.
3838

3939
## More Information
4040

config/workos.php

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
// WorkOS Client ID
1010
"client_id" => env("WORKOS_CLIENT_ID"),
1111

12-
// WorkOS Project ID
13-
"project_id" => env("WORKOS_PROJECT_ID"),
14-
1512
// WorkOS base API URL
1613
"api_base_url" => null
1714
];

lib/Version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
final class Version
66
{
77
const SDK_IDENTIFIER = "WorkOS PHP Laravel";
8-
const SDK_VERSION = '0.9.1';
8+
const SDK_VERSION = '1.0.0';
99
}

lib/WorkOSServiceProvider.php

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ public function register()
3232
\WorkOS\WorkOS::setApiKey($config["api_key"]);
3333
\WorkOS\WorkOS::setClientId($config["client_id"]);
3434

35-
if ($config["project_id"]) {
36-
\WorkOS\WorkOS::setProjectId($config["project_id"]);
37-
}
38-
3935
\WorkOS\WorkOS::setIdentifier(\WorkOS\Laravel\Version::SDK_IDENTIFIER);
4036
\WorkOS\WorkOS::setVersion(\WorkOS\Laravel\Version::SDK_VERSION);
4137

0 commit comments

Comments
 (0)