News

Packistry is a Self-hosted Composer Repository Made with Laravel

Published
Packistry is a Self-hosted Composer Repository Made with Laravel image

Packistry is a self-hosted Composer repository designed to simplify PHP package distribution:

Packistry is a self-hosted Composer repository designed to handle your PHP package distribution. It supports importing from multiple sources like GitHub, GitLab, and Gitea, with seamless updates using webhooks. Packistry allows you to effortlessly run your own composer repository with just a few commands, giving you full control over your packages, access management, and security.

While commonly, most application packages are available via Packagist.org, users providing premium packages or hosting private internal packages can leverage something like Packistry to manage packages. Packistry can host open-source repositories and supports webhooks to pull the latest changes from your source repositories.

Main Features

  • Private Repository Support: Keep your sensitive or proprietary packages secure by hosting them in private repositories.
  • Token-Based Authentication: Ensure secure access to your repositories with token-based authentication. This allows you to manage permissions for both users and automated systems (machines), providing granular control over who can view or modify your repositories.
  • Package Source Integration: Easily manage and import Composer packages from GitHub, GitLab, adn Gitea
  • Webooks - Packistry uses webhooks to pull the latest changes from your source repositories.
  • Public/Private Repository Options: Define repositories as public or private based on your project needs.
  • Human Access Control: Create user accounts to assign and manage access to your private repositories, ensuring only authorized individuals can interact with sensitive content.
  • Machine Access Control: Generate deploy tokens to allow machines (e.g., build systems or CI/CD pipelines) to access private repositories, ensuring smooth, secure automation.

Build with Laravel

Packistry is built with Laravel and is available as open-source on Github at packistry/packistry. It uses Laravel 11 with RoadRunner as well as community packages like PestPHP, Spatie Laravel Data, Spatie Query Builder, and more. Packistry uses React, TypeScript, Tailwind, and Vite on the frontend.

Get Started

If you want to try Packistry, check out the Packistry docs to get started. The source code is an excellent place for inspiration with plenty of PestPHP tests, Laravel application code, and a React frontend.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Image Dominant Color and HEIC Support in Laravel 13.24 image

Image Dominant Color and HEIC Support in Laravel 13.24

Read article
Official Laravel Zed Extension: LSP for PHP & Blade image

Official Laravel Zed Extension: LSP for PHP & Blade

Read article
Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD image

Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD

Read article
PhpStorm 2026.2 Released image

PhpStorm 2026.2 Released

Read article
Laravel Doctor: Diagnose Your App With One Artisan Command image

Laravel Doctor: Diagnose Your App With One Artisan Command

Read article
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article