Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mysqldump Php Laravel Package

ifsnop/mysqldump-php

MySQLDump-PHP is a dependency-free, pure-PHP library that recreates mysqldump: back up table structures, data, views, triggers, stored routines and events, with compression, hooks, hex blobs, virtual columns and direct restore. No MySQL binary is required, and output matches the original mysqldump.

View on GitHub
Deep Wiki
Context7
v2.13

Full Changelog: https://github.com/ifsnop/mysqldump-php/compare/v2.9.1...v2.13

  • Added support for MariaDB System-Versioned Tables
  • Added compatibility with php >= 8.4, MYSQL_ATTR_USE_BUFFERED_QUERY is now undefined.
  • Added more tests
  • OPTIMIZATION: Faster dump by less tiny writes()
  • FIX: Trim breaks sql that spawns several lins, removed.
v2.11
  • Fixes memory exhaustion when dumping large databases. Fixes #261 #264.
v2.10
  • Fix PHP 8.1 PDO doubles
  • fix skip-definer doesn't work for views with SQL SECURITY INVOKER. Fixes #243
  • Add option to disable database creation statement. Fixes #232
  • Order table names for MariaDB-to-MySQL compatibility. Fixes #218
  • Improve the library extensibility. Fixes #200
  • fixes whitespaces. Fixes #231
  • Added restore option (for hosts missing mysql executable) to import mysqldump file
  • When hex-blob was specified and virtual columns of type blob or bit existed, produced dump file was invalid. Fixes #214
  • Disable virtual columns tests only when really needed
  • Merge pull request #258 from CallMeJon90/PHP_8.2
  • Merge pull request #213 from NerijusNoreika/charset
  • Add binary constant
  • Add support for "if-not-exists" option (#204)
  • Remove array_replace_recursive polyfill (#192)
  • Restore the autocommit value at end of dump. (#196)
  • Allow to select the empty set 'limit 0' (#201)
v2.9

Allow include-views to be passed in. Added a hook on table rows, optimize table modifications using hooks. Added information callback for tables dumped. Added php7.4 to travis-ci.

v2.8

Added create function metadata to create_function() Added Make skip-definer work with routines. Added some more tests. Added stream-wrapper friendly Gzip compression. Added php7.3 to travis-ci. Added dump functions when routines is true.

Fixed making travis-ci work again Fixed make code compatible with php 5.3 again Fixed Lock-table Fixed mysql function export order issue

Update documentation

v2.7

Added PHPUnit in Travis for automated testing Added table specific LIMITs Added ability to add table specific 'where' conditions

v2.6

Add support for accessing row data with hooks (fix from last release) Add row count to dump file Improve testing scripts (introduce per MySQL version testing) Update test matrix

Readme: Let Composer choose the right version Readme: Go HTTPS everywhere

v2.5

Added support for insert-ignore Added hooks, so programs using mysqldump-php can change column names (ie. encryption) Fix bug when using complete-insert and hex-blob options Added some more tests Some fixes by scrutinizer-ci

v2.4

Add option 'skip-definer' to ommit DEFINER clauses in sql dump

Cleaning code: Added $dumpSettings as a TypeAdapterFactory property Cleaning code: Use preg_replace instead of str_replace for views, trigger, events Documentation: Fix code snippets in README.md Testing: Updated .travis.yml to allow for failures on hhvm and nightly builds LICENSE file was missing, added

v2.3.1

Added support for mysql virtual columns (dumping virtual columns, enable complete-insert always) Added support for mysql events Added reset-auto-increment option Added net_buffer_length functionality Added option to ignore data from certain tables Travis-ci (Upgraded travis-ci tests to include mysql v5.6 & v5.7, added tests for virtual columns support and foreign keys dump, fixed some tests) Fixed download link using curl Fixed don't break compatibility with old no-data trigger and fix tests Updated curl download instructions

v2.3

Added support for mysql virtual columns (dumping virtual columns, enable complete-insert always) Added support for mysql events Added reset-auto-increment option Added net_buffer_length functionality Added option to ignore data from certain tables Travis-ci (Upgraded travis-ci tests to include mysql v5.6 & v5.7, added tests for virtual columns support and foreign keys dump, fixed some tests) Fixed download link using curl Fixed don't break compatibility with old no-data trigger and fix tests

v2.2

Added geometry types to hexblobs Added tests for PHP 7.0 (although nightly is also tested) Added destructor logic Added complete-insert Added support for regexps within exclude-table strings Clean include-views and include-tables logic Describe mysqldump-php as cross platform skip-dump-date option fixed

v2.1

Remove duplicated code, make code Dump user procedures. Lower case option names, not parameters (bug)

v2.0

New DSN options, easier to create new connections (brokes compatibility with older releases) Create Stand-Ins tables when dumping views (fixes a bug with related views) Improved speed when dumping hex-blobs

v1.6

Privilege fix, no more SUPER privilege needed Added port settings to connection string Some warnings suppressed Added skip-comments and skip-dump-date

v1.5

Added support for utf8mb4 Output fllename provided by user won't be changed, so provide a filename extension if you are compressing output! Mysqldump-php will refuse to overwrite a file if it exists, and it will raise an exception.

v1.4
v1.3.1
v1.3
v1.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics
robbiep/afterthedeadline
frankkessler/incontact-laravel-oauth2-rest
jlxh/laravel-userlog
davidmgilo/timetables
qylinfly/role-permission
reflect-digital/conduit
takashato/laravel-vietqr
aitor24/laralang
kraenzle-ritter/entity-relations
dindigital/din-image
pomirleanu/image-colors
sawmainek/laravel-api-generator
delatbabel/jsonresponses
mouhamedfd/permissions-generator
eduplus/qr