Download the PHP package noxterr/spirit without Composer

On this page you can find all versions of the php package noxterr/spirit. 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 spirit

Total Downloads Latest Stable Version License

B2 Spirit is a Laravel package designed to handle file transfers with Backblaze B2 Cloud Storage.

Features

Installation

To install the package, use Composer:

Setup migrations

Migrations aren't necessary for this package to work and all the functions and features will work even if you don't publish migration and execute them.

The simply migration will keep a table for logging on your database, which will log every single action that is carried out from this package.

This allows auditing and logging, in order to keep track of every action.

Even if you publish and run migrations, you need to enable the logging flow by adding a key in the .env file.

Step 1: Export the migrations

Step 2: Run php artisan migrate to run the migrations.

Step 3: Add key in your .env for migrations

Set your Backblaze B2 credentials in the .env file:

Usage

Uploading a File

Downloading a File

Handling respones

Every time an action is carried out on Spirit, a response is provided to the user under the form of a so-called ClassReturn.

This is an object that returns standardized data, making it easier to interface with your custom application.

The object is as follows

With this flow, you can always ensure to check errors like so if ($response->errcode != 0) { Error handling }, so is easy to use.

Versioning and branches

Every branch will be named X.Y.Z to match the version (meaning 2.0.0, 1.2.3 etc...). The latest branch is v.x (meaning 2.x, 3.x and so on).

Tag-wise, a tag that matches the version will be pushed on a new release under the same version schema with v appended upfront (meaning v1.2.4, v2.0.0)

For tags, if a version is, say, 3.x, the corresponding tags can range from v3.0.0 to v3.9.9, higher meaning latest version to require via composer

License

This package is open-sourced software licensed under the MIT license.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Support

For any issues, please open an issue on GitHub.


All versions of spirit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/config Version ^10.48.4|^11.0.8
illuminate/support Version ^11.26
illuminate/console Version ^11.26
illuminate/database Version ^11.30
symfony/http-foundation Version ^7.1
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 noxterr/spirit contains the following files

Loading the files please wait ....