diff --git a/composer.json b/composer.json index 116fa0f..79fc559 100644 --- a/composer.json +++ b/composer.json @@ -11,9 +11,9 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "^5.2", - "illuminate/database": "^5.2", - "illuminate/filesystem": "^5.2" + "illuminate/support": ">=5.2", + "illuminate/database": ">=5.2", + "illuminate/filesystem": ">=5.2" }, "require-dev": { diff --git a/src/DbExporter/Commands/CopyToRemoteCommand.php b/src/Commands/CopyToRemoteCommand.php similarity index 100% rename from src/DbExporter/Commands/CopyToRemoteCommand.php rename to src/Commands/CopyToRemoteCommand.php diff --git a/src/DbExporter/Commands/GeneratorCommand.php b/src/Commands/GeneratorCommand.php similarity index 100% rename from src/DbExporter/Commands/GeneratorCommand.php rename to src/Commands/GeneratorCommand.php diff --git a/src/DbExporter/Commands/MigrationsGeneratorCommand.php b/src/Commands/MigrationsGeneratorCommand.php similarity index 100% rename from src/DbExporter/Commands/MigrationsGeneratorCommand.php rename to src/Commands/MigrationsGeneratorCommand.php diff --git a/src/DbExporter/Commands/SeedGeneratorCommand.php b/src/Commands/SeedGeneratorCommand.php similarity index 100% rename from src/DbExporter/Commands/SeedGeneratorCommand.php rename to src/Commands/SeedGeneratorCommand.php diff --git a/src/DbExporter/DbExportHandler.php b/src/DbExportHandler.php similarity index 100% rename from src/DbExporter/DbExportHandler.php rename to src/DbExportHandler.php diff --git a/src/DbExporter/DbExportHandlerServiceProvider.php b/src/DbExportHandlerServiceProvider.php similarity index 95% rename from src/DbExporter/DbExportHandlerServiceProvider.php rename to src/DbExportHandlerServiceProvider.php index 0156fbb..2f35d2e 100644 --- a/src/DbExporter/DbExportHandlerServiceProvider.php +++ b/src/DbExportHandlerServiceProvider.php @@ -33,13 +33,13 @@ public function boot(DbMigrations $migrator) { $this->publishes( [ - realpath(__DIR__ . '/../') . '/config/db-exporter.php' => config_path('db-exporter.php'), + realpath(__DIR__) . '/config/db-exporter.php' => config_path('db-exporter.php'), ], 'config' ); $this->mergeConfigFrom( - realpath(__DIR__ . '/../') . '/config/db-exporter.php', + realpath(__DIR__) . '/config/db-exporter.php', 'db-exporter' ); // Instatiate a new DbMigrations class to send to the handler diff --git a/src/DbExporter/DbExporter.php b/src/DbExporter.php similarity index 100% rename from src/DbExporter/DbExporter.php rename to src/DbExporter.php diff --git a/src/DbExporter/DbMigrations.php b/src/DbMigrations.php similarity index 100% rename from src/DbExporter/DbMigrations.php rename to src/DbMigrations.php diff --git a/src/DbExporter/DbMigrationsServiceProvider.php b/src/DbMigrationsServiceProvider.php similarity index 100% rename from src/DbExporter/DbMigrationsServiceProvider.php rename to src/DbMigrationsServiceProvider.php diff --git a/src/DbExporter/DbSeeding.php b/src/DbSeeding.php similarity index 100% rename from src/DbExporter/DbSeeding.php rename to src/DbSeeding.php diff --git a/src/DbExporter/Exceptions/InvalidDatabaseException.php b/src/Exceptions/InvalidDatabaseException.php similarity index 100% rename from src/DbExporter/Exceptions/InvalidDatabaseException.php rename to src/Exceptions/InvalidDatabaseException.php diff --git a/src/DbExporter/Facades/DbExportHandler.php b/src/Facades/DbExportHandler.php similarity index 100% rename from src/DbExporter/Facades/DbExportHandler.php rename to src/Facades/DbExportHandler.php diff --git a/src/DbExporter/Facades/DbMigrations.php b/src/Facades/DbMigrations.php similarity index 100% rename from src/DbExporter/Facades/DbMigrations.php rename to src/Facades/DbMigrations.php diff --git a/src/DbExporter/SeederHelper.php b/src/SeederHelper.php similarity index 100% rename from src/DbExporter/SeederHelper.php rename to src/SeederHelper.php diff --git a/src/DbExporter/stubs/migration.stub b/src/stubs/migration.stub similarity index 100% rename from src/DbExporter/stubs/migration.stub rename to src/stubs/migration.stub diff --git a/src/DbExporter/stubs/seed.stub b/src/stubs/seed.stub similarity index 100% rename from src/DbExporter/stubs/seed.stub rename to src/stubs/seed.stub