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 today

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 47% of packages

Maintenance34

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

631d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/146624906?v=4)[Mostafa Elbayyar](/maintainers/mostafax2)[@mostafax2](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M281](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M375](/packages/illuminate-redis)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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