brianllevado123 / bw-zoho-guard
Secures and facilitates the communication between Bitwarden and Zoho by acting as a middleware, ensuring safe and authenticated handshakes for API requests.
Fund package maintenance!
:vendor_name
Requires
- php: ^8.0
- illuminate/contracts: ^10.0||^11.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- spatie/laravel-ray: ^1.35
This package is auto-updated.
Last update: 2025-08-12 08:47:51 UTC
README
Installation
You can install the package via composer:
composer require brianllevado123/bw-zoho-guard
You can publish the config file with:
php artisan vendor:publish --tag="BWZohoGuard-config"
This is the contents of the published config file:
return [ 'api_key' => env('API_KEY', 'default_api_key'), 'master_password' => env('MASTER_PASSWORD', 'default_password'), 'bitwarden_url' => env('BITWARDEN_URL', 'http://localhost'), ];
Add the service provider to config/app.php:
'brianllevado123\BWZohoGuard\BWZohoGuardServiceProvider::class',
Clear routes:
php artisan route:clear
Usage
Endpoint:
This API endpoint allows you to interact with the Bitwarden API by making requests with a specified endpoint, method, and payload.
https://{domain-name}/api/bitwarden-api-request
Request Body:
The request body should be a JSON object with the following properties.
{ "bw_api_endpoint": "{string}", // The Bitwarden API endpoint to interact with. Example: "/object/folder" "bw_request_method": "{string}", // The HTTP request method to use. Example: "post", "get", "put", "delete" "bw_request_payload": {collection} // The data to send with the request }
{ "bw_api_endpoint": "/object/folder", "bw_request_method": "post", "bw_request_payload": { "name": "Folder Name" } }
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.