PHPackages                             webdevvie/pakket - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webdevvie/pakket

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

webdevvie/pakket
================

Makes phar files from either inside your project or... outside of it as a phar itself!

1.2.5(2y ago)21.7kApache-2.0PHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3

Since Jul 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/webdevvie/pakket)[ Packagist](https://packagist.org/packages/webdevvie/pakket)[ RSS](/packages/webdevvie-pakket/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (10)Used By (0)

Pakket
======

[](#pakket)

Pakket is the Dutch word for package. This tool will help you package your project into a PHAR file.

It is meant to be framework agnostic. It does not include update code (for downloading new versions of the phar with the phar itself Look elsewhere for that It just makes PHAR files.

This is the initial version. I suggest not using it for production just yet.

How to use as a library
-----------------------

[](#how-to-use-as-a-library)

Either include the package using composer using :

```
composer require webdevvie/pakket

```

Create your phar stub (the thing that calls your other files inside your phar file) and call it "stub"

Then create a builder object

```
