{"id":16458523,"url":"https://github.com/bvipul/laravelencryptsattributes","last_synced_at":"2026-02-22T21:01:36.177Z","repository":{"id":62498525,"uuid":"135026866","full_name":"bvipul/LaravelEncryptsAttributes","owner":"bvipul","description":"This package will be used to encrypt attributes of a model.","archived":false,"fork":false,"pushed_at":"2019-04-04T21:03:46.000Z","size":12,"stargazers_count":10,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T10:45:36.389Z","etag":null,"topics":["encryption","laravel","laravel-5-package","php","trait"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bvipul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-27T07:56:18.000Z","updated_at":"2024-08-21T07:49:37.000Z","dependencies_parsed_at":"2022-11-02T12:00:42.482Z","dependency_job_id":null,"html_url":"https://github.com/bvipul/LaravelEncryptsAttributes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvipul%2FLaravelEncryptsAttributes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvipul%2FLaravelEncryptsAttributes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvipul%2FLaravelEncryptsAttributes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvipul%2FLaravelEncryptsAttributes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bvipul","download_url":"https://codeload.github.com/bvipul/LaravelEncryptsAttributes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221849531,"owners_count":16891483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["encryption","laravel","laravel-5-package","php","trait"],"created_at":"2024-10-11T10:45:31.133Z","updated_at":"2026-02-22T21:01:31.116Z","avatar_url":"https://github.com/bvipul.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EncryptsAttributes\n\nPurpose: This package will be used to encrypt attributes of a model.\n\n## For using this package\n\nYou can install the package in your laravel installation by firing up the below command:\n\n`composer require bvipul/laravel-encrypts-attributes`\n\nAfter that, add provider to `config/app.php`\n\n### Configuration\n\nAfter installing the package, register the `Bvipul\\EncryptsAttributes\\EncryptsServiceProvider::class` in your `config/app.php` configuration file:\n\n```php\n'providers' =\u003e [\n    // Other service providers...\n\n    Bvipul\\EncryptsAttributes\\EncryptsServiceProvider::class\n],\n```\nAfter this, you can add the trait this package provides, like below I have done in User.php model file.\n\n```php\n\u003c?php\n\nnamespace App;\n\nuse Illuminate\\Notifications\\Notifiable;\nuse Illuminate\\Foundation\\Auth\\User as Authenticatable;\nuse Bvipul\\EncryptsAttributes\\Traits\\EncryptsAttributes;\n\nclass User extends Authenticatable\n{\n    use Notifiable,\n        EncryptsAttributes;\n\n    /**\n     * The attributes that are mass assignable.\n     *\n     * @var array\n     */\n    protected $fillable = [\n        'name', 'email', 'password',\n    ];\n\n    /**\n     * The attributes that should be hidden for arrays.\n     *\n     * @var array\n     */\n    protected $hidden = [\n        'password', 'remember_token',\n    ];\n}\n\n```\n## Issues\n\nIf you come across any issues please report them [here](https://github.com/bvipul/LaravelEncryptsAttributes/issues).\n\n## Contributing\nFeel free to create any pull requests for the project. For propsing any new changes or features you want to add to the project, you can send us an email me at basapativipulkumar@gmail.com.\n\n## License\n\n[MIT LICENSE](https://github.com/bvipul/LaravelEncryptsAttributes/blob/master/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvipul%2Flaravelencryptsattributes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbvipul%2Flaravelencryptsattributes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvipul%2Flaravelencryptsattributes/lists"}