Download the PHP package sierratecnologia/crypto without Composer
On this page you can find all versions of the php package sierratecnologia/crypto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package crypto
Crypto
Crypto - Powerful and elegant cryptography tools for Laravel and Lumen
The Cryptograpy toolset Crypto provides a collection of methods for handy, encryption, decryption, uuid generating, app key generating and more.
Author(s):
- Matt Lantz (@mattylantz, mattlantz at gmail dot com)
Requirements
- PHP 5.6+
- OpenSSL
- Laravel 5.3+ or Lumen
- For Lumen you must enable Facades:
$app->withFacades()
Installation
Start a new Laravel project:
Then run the following to add Crypto
Documentation
https://docs.sierratecnologia.ca/others/crypto
License
Crypto is open-sourced software licensed under the MIT license
Bug Reporting and Feature Requests
Please add as many details as possible regarding submission of issues and feature requests
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Laravel Encryptable Trait
Provides a trait to decrypt or encrypt values in a Laravel model.
Usage
Add the trait to your model, define the array and fields in it will be encrypted and decrypted on the fly by default.
Then in usage:
The email field in the database will now be the encrypted value.
When retrieved, the data will be automatically decrypted for you.
Same for other ways of accessing model data.
WARNING
The encrypted value is stored based on your Laravel APP_KEY using the algorithm defined in your config/app.php cipher setting. If your application key is changed or lost there is no way to retrieve the data.
Installation
require the project and use it. There is no service provider as it is not needed.
All versions of crypto with dependencies
ext-gmp Version *
defuse/php-encryption Version ^2.2
illuminate/support Version ^5.0 || ^6.0 || ^7.0 || ^8.0
mdanter/ecc Version ^0.5
ramsey/uuid Version ^3.8|^4.0