Download the PHP package lordsimal/cakephp-dump-sql without Composer

On this page you can find all versions of the php package lordsimal/cakephp-dump-sql. 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 cakephp-dump-sql

CakePHP Dump SQL plugin

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require codecov

This plugin adds a CakePHP command to easily generate SQL dumps of your configured datasources

Currently the following DBMS are integrated:

Version table

PHP CakePHP
1.x ^7.4 \|\| ^8.0 ^4.4
2.x ^8.1 ^5.0

Installation

The recommended way to install this plugin via composer is:

Then execute

or add this to your src/Application.php manually

Requirements

For each DBMS you need to have its respective dump tool installed.

⚠️ For pg_dump it is especially important that you have a compatible version installed. So e.g. if you have a PostgreSQL 14 server you need a pg_dump version 14 ⚠️

How to use

After installing the plugin you now have a new command available to you:

After executing that command you should see a SQL representation of your default datasource inside your console.

So if you want to save it into a file you should do

Dump different datasource

You can specify which datasource you want to export via the first argument

GZIP compressed dump

ℹ️ The following feature requires you have the PHP zlib extension installed and active ℹ️

Data only dump


All versions of cakephp-dump-sql with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
cakephp/cakephp Version ^5.0.0
symfony/process Version ^5.4
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 lordsimal/cakephp-dump-sql contains the following files

Loading the files please wait ....