Download the PHP package stayapp-corp/firebase-realtime-database-backup without Composer

On this page you can find all versions of the php package stayapp-corp/firebase-realtime-database-backup. 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 firebase-realtime-database-backup

Firebase Realtime-database backup client

Current version [Supported PHP version]() Total Downloads License

GitHub stars GitHub watchers

Available on Packagist.

Description

Unfortunately, the firebase backup service is only today available for Blaze plan and you can not do backups more than one time per day.

The manual export button available on cli (that uses the rest endpoint) doesn't work for bigger databases. This library permits to export and import the firebase realtime-database using the rest api and a division strategy to enable the capability to export and import bigger databases.

Adding this to your project using Composer

In some situations, is a good idea to install this library in your project and use our processor classes to make your own backup in your service. To do that you can install this library using composer:

More info about Composer at getcomposer.org.

Using this library by Console CLI

Database Export

There are some optional parameters:

Long parameter short parameter Description Default value
temp_dir t Temporary directory to save all downloaded database files before creating .tar.gz backup file ./temp
max_ipp i The maximum size of items per page that some query to the database will use. Note that if you specify a very large number and you have nodes that can't get this quantity of samples, the script can take a long time to finish because it will be decrease the IPP size until it can get the data. 1000
output_file o Compressed backup (.tar.gz) output file path ./backups/BACKUP-

Database Import


All versions of firebase-realtime-database-backup with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
ktamas77/firebase-php Version ^2.2
haydenpierce/class-finder Version dev-master
fostam/getopts Version dev-master
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 stayapp-corp/firebase-realtime-database-backup contains the following files

Loading the files please wait ...