Download the PHP package novay/bunny-secrets without Composer

On this page you can find all versions of the php package novay/bunny-secrets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bunny-secrets

Bunny Secrets

A small Laravel package for Bunny.net Storage with:

Requirements

Installation

Laravel package discovery will register the service provider automatically.

Environment

Recommended direct Bunny.net API key setup

Use this when you do not need Borneo Secrets Manager.

Optional Borneo Secrets Manager setup

Turn this on only when the package should resolve the Bunny.net API key from your Borneo Secrets Manager API.

Legacy env names are still supported:

API key resolution order:

  1. BUNNYCDN_API_KEY
  2. storage/app/{BUNNY_SECRET_FILE}
  3. Borneo Secrets Manager, only when BORNEO_SECRET_ENABLED=true

Recommendation: keep FILESYSTEM_DISK=local for Laravel and Livewire temporary uploads. Use the bunnycdn disk only when storing final files.

Usage

Upload with the facade

Delete a file

Check file existence

Use Laravel Storage

Optional Borneo Secrets Manager API

The Borneo Secrets Manager feature remains available, but it is optional and disabled by default. When disabled, the package will not call the secret API during filesystem boot.

storeSecret() and deleteSecret() intentionally throw a clear exception when Borneo Secrets Manager is disabled or incomplete, because those are explicit write/delete actions. getSecret() returns null when the integration is disabled, not configured, or the secret cannot be resolved.

Configuration

The package publishes config/bunnycdn.php.

You do not need to manually add a bunnycdn disk to config/filesystems.php; the package registers it at runtime from config/bunnycdn.php. If you do define filesystems.disks.bunnycdn, your app-level values override the package defaults.

Failure behavior

This package avoids the previous circular failure where the service provider tried to read the API key through Laravel's default Storage disk before the custom bunnycdn driver existed.

Current behavior:

Useful commands after changing config

License

This package is licensed under the MIT License.


All versions of bunny-secrets with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/filesystem Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
league/flysystem Version ^3.0
platformcommunity/flysystem-bunnycdn Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package novay/bunny-secrets contains the following files

Loading the files please wait ...