solidworx / platform
Requires
- php: >=8.4
- doctrine/doctrine-bundle: ^2.13 || ^3.0
- doctrine/orm: ^2.15 || ^3.6
- endroid/qr-code: ^6.0
- knplabs/knp-menu-bundle: ^3.6
- league/uri: ^7.8
- mattketmo/email-checker: ^3.0
- nesbot/carbon: ^3.9
- scheb/2fa-backup-code: ^8.0
- scheb/2fa-bundle: ^8.0
- scheb/2fa-email: ^8.0
- scheb/2fa-totp: ^8.0
- scheb/2fa-trusted-device: ^8.0
- symfony/console: ^8.1
- symfony/dependency-injection: ^8.1
- symfony/event-dispatcher: ^8.1
- symfony/form: ^8.1
- symfony/framework-bundle: ^8.1
- symfony/html-sanitizer: ^8.1
- symfony/http-client: ^8.1
- symfony/http-kernel: ^8.1
- symfony/mailer: ^8.1
- symfony/property-access: ^8.1
- symfony/routing: ^8.1
- symfony/security-bundle: ^8.1
- symfony/security-core: ^8.1
- symfony/security-csrf: ^8.1
- symfony/security-http: ^8.1
- symfony/serializer: ^8.1
- symfony/twig-bridge: ^8.1
- symfony/uid: ^8.1
- symfony/ux-icons: ^3.0
- symfony/ux-live-component: ^3.0
- symfony/validator: ^8.1
- symfony/webhook: ^8.1
- symfony/webpack-encore-bundle: ^2.3
- symfonycasts/verify-email-bundle: ^1.18
- twig/extra-bundle: ^3.21
- twig/html-extra: ^3.24
- twig/twig: ^3.13
- webmozart/assert: ^2.4
Requires (Dev)
- captainhook/captainhook-phar: ^5.29
- ergebnis/composer-normalize: ^2.54
- ergebnis/phpunit-slow-test-detector: ^2.26
- monolog/monolog: ^3.12
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.3
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-doctrine: ^2.0
- phpstan/phpstan-phpunit: ^2.1
- phpstan/phpstan-strict-rules: ^2.1.
- phpstan/phpstan-symfony: ^2.1
- phpunit/phpunit: ^13.4
- rector/rector: ^2.7
- roave/security-advisories: dev-latest
- spatie/phpunit-snapshot-assertions: ^5.4
- symfony/browser-kit: ^8.1
- symfony/css-selector: ^8.1
- symfony/messenger: ^8.1
- symfony/rate-limiter: ^8.1
- symplify/easy-coding-standard: ^13.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-01 16:59:09 UTC
README
The documentation site, built with Astro Starlight and served as static assets from Cloudflare Workers.
Run it locally
cd docs bun install bun run dev # http://localhost:4321, reloads on save bun run build # production build into dist/, fails on a broken link bun run preview # build, then serve dist/ through the Workers runtime
Write a page
-
Add a
.md(or.mdx) file undersrc/content/docs/. The path is the URL:security/two-factor.md→/security/two-factor/. -
Start it with frontmatter; the
titleis the page's H1, so do not add a# Heading:--- title: Two-Factor Authentication description: One sentence for search results and link previews. ---
-
Add the page to
sidebarinastro.config.mjs. -
Link to other pages with relative paths to the file —
[Profile](./profile.md#overriding-blocks), or to source with../../../../src/.... They work on GitHub and are rewritten to site URLs at build time. A link to a file that does not exist fails the build.
Starlight's asides
(:::note, :::caution, :::tip) and components
(tabs, cards, steps; .mdx only) are available.
UPGRADE.md and CHANGELOG.md at the repo root are rendered at /upgrade/ and /changelog/.
Deployment
.github/workflows/docs.yml builds every PR that touches the docs, and deploys to Cloudflare on
every push to main. It needs, in the GitHub repository settings:
| Name | Kind | Value |
|---|---|---|
CLOUDFLARE_API_TOKEN |
secret | API token with the Edit Cloudflare Workers template |
CLOUDFLARE_ACCOUNT_ID |
secret | Your Cloudflare account ID |
DOCS_SITE_URL |
variable | Public URL, e.g. https://docs.example.com (canonical links and sitemap) |
To deploy by hand: bunx wrangler login, then bun run deploy.