From 8dd7bf69a620bd8848baaefabc2892f7350a58c5 Mon Sep 17 00:00:00 2001
From: Christoph Kappestein
Date: Tue, 31 Dec 2024 12:19:59 +0100
Subject: [PATCH] add symfony bundle
---
docusaurus.config.js | 2 +-
src/components/HomepageFeatures.js | 13 ++++++++++---
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 27a2e92..5b45506 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -6,7 +6,7 @@ import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'PSX',
- tagline: 'An innovative PHP framework dedicated to build fully typed REST APIs.',
+ tagline: 'A PHP framework and set of components to build fully typed REST APIs.',
url: 'https://phpsx.org',
baseUrl: '/',
onBrokenLinks: 'throw',
diff --git a/src/components/HomepageFeatures.js b/src/components/HomepageFeatures.js
index cee3114..b9d0d74 100644
--- a/src/components/HomepageFeatures.js
+++ b/src/components/HomepageFeatures.js
@@ -95,7 +95,7 @@ export default function HomepageFeatures() {
PSX allows you to define complete type-safe controllers which map
every value from the HTTP request to an argument.
This idea is inspired by great frameworks like Spring or NestJS.
+ href="https://nestjs.com/">NestJS.
{`class Population extends ControllerAbstract
@@ -157,8 +157,8 @@ export default function HomepageFeatures() {
Client SDK
One of the innovative features of PSX is, that you can automatically
- generate a client SDK for your API. Through a simple command you can generate
- a complete type-safe client SDK to communicate with your API.
+ generate a client SDK for your API. Through a simple command you can generate
+ a complete type-safe client SDK to communicate with your API.
{`php bin/psx generate:sdk spec-openapi
@@ -166,6 +166,13 @@ php bin/psx generate:sdk client-typescript
php bin/psx generate:sdk client-php`}
+
+
+
Symfony Bundle
+
In case you are a fan of Symfony you can
+ simply use the PSX API Bundle to integrate all
+ PSX features.
+
);