Download the PHP package sylvainjule/backups without Composer

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

Kirby Backups

This plugin allows you to create, download and manage backups from a dedicated View. Works together with kirby-janitor.

screenshot-k4


Overview

This plugin is completely free and published under the MIT license. However, if you are using it in a commercial project and want to help me keep up with maintenance, please consider making a donation of your choice or purchasing your license(s) through my affiliate link.


1. Installation

Prerequisite: you must install kirby-janitor (and the CLI per janitor's instructions) for this plugin to work. For a Kirby 3 website, install v.1.0.3. For a Kirby 4 website, install v.1.0.4+.

Download and copy this repository to

Alternatively, you can install it with composer:


2. Usage

The plugin will work out of the box, no need for additionnal setup.

You can, however, change the prefix of the backups' filename (default is backup-{TIMESTAMP}.zip)

Any backup, created either with this plugin or with any of the janitor's options (CLI, CRON job, etc), will now show up in the Backups view.

Janitor stores the backups in a site/backups folder. This folder isn't public and we should keep it that way. Therefore, anytime a user triggers a Download button, the plugin will create a copy of the given backup in a backups-temp folder and expose an url from there.

When the user leaves the view, copies will be deleted.

This default public assets/backup-temp folder can be changed to any name you'd like:

The backups list isn't paginated because it is not intended to keep hundreds of backups around. If included in a client website, you should include a note specifying an expected frequency of backup creation / deletion (or set up a CRON job).

You can enforce a maximum number of backups by setting the maximum option to any integer (default is false). If this number is reached the oldest backup will be deleted automatically whenever a new backup is created.

If you want to create backups from a CRON job and still benefit from this maximum option, the plugin exposes a tweaked janitor webhook:

There's also a way to disable the "Backups" menu-item for specific user roles:


3. License

MIT


4. Credits


All versions of backups with dependencies

PHP Build Version
Package Version
Requires getkirby/composer-installer Version ^1.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 sylvainjule/backups contains the following files

Loading the files please wait ....