Download the PHP package therealsmat/laravel-push-db without Composer

On this page you can find all versions of the php package therealsmat/laravel-push-db. 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 laravel-push-db

laravel-push-db

Software License

This package allows you to easily export your database. It also provides an artisan command, php artisan db:push to make the process simpler. You can either run manually from the console or use with Laravel scheduler. It's totally a matter of choice.

Requirements

PHP 5.4+, Composer are required.

Installation

Run composer require therealsmat/laravel-push-db to pull the latest version of the package

Configuration

To start using laravel-push-db, add therealsmat\PushDB\PushDBServiceProvider::class to the providers array of your app.php file.

Next, publish the PushDB Service provider by running php artisan vendor:publish --provider="therealsmat\PushDB\PushDBServiceProvider".

You will get a config file named pushdb.php. Feel free to edit it if you wish.

Also out of the box, you will get a new artisan command db:push. This command alone will get your database exported quickly.

Usage

There are two ways to use this package.

Controller

Command

Simply run php artisan db:push and your database will be placed in the path you set from the pushdb.php output_path option. As simple as this command is, it can be used in several ways.

  1. You can use programmatically in your controllers

Of course, you must have set up your s3 disk from the filesystems.php file.

  1. You can schedule (1) above to run automatically using Laravel Scheduler e.g

Supported Databases

Only mysql database is supported for now!

TODO

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-push-db with dependencies

PHP Build Version
Package Version
Requires php Version ~5.6|~7.0
illuminate/support Version ~5.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 therealsmat/laravel-push-db contains the following files

Loading the files please wait ....