arokettu / encryptor
CLI File Encryptor
Installs: 59
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
pkg:composer/arokettu/encryptor
Requires
- php: ^8.2
- composer-runtime-api: ^2.2
- ext-sodium: *
- arokettu/bencode: ^4.0
- symfony/console: ^7
Requires (Dev)
- phpunit/phpunit: ^11.5.34
- sandfox.dev/code-standard: ^1.2025.08.01
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2025-10-05 00:56:40 UTC
README
A small and simple tool to encrypt small files with with libsodium.
Installation
Install for local user with composer:
composer global require arokettu/encryptor
Install globally by downloading prebuilt phar:
sudo wget https://github.com/arokettu/php-encryptor/releases/latest/download/encryptor.phar -O /usr/local/bin/encryptor sudo chmod +x /usr/local/bin/encryptor
Simple usage
Encrypt file:
encryptor encrypt filename.txt
Decrypt file:
encryptor decrypt filename.txt.encrypted
You will be interactively asked for the password
Documentation
Read full documentation here: https://sandfox.dev/php/encryptor.html
Also on Read the Docs: https://php-encryptor.readthedocs.io/
License
The library is available as open source under the terms of the MIT License.