dump() and dd() are two useful debug helpers available in the Laravel framework.
Tag: dump
Dump a MySQL database and restore it in another database
Suppose you want to copy one MySQL production database to another MySQL database (in the same server) to have the production data in another environment (development or pre-production, for example).