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
Requires
- php: >=7.1
- php-mime-mail-parser/php-mime-mail-parser: ^5.0
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; }