PHPackages                             chiiya/laravel-cipher - 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. [Security](/categories/security)
4. /
5. chiiya/laravel-cipher

ActiveLibrary[Security](/categories/security)

chiiya/laravel-cipher
=====================

Searchable and secure encryption for Laravel based on ciphersweet

0101PHP

Since Sep 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/chiiya/laravel-cipher)[ Packagist](https://packagist.org/packages/chiiya/laravel-cipher)[ RSS](/packages/chiiya-laravel-cipher/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

This is my package laravel-cipher
=================================

[](#this-is-my-package-laravel-cipher)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cfc048d807074a0d8fe5966ab6f54f4a2de62f06c3182a9e7582234524520715/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368696979612f6c61726176656c6369706865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chiiya/laravelcipher)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ba263f820a1b9610a0191fa4d8bc64d3f03a4644caec930084b729a95c9005d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368696979612f6c61726176656c6369706865722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/chiiya/laravelcipher/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e4a3f4a18bc8ecd072573d327eb79acc8787099ca85b3e8b3d4ea3817dea0dca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368696979612f6c61726176656c6369706865722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/chiiya/laravelcipher/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1071bd68308ec38e99ae41ad04e43567d27c2cd79c95f7e9bd9129d8a408ce8b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368696979612f6c61726176656c6369706865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chiiya/laravelcipher)

---

This repo can be used to scaffold a Laravel package. Follow these steps to get started:

1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this laravelcipher
2. Run "./configure-laravelcipher.sh" to run a script that will replace all placeholders throughout all the files
3. Remove this block of text.
4. Have fun creating your package.
5. If you need help creating a package, consider picking up our [Laravel Package Training](https://laravelpackage.training) video course.

---

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/3be7ef87ee4aace0cc1a382a1a21d2bd515f7dc091e1860961c902a6033e2f0d/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f4c61726176656c4369706865722e6a70673f743d31)](https://spatie.be/github-ad-click/LaravelCipher)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require chiiya/laravelcipher
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Chiiya\laravel-cipher\laravel-cipherServiceProvider" --tag="laravelcipher-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Chiiya\laravel-cipher\laravel-cipherServiceProvider" --tag="laravelcipher-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$laravelcipher = new Chiiya\laravel-cipher();
echo $laravelcipher->echoPhrase('Hello, Spatie!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Elisha Witte](https://github.com/chiiya)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/34a7cd6c6e8c5fd30b6cd28645c3384f343fc90d10b0df8c80c7ad424e3dba2a?d=identicon)[chiiya](/maintainers/chiiya)

---

Top Contributors

[![chiiya](https://avatars.githubusercontent.com/u/15029301?v=4)](https://github.com/chiiya "chiiya (22 commits)")

### Embed Badge

![Health badge](/badges/chiiya-laravel-cipher/health.svg)

```
[![Health](https://phpackages.com/badges/chiiya-laravel-cipher/health.svg)](https://phpackages.com/packages/chiiya-laravel-cipher)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M212](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M112](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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