{"id":15944802,"url":"https://github.com/jeffreyvr/wp-simple-encryption","last_synced_at":"2025-08-16T15:32:40.363Z","repository":{"id":194238465,"uuid":"690558419","full_name":"jeffreyvr/wp-simple-encryption","owner":"jeffreyvr","description":"A simple package to encrypt and decrypt strings in WordPress.","archived":false,"fork":false,"pushed_at":"2024-03-28T16:03:34.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T17:18:17.700Z","etag":null,"topics":["php","wordpress"],"latest_commit_sha":null,"homepage":"https://vanrossum.dev","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/jeffreyvr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-12T12:32:56.000Z","updated_at":"2024-07-08T18:54:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f2fdea4-b298-4282-9bb0-ff135db4efb3","html_url":"https://github.com/jeffreyvr/wp-simple-encryption","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"14862be921f9913466180aa2dda2505162a244ad"},"previous_names":["jeffreyvr/wp-simple-encryption"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreyvr%2Fwp-simple-encryption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreyvr%2Fwp-simple-encryption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreyvr%2Fwp-simple-encryption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreyvr%2Fwp-simple-encryption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffreyvr","download_url":"https://codeload.github.com/jeffreyvr/wp-simple-encryption/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230043891,"owners_count":18164081,"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":["php","wordpress"],"created_at":"2024-10-07T08:42:07.639Z","updated_at":"2024-12-17T00:29:15.900Z","avatar_url":"https://github.com/jeffreyvr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://vanrossum.dev\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/jeffreyvr/vanrossum.dev-art/main/logo.svg\" width=\"320\" alt=\"vanrossum.dev Logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://packagist.org/packages/jeffreyvanrossum/wp-simple-encryption\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/jeffreyvanrossum/wp-simple-encryption\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/jeffreyvanrossum/wp-simple-encryption\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/jeffreyvanrossum/wp-simple-encryption\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/jeffreyvanrossum/wp-simple-encryption\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/jeffreyvanrossum/wp-simple-encryption\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# WP Simple Encryption\n\nA simple package to encrypt and decrypt strings in WordPress.\n\n## Installation\n\n```bash\ncomposer require jeffreyvanrossum/wp-simple-encryption\n```\n\n## How it works\n\nThis package attempts to write a constant to your site's `wp-config.php` where the secret key is stored.\n\nYou may define the name of this constant when instantiating the `WPSimpleEncryption` class.\n\nThis package utilizes [php-encryption](https://github.com/defuse/php-encryption/) for the encryption and decryption.\n\n## Usage\n\n```php\nuse Jeffreyvr\\WPSimpleEncryption\\WPSimpleEncryption;\n\n$wp_simple_encryption = new WPSimpleEncryption('YOUR_SECRET_KEY_CONSTANT');\n\n$wp_simple_encryption-\u003eencrypt('some unencrypted string');\n\n$wp_simple_encryption-\u003edecrypt('some encrypted string');\n```\n\n## Contributors\n* [Jeffrey van Rossum](https://github.com/jeffreyvr)\n* [All contributors](https://github.com/jeffreyvr/wp-simple-encryption/graphs/contributors)\n\n## License\nMIT. Please see the [License File](/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreyvr%2Fwp-simple-encryption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffreyvr%2Fwp-simple-encryption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreyvr%2Fwp-simple-encryption/lists"}