db-exporter icon indicating copy to clipboard operation
db-exporter copied to clipboard

Works on laravel

Open skalero01 opened this issue 2 years ago • 0 comments

Hi, added some modifications to work with laravel 8 on the composer and also fixed the structure of folders to work with the last version of composer, as we were getting the next errors:

Class Elimuswift\DbExporter\SeederHelper located in ./vendor/elimuswift/db-exporter/src/DbExporter/SeederHelper.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\DbMigrations located in ./vendor/elimuswift/db-exporter/src/DbExporter/DbMigrations.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\DbExportHandler located in ./vendor/elimuswift/db-exporter/src/DbExporter/DbExportHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\DbExportHandlerServiceProvider located in ./vendor/elimuswift/db-exporter/src/DbExporter/DbExportHandlerServiceProvider.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\Exceptions\InvalidDatabaseException located in ./vendor/elimuswift/db-exporter/src/DbExporter/Exceptions/InvalidDatabaseException.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\Facades\DbMigrations located in ./vendor/elimuswift/db-exporter/src/DbExporter/Facades/DbMigrations.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\Facades\DbExportHandler located in ./vendor/elimuswift/db-exporter/src/DbExporter/Facades/DbExportHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\DbSeeding located in ./vendor/elimuswift/db-exporter/src/DbExporter/DbSeeding.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\DbExporter located in ./vendor/elimuswift/db-exporter/src/DbExporter/DbExporter.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\DbMigrationsServiceProvider located in ./vendor/elimuswift/db-exporter/src/DbExporter/DbMigrationsServiceProvider.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\Commands\MigrationsGeneratorCommand located in ./vendor/elimuswift/db-exporter/src/DbExporter/Commands/MigrationsGeneratorCommand.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\Commands\GeneratorCommand located in ./vendor/elimuswift/db-exporter/src/DbExporter/Commands/GeneratorCommand.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\Commands\CopyToRemoteCommand located in ./vendor/elimuswift/db-exporter/src/DbExporter/Commands/CopyToRemoteCommand.php does not comply with psr-4 autoloading standard. Skipping.
Class Elimuswift\DbExporter\Commands\SeedGeneratorCommand located in ./vendor/elimuswift/db-exporter/src/DbExporter/Commands/SeedGeneratorCommand.php does not comply with psr-4 autoloading standard. Skipping.

That are all the errors needed to work with laravel 8 apparently.

If someone wants to use this version just add on the composer json

"repositories": [
        {
            "type": "git",
            "url": "https://github.com/weblabormx/db-exporter.git"
        }
    ],

And change the version of the package to:

"elimuswift/db-exporter": "dev-feature-works-laravel8",

skalero01 avatar Nov 30 '21 19:11 skalero01