From 5679d1d653ecbe2875a524c9ae01001d1f7249b8 Mon Sep 17 00:00:00 2001 From: WINBIGFOX Date: Sun, 27 Apr 2025 23:30:58 +0200 Subject: [PATCH 1/3] Add 'description' and 'website' fields to nativephp config These new fields allow developers to define a description and website for their application via environment variables. This enhances configurability and provides more application metadata. --- config/nativephp.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/nativephp.php b/config/nativephp.php index 817bc12b..03a339c6 100644 --- a/config/nativephp.php +++ b/config/nativephp.php @@ -36,6 +36,16 @@ */ 'copyright' => env('NATIVEPHP_APP_COPYRIGHT'), + /** + * The description of your application. + */ + 'description' => env('NATIVEPHP_APP_DESCRIPTION'), + + /** + * The Website of your application. + */ + 'website' => env('NATIVEPHP_APP_WEBSITE'), + /** * The default service provider for your application. This provider * takes care of bootstrapping your application and configuring From 187c30c90df6d4cde3333f26fa7aa00cdbcdc1a0 Mon Sep 17 00:00:00 2001 From: WINBIGFOX Date: Mon, 28 Apr 2025 12:01:16 +0200 Subject: [PATCH 2/3] Added Defaults - config/nativephp.php Co-authored-by: Peter Bishop <9081809+PeteBishwhip@users.noreply.github.com> --- config/nativephp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nativephp.php b/config/nativephp.php index 03a339c6..84bebe17 100644 --- a/config/nativephp.php +++ b/config/nativephp.php @@ -44,7 +44,7 @@ /** * The Website of your application. */ - 'website' => env('NATIVEPHP_APP_WEBSITE'), + 'website' => env('NATIVEPHP_APP_WEBSITE', 'https://nativephp.com'), /** * The default service provider for your application. This provider From a396a3503dd87a675c1e01e353f42b3b9aaa823c Mon Sep 17 00:00:00 2001 From: WINBIGFOX Date: Mon, 28 Apr 2025 12:01:25 +0200 Subject: [PATCH 3/3] Added Defaults - config/nativephp.php Co-authored-by: Peter Bishop <9081809+PeteBishwhip@users.noreply.github.com> --- config/nativephp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nativephp.php b/config/nativephp.php index 84bebe17..96b6b1e5 100644 --- a/config/nativephp.php +++ b/config/nativephp.php @@ -39,7 +39,7 @@ /** * The description of your application. */ - 'description' => env('NATIVEPHP_APP_DESCRIPTION'), + 'description' => env('NATIVEPHP_APP_DESCRIPTION', 'An awesome app built with NativePHP'), /** * The Website of your application.