envoyr
a1707e9189
Merge pull request #3 from anikeen-com/app-subscriptions
...
App orders: read the orders that bill the app's subscriptions
2.1.0
2026-10-25 18:18:57 +01:00
Maurice Preuß and Claude Opus 5.5
820f1b37cc
Read the orders that bill the app's subscriptions
...
$user->appOrders() and app(AnikeenId::class)->appOrders() read
v1/client/orders with the app's own token (scope orders:client):
all(), pending() and find(), paginated transparently, user scoped
when called on a billable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-25 18:14:40 +01:00
envoyr
9a6f40ad99
Merge pull request #2 from anikeen-com/app-subscriptions
...
Bring anikeen/id up to date: app subscriptions, fixed and missing endpoints, Laravel 11-13
2.0.0
2026-10-25 17:25:22 +01:00
Maurice Preuß and Claude Opus 5.5
9613d31a8d
Bring the package up to date with the Anikeen ID API
...
Fixed (called endpoints that don't exist):
- charge(): POST v1/billing/charge (Stripe options aren't passed through anymore)
- Invoice::getInvoiceTemporaryUrl(): GET instead of a non-existent PUT
- OrderItems::create(): POST v1/orders/{order}/items
- createUser() / isEmailExisting(): admin endpoints with the app token
- sshKeysByUserId(): app endpoint; no longer returns the first user's keys for every user
- createOrderPreview(): country_iso goes into billing_address as the API expects
- public endpoints (products, order preview) work without a token
- SshKeys::find() results can be deleted
Added:
- Billable: sshKeys() (create, update, delete), billingOverview(), PaymentMethod::delete()
- AnikeenId: products(), boxes(), shipping labels (list, show, pdf, issue, ship, price list),
createOrderForUser(), createTransactionForUser(), findOrCreateSocialiteUser()
Requirements: PHP 8.2+, Laravel 11-13 (Laravel 10 and PHP 8.1 are end of life).
Docs generator handles union types; README regenerated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-25 17:18:05 +01:00
Maurice Preuß and Claude Opus 5.5
8de737641e
App subscriptions: manage a user's subscriptions with the app's own token
...
- $user->appSubscriptions(): create (idempotency_key), find, all, checkout, revoke, pause,
resume, update against /v1/client/subscriptions with a client credentials token, so apps don't
depend on the user's login
- user id from the billable's anikeen_id (AnikeenId::useUserIdField())
- ApiException with status, stable error code, isNotFound/isConflict/isTemporary; network
errors no longer escape as raw Guzzle exceptions
- rejected app tokens are renewed once; asApp() never changes the shared client's token
- tests (testbench + Guzzle mock) and CI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-25 17:02:16 +01:00
René Preuß and Claude Sonnet 4.6
9c3f9344a0
Add ManagesSocialiteUsers concern and resources for listing third-party connections
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-26 17:47:12 +02:00
Maurice Preuß
a7ec7aa908
add set default payment method
...
Signed-off-by: Maurice Preuß <envoyr@froxlor.org >
2026-05-17 16:46:06 +02:00
envoyr
4555efa80c
Update Laravel version requirements in composer.json
...
Updated Laravel version requirements to include 13.0.
1.2.0
2026-05-12 17:29:14 +02:00
Maurice Preuß
4f78e32af1
update composer.json
...
Signed-off-by: Maurice Preuß <envoyr@froxlor.org >
1.0.0-rc.10
1.1.0
2026-05-08 16:27:18 +02:00
envoyr
bc9c202c3b
update composer.json
1.0.0
1.0.0-rc.9
2025-09-21 17:15:45 +00:00
envoyr
cecf8560ff
Merge pull request #1 from anikeen-com/laravel-10
...
Update composer.json
2025-09-21 19:13:39 +02:00
envoyr
25248e7822
refactor code
2025-09-21 17:12:19 +00:00
envoyr
c641ec725d
add refund to revoke endpoint
1.0.0-rc.8
2025-09-21 12:13:56 +00:00
envoyr
8eb0c25582
fix api path
1.0.0-rc.7
2025-09-19 17:21:23 +00:00
envoyr
30ac4ae4f9
update provider
1.0.0-rc.6
2025-09-19 16:37:22 +00:00
envoyr
e1a6af11a3
introduce new scopes
2025-09-19 15:36:28 +00:00
envoyr
bb5df7f115
fix mode
...
Signed-off-by: Maurice Preuß <hello@envoyr.com >
1.0.0-rc.5
2025-09-18 19:28:08 +00:00
envoyr
297404b05d
add AllowDynamicProperties attribute
...
Signed-off-by: Maurice Preuß <hello@envoyr.com >
1.0.0-rc.4
2025-09-18 19:22:11 +00:00
envoyr
5ab57dcdfe
add staging key
...
Signed-off-by: Maurice Preuß <hello@envoyr.com >
2025-09-18 19:17:50 +00:00
envoyr
0f14fa1b4c
remove endpoint
...
Signed-off-by: Maurice Preuß <hello@envoyr.com >
2025-09-06 13:32:06 +00:00
envoyr
437e78770c
fix typo
...
Signed-off-by: Maurice Preuß <hello@envoyr.com >
1.0.0-rc.3
2025-09-06 13:23:00 +00:00
envoyr
0dbb27fc94
update transaction description
...
Signed-off-by: Maurice Preuß <hello@envoyr.com >
2025-09-06 13:22:23 +00:00
René Preuß
8232de4003
Update OauthTrait.php
2025-07-30 23:08:13 +02:00
René Preuß
ac3e28f67f
Update composer.json
2025-07-30 21:52:09 +02:00
envoyr
63e3f0a4a2
add refresh token method
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-rc.2
2025-05-02 07:29:43 +02:00
envoyr
1d2119a32b
update resources
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-rc.1
2025-05-02 06:27:53 +02:00
envoyr
1725ec68de
update subscriptions
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-rc
2025-05-01 18:16:51 +02:00
envoyr
dcda4b990e
update user provider
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.10
1.0.0-alpha.11
2025-04-30 12:00:34 +02:00
envoyr
937fde603b
update docs
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-30 10:03:27 +02:00
envoyr
80b1f003b2
update docs
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-30 10:02:53 +02:00
envoyr
aff901de4e
update docs
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-30 10:02:23 +02:00
envoyr
92eadcca08
update docs
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-30 10:00:27 +02:00
envoyr
8b874f540c
update docs
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-30 09:08:29 +02:00
envoyr
3bcebd9d45
update subscription, add alias
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.9
2025-04-30 09:02:24 +02:00
envoyr
71663bffd8
small fixes
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.8
2025-04-30 06:43:07 +02:00
envoyr
5b2b3c72cc
add serializable
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.7
2025-04-30 04:23:10 +02:00
envoyr
235918f0c0
fix some issues
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.6
2025-04-30 04:12:54 +02:00
envoyr
4b23f6ddbb
refactored code
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-30 03:45:10 +02:00
envoyr
85702fcb2c
update docs
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-29 21:50:12 +02:00
envoyr
65d4b12006
update identifier
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-29 21:47:21 +02:00
envoyr
5d621b7cdc
update config
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-29 21:46:44 +02:00
envoyr
4d6fe7c325
update provider
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.5
2025-04-29 21:39:49 +02:00
envoyr
d447a88430
add mode
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.4
2025-04-29 21:33:02 +02:00
envoyr
d9a330222b
update billable
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.3
2025-04-28 17:26:02 +02:00
envoyr
21946e3a22
update docs
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
2025-04-28 05:32:44 +02:00
envoyr
1b96b87e1d
refactored code
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.2
2025-04-28 05:27:06 +02:00
envoyr
7f908f4e6a
refactored code
...
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com >
1.0.0-alpha.1
2025-04-28 04:47:50 +02:00
envoyr
05e8cca347
first commit
1.0.0-alpha
2025-04-27 04:02:46 +02:00