PHPackages                             mosafax/encrypto - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mosafax/encrypto

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mosafax/encrypto
================

A package to encrypt files by streaming.

v1.0.1(1y ago)05PHPPHP ^8.2

Since Oct 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mostafax2/encrypto)[ Packagist](https://packagist.org/packages/mosafax/encrypto)[ RSS](/packages/mosafax-encrypto/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (3)Used By (0)

Here's a detailed description for your package that encrypts files by streaming:

---

### **Package Name: Encrypto**

[](#package-name-encrypto)

#### **Description**

[](#description)

**Encrypto** is a powerful PHP package designed to efficiently encrypt files using streaming methods. By employing stream-based processing, Encrypto minimizes memory usage and enhances performance, making it ideal for handling large files. This package seamlessly integrates with Laravel, leveraging its robust features and services to provide a secure and flexible solution for file encryption.

#### **Key Features**

[](#key-features)

- **Streaming Encryption**: Encrypt large files without loading the entire content into memory, ensuring efficient resource usage.
- **Chunked Processing**: Encrypt files in manageable chunks, allowing for real-time processing and minimizing the risk of memory exhaustion.
- **Background Job Support**: Easily integrate with Laravel's job queue system to perform encryption tasks asynchronously.
- **File Compression**: Automatically compress files before encryption to save storage space and reduce encryption time.
- **Secure Encryption**: Utilizes Laravel's built-in Crypt facade for robust encryption algorithms, ensuring data security.
- **Error Handling and Logging**: Comprehensive error handling and logging mechanisms to track encryption processes and troubleshoot issues effectively.
- **Simple API**: A user-friendly API that makes it easy to encrypt and decrypt files with minimal configuration.

#### **Installation**

[](#installation)

To install Encrypto, add the package to your Laravel project using Composer:

```
composer require mostafax/encrypto
```

#### **Usage**

[](#usage)

Here’s a brief example of how to use the Encrypto package:

1. **Encrypting a File**:

    ```
    use Mostafax\Encrypto\Encrypto;

    $encrypto = new Encrypto();
    $result = $encrypto->encryptFile('example.txt');
    ```
2. **Decrypting a File**:

    ```
    $result = $encrypto->decryptFile('example.txt.enc');
    ```
3. **Encrypting in Background**:

    ```
    $result = $encrypto->encryptFileInBackground('example.txt');
    ```

#### **Contributions**

[](#contributions)

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

#### **License**

[](#license)

This package is open-source and available under the MIT License.

---

Feel free to modify any part of this description to better suit your package's style or specific features! If you have more details or want to add anything else, let me know!

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

585d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50af87640e9fdf5334256080d493f8c462427633ce7114dddb17001246176d91?d=identicon)[mostafax2](/maintainers/mostafax2)

---

Top Contributors

[![mostafax2](https://avatars.githubusercontent.com/u/146624906?v=4)](https://github.com/mostafax2 "mostafax2 (8 commits)")

### Embed Badge

![Health badge](/badges/mosafax-encrypto/health.svg)

```
[![Health](https://phpackages.com/badges/mosafax-encrypto/health.svg)](https://phpackages.com/packages/mosafax-encrypto)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

20917.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9346.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
