cronox/php-pst-files-reader

PHP PST files based on `readpst` command

Installs: 65

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 2

Open Issues: 0

pkg:composer/cronox/php-pst-files-reader

1.1.1 2019-11-28 12:12 UTC

This package is auto-updated.

Last update: 2025-10-14 15:11:59 UTC


README

Install package pst-utils via apt

apt install pst-utils

add this line to your composer.json file:

"cronox/php-pst-files-reader": "^1.0"

and run

composer update

or run

composer require cronox/php-pst-files-reader

A Simple Example

$sourcePstFilePath = "/my-psts/Outlook.pst";
$destinationPstDirPath = "/my-psts/unpack-here";

try {
    $parsedEmails = $PstReader
         ->setSourcePstFilePath($sourcePstFilePath)
         ->setDestinationPstDirPath($destinationPstDirPath)
         ->setReplaceUnpacked(true)
         ->unpackPstFile()
         ->getParsedAllEmails();
} catch (\Exception $exception) {
    throw $exception;
}