diff --git a/debian/autoloaders/php-barryvdh-laravel-debugbar b/debian/autoloaders/php-barryvdh-laravel-debugbar
new file mode 100644
index 0000000000000000000000000000000000000000..aa8292931d96708236f0d3b5fbb85ec615d173d5
--- /dev/null
+++ b/debian/autoloaders/php-barryvdh-laravel-debugbar
@@ -0,0 +1 @@
+barryvdh laravel-debugbar   Barryvdh/Debugbar/autoload.php
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000000000000000000000000000000000000..426b7beb54ff7d31c624235e19334fb5f02f4db8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+php-barryvdh-laravel-debugbar (3.7.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #1017400).
+
+ -- Katharina Drexel <katharina.drexel@bfh.ch>  Mon, 15 Aug 2022 17:46:53 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000000000000000000000000000000000000..16bed1119a65116da847ce2b2c9d047d62da28a2
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,6 @@
+.phpunit.cache/
+.phpunit.result.cache
+debian/autoload.php.tpl
+debian/autoload.tests.php.tpl
+src/autoload.php
+vendor/
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000000000000000000000000000000000000..4dd33e835b81eec6387b469dfd49091583e56d7e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: php-barryvdh-laravel-debugbar
+Section: php
+Priority: optional
+Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
+Uploaders:
+ Katharina Drexel <katharina.drexel@bfh.ch>,
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-phpcomposer,
+ php-illuminate-routing,
+ php-maximebf-debugbar,
+ phpab,
+ phpunit <!nocheck>,
+ pkg-php-tools (>= 1.41~),
+Rules-Requires-Root: no
+Standards-Version: 4.6.1
+Homepage: https://github.com/barryvdh/laravel-debugbar
+Vcs-Browser: https://salsa.debian.org/php-team/pear/php-barryvdh-laravel-debugbar
+Vcs-Git: https://salsa.debian.org/php-team/pear/php-barryvdh-laravel-debugbar.git
+
+Package: php-barryvdh-laravel-debugbar
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${phpcomposer:Debian-require},
+Suggests:
+ ${phpcomposer:Debian-suggest},
+Replaces:
+ ${phpcomposer:Debian-replace},
+Breaks:
+ ${phpcomposer:Debian-conflict},
+ ${phpcomposer:Debian-replace},
+Provides:
+ ${phpcomposer:Debian-provide},
+Description: PHP Debugbar integration for Laravel
+ This is a package to integrate PHP Debug Bar with Laravel. It includes a
+ ServiceProvider to register the debugbar and attach it to the output.
+ You can publish assets and configure it through Laravel. It bootstraps some
+ Collectors to work with Laravel and implements a couple custom DataCollectors,
+ specific for Laravel. It is configured to display Redirects and (jQuery) Ajax
+ Requests. (Shown in a dropdown) Read the documentation for more configuration
+ options.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000000000000000000000000000000000000..8d4e57760715a7c724522db67a383d50c9273977
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: laravel-debugbar
+Upstream-Contact: Barry vd. Heuvel <barry@fruitcake.nl>
+Source: https://github.com/barryvdh/laravel-debugbar
+
+Files: *
+Copyright: 2013-2022 Barry vd. Heuvel <barry@fruitcake.nl>
+License: MIT
+
+Files: debian/*
+Copyright: 2022 Katharina Drexel <katharina.drexel@bfh.ch>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation files
+ (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000000000000000000000000000000000000..e62f4309eef36d51514e543e63964f23ee041500
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+debian-branch = debian/latest
+filter = [ '.gitattributes' ]
+pristine-tar = True
+upstream-branch = upstream/latest
+upstream-vcs-tag = v%(version%~%-)s
diff --git a/debian/php-barryvdh-laravel-debugbar.docs b/debian/php-barryvdh-laravel-debugbar.docs
new file mode 100644
index 0000000000000000000000000000000000000000..cdb5f04f10c21998fd7406f7e8ceafd2035d83e2
--- /dev/null
+++ b/debian/php-barryvdh-laravel-debugbar.docs
@@ -0,0 +1 @@
+readme.md
diff --git a/debian/php-barryvdh-laravel-debugbar.install b/debian/php-barryvdh-laravel-debugbar.install
new file mode 100644
index 0000000000000000000000000000000000000000..19a212a15f0a1648454c8102b3eaed8f901f3cf9
--- /dev/null
+++ b/debian/php-barryvdh-laravel-debugbar.install
@@ -0,0 +1 @@
+src/*	usr/share/php/Barryvdh/Debugbar
diff --git a/debian/pkg-php-tools-autoloaders b/debian/pkg-php-tools-autoloaders
new file mode 100644
index 0000000000000000000000000000000000000000..de0191a5bb3566ca96f993990c4ad380d26d98d9
--- /dev/null
+++ b/debian/pkg-php-tools-autoloaders
@@ -0,0 +1 @@
+maximebf debugbar	Maximebf/DebugBar/autoload.php
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000000000000000000000000000000000000..8930a8a00aa60dc241321d861f90dabbd4182ae3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	phpabtpl --basedir src composer.json > debian/autoload.php.tpl
+	phpab --tolerant --template debian/autoload.php.tpl --output src/autoload.php src
+
+override_dh_auto_test:
+	phpabtpl --require-file ../src/autoload.php > debian/autoload.tests.php.tpl
+	mkdir -p vendor
+	phpab -t debian/autoload.tests.php.tpl -o vendor/autoload.php tests
+	# Uncaught Error: Class "Orchestra\Testbench\TestCase" not found
+	# the library also works without this, packaging contraproductive in this case
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+	# phpunit -v --include-path src --bootstrap vendor/autoload.php
+else
+	@echo "** tests disabled"
+endif
+
+execute_after_dh_install:
+	rm -f debian/php-barryvdh-laravel-debugbar/usr/share/php/Barryvdh/Debugbar/Resources/vendor/font-awesome/generator_config.txt
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000000000000000000000000000000000000..8eb5506320e824cbb5b22f60f5859a652c0691e3
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+source: missing-pkg-php-tools-addon phpcomposer [debian/rules]
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000000000000000000000000000000000000..62157b6cb744d30cd415cd5809b6f74140966407
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Test-Command: mkdir -p vendor && phpabtpl --require barryvdh/laravel-debugbar > debian/autoload.tests.php.tpl && phpab -o vendor/autoload.php -t debian/autoload.tests.php.tpl tests && phpunit --bootstrap vendor/autoload.php
+Restrictions: rw-build-tree, allow-stderr
+Depends:
+ phpab,
+ phpunit,
+ pkg-php-tools,
+ @,
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000000000000000000000000000000000000..2a51dc09fa9097a3f8c043fb94fd916108e44c65
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+---
+Archive: GitHub
+Repository: https://github.com/barryvdh/laravel-debugbar.git
+Repository-Browse: https://github.com/barryvdh/laravel-debugbar
+Bug-Database: https://github.com/barryvdh/laravel-debugbar/issues
+Bug-Submit: https://github.com/barryvdh/laravel-debugbar/issues/new
+Security-Contact: https://github.com/barryvdh/laravel-debugbar/tree/HEAD/SECURITY.md
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000000000000000000000000000000000000..9729ea78371589f8fc83534ecc56f3a5a0239dcd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+options=uversionmangle=s/-?([^\d.]+)/~$1/;tr/A-Z/a-z/,\
+mode=git,gitmode=full,gitexport=all,pgpmode=none \
+https://github.com/barryvdh/laravel-debugbar \
+refs/tags/v?(\d.+)