FileInfo

Languages

Overview

What is a PHAR file? File packaged in the PHAR (PHP Archive) format, which can be created using the Phar PHP class; stores a collection of files and supports bzip2 and gzip compression as well as a checksums for the archive; used for distributing and running PHP applications using a single file.

More Information PHAR files are similar to Java's .JAR files and can be run using PHP. An example of a common PHP application that is distributed as a PHAR archive is PEAR (PHP Extension and Application Repository), a package manager for PHP extensions. PHP Archive files are compatible with APC (Alternative PHP Cache), an "opcode cache" that optimizes application performance by caching the compiled versions of code. phpMyAdmin, a commonly-used front end for MySQL, has been measured with a 6x speedup when run as a PHAR file. NOTE: Phar, the PHP component that reads and writes PHAR files, is included with PHP 5.3.

Popularity3.7/5

23 votes

Quick AppUsed by
VerifiedVerified by FileInfo.com The FileInfo.com team has independently researched all file formats and software programs listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified. If you would like to suggest any additions or updates to this page, please let us know .

Document Icon

Breadcrumbs

DeveloperN/A
Popularity3.0 | 2 Votes

Previous / Next

In-Depth

.PHAR File Extension

2 file types use the .phar file extension.

PHP Archive

DeveloperGreg Beaver
Popularity
3.7  |  23 Votes
 

What is a PHAR file?

File packaged in the PHAR (PHP Archive) format, which can be created using the Phar PHP class; stores a collection of files and supports bzip2 and gzip compression as well as a checksums for the archive; used for distributing and running PHP applications using a single file.

More Information

PHAR files are similar to Java's .JAR files and can be run using PHP. An example of a common PHP application that is distributed as a PHAR archive is PEAR (PHP Extension and Application Repository), a package manager for PHP extensions.

PHP Archive files are compatible with APC (Alternative PHP Cache), an "opcode cache" that optimizes application performance by caching the compiled versions of code. phpMyAdmin, a commonly-used front end for MySQL, has been measured with a 6x speedup when run as a PHAR file.

NOTE: Phar, the PHP component that reads and writes PHAR files, is included with PHP 5.3.

Open over 400 file formats with File Viewer Plus . Free Download

Programs that open or reference PHAR files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

PHP

Free

Free

Mac

PHP

Free

Free

Linux

PHP

Free

Free

Category: Executable Files

Updated: March 14, 2011

PocketMine-MP Plug-in

DeveloperN/A
Popularity
3.0  |  2 Votes
 

A PHAR file may also be a plug-in used with PocketMine-MP, a program used to create private Minecraft servers . It contains text and binary code that allows players to extend and customize their servers. PHAR files are typically downloaded from the Poggit Release plug-in platform.

More Information

Minecraft players who want to play with their friends can play together on online servers. While most players play on officially-supported servers, others host their own servers. PocketMine-MP is a program Minecraft: Bedrock Edition players can use to host their own servers.

One of the benefits of playing on an unofficial server is that players can install server-specific plug-ins that allow them to extend and customize Minecraft's gameplay. For example, players can install plug-ins that allow them to teleport, change their characters' size, or play custom game modes. PocketMine-MP allows players to install these sorts of plug-ins, which are saved in PHAR files.

For the most part, PocketMine-MP users download PHAR files from the Poggit Release plug-in platform, located at poggit.pmmp.io. Poggit Release contains hundreds of PocketMine-MP plug-ins.

How to open a PHAR file

To install a PHAR file as a PocketMine-MP plug-in, place the file in PocketMine-MP's plugins folder. The next time you start PocketMine-MP, your PHAR file will appear as an available plug-in.

Programs that open or reference PHAR files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

PocketMine-MP

Free

Mac

PocketMine-MP

Free

Linux

PocketMine-MP

Free

Category: Game Files

Updated: February 1, 2021

FAQ

What is a PHAR file?
File packaged in the PHAR (PHP Archive) format, which can be created using the Phar PHP class; stores a collection of files and supports bzip2 and gzip compression as well as a checksums for the archive; used for distributing and running PHP applications using a single file.