mrccnt / phar-skeleton
Phar skeleton application template
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/mrccnt/phar-skeleton
Requires
- php: ^5.5 || ^7.0
- ext-phar: *
- symfony/console: ^3.0
Requires (Dev)
- composer/composer: ^1.2
- pear/http_request2: ^2.3
- phing/phing: ^2.14
- phpmd/phpmd: ^2.4
- squizlabs/php_codesniffer: ^2.6
This package is not auto-updated.
Last update: 2025-11-22 04:35:32 UTC
README
Skeleton for creating PHAR applications from scratch including testing, reporting and building.
Requirements
You need to modify your CLI php.ini. Otherwise we will not be able to "write" phar packages.
phar.readonly=Off
Install, Build and Run
$ composer install
$ composer build
Use the phar file:
$ php dist/phar-skeleton.phar
TODO: Do something
Use the deb file:
$ sudo dpkg -i dist/phar-skeleton.deb
Preparing to unpack dist/phar-skeleton.deb ...
Unpacking phar-skeleton (1.0.0) ...
Setting up phar-skeleton (1.0.0) ...
$ phar-skeleton
TODO: Do something
$ which phar-skeleton
/usr/local/bin/phar-skeleton
$ sudo dpkg -r phar-skeleton
Removing phar-skeleton (1.0.0) ...
dpkg: warning: while removing phar-skeleton, directory '/usr/local/bin' not empty so not removed