speedfin / financial-calculators-admin
Wrapper for speedfin financial calculators API admin
Package info
bitbucket.org/speedfin/financial-calculators-api-admin-wrapper
pkg:composer/speedfin/financial-calculators-admin
Requires
- php: >=8.2
- spatie/data-transfer-object: 3.9
- symfony/config: ^6.4 || ^7.4 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.4 || ^8.0
- symfony/http-client: ^6.4 || ^7.4 || ^8.0
- symfony/mime: ^6.4 || ^7.4 || ^8.0
Requires (Dev)
- rector/rector: ^0.15.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.72
- 1.71
- 1.70
- 1.69
- 1.68
- 1.67
- 1.66
- 1.65
- 1.64
- 1.63
- 1.62
- 1.60
- 1.59
- 1.58
- 1.57
- 1.56
- 1.55
- 1.54
- 1.53
- 1.52
- 1.51
- 1.50
- 1.49
- 1.48
- 1.47
- 1.46
- 1.45
- 1.44
- 1.43
- 1.42
- 1.41
- 1.40
- 1.39
- 1.38
- 1.37
- 1.36
- 1.35
- 1.34
- 1.33
- 1.32
- 1.31
- 1.30
- 1.29
- 1.28
- 1.27
- 1.26
- 1.25
- 1.24
- 1.23
- 1.22
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
- 1.11
- 1.10
- 1.09
- 1.03
- 1.02
- 1.01
- 1.0
- dev-develop
- dev-FIN-914
This package is not auto-updated.
Last update: 2026-09-08 10:41:04 UTC
README
This README would normally document whatever steps are necessary to get your application up and running.
What is this repository for?
- Quick summary
- Version
- Learn Markdown
How do I get set up?
- Summary of set up
- Configuration
- Dependencies
- Database configuration
- How to run tests
- Deployment instructions
Mortgage knowledge cards
The admin wrapper exposes mortgage knowledge card regeneration endpoints from Calculators.
Regenerate a bank-level mortgage card:
$result = $bankService->regenerateBankMortgageCard($bankId);
$downloadUrl = $result->downloadUrl;
$offers = $result->manifest->offers;
Each item in $offers is a BankMortgageCardOfferDto with mortgageId,
name, and downloadUrl. These links are returned in the regeneration
response rather than embedded in the bank's Markdown card.
Regenerate a single mortgage offer card:
$result = $mortgageService->regenerateMortgageOfferCard($mortgageId);
$downloadUrl = $result->downloadUrl;
Offer card regeneration calls:
POST /api/admin/mortgages/{id}/mortgage-card/regenerate
The regeneration response contains metadata and a downloadUrl. The wrapper does not download the Markdown file as part of regeneration.
Download a single mortgage offer card Markdown:
$markdown = $mortgageService->getMortgageOfferCardMarkdown($mortgageId);
This calls:
GET /api/mortgages/{id}/mortgage-card.md
The request uses the same bearer token as admin wrapper calls.
Contribution guidelines
- Writing tests
- Code review
- Other guidelines
Who do I talk to?
- Repo owner or admin
- Other community or team contact