Subject: [bug#67902] [PATCH v3 87/96] gnu: Add php-symfony-var-dumper.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 02:00:22 +0200

* gnu/packages/php-xyz.scm (php-symfony-var-dumper): New variable.

Change-Id: I11abab742960fd65b88867729c0e28ce8f947601
---
 gnu/packages/php-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 0449cbb6cc..8c92adee39 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2326,3 +2326,30 @@ (define-public php-symfony-uid
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-var-dumper
+  (package
+    (name "php-symfony-var-dumper")
+    (version "6.0.19")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/var-dumper")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0mnbwsy3as81d94plgxaqpwacznhv2gp45q5h737shfhgyxx9ms3"))))
+    (build-system composer-build-system)
+    ;; Native inputs here create a loop that is hard to break.
+    ;; Maybe use a -bootstrap version if testing becomes important.
+    (arguments
+     '(#:tests? #f))
+    (inputs
+     (list php-symfony-deprecation-contracts php-symfony-polyfill-mbstring))
+    (synopsis "Walk through any PHP variable")
+    (description
+     "This package provides mechanisms for walking through any arbitrary PHP
+variable.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+
-- 
2.46.0