Elimuswift / db-exporter

A laravel database schema migration plugin
36 stars 8 forks source link

Problem when I'm trying install it #12

Open fahadof opened 4 years ago

fahadof commented 4 years ago

I'm junior in Laravel , when I'm trying to install it I face this problem . I used composer require elimuswift/db-exporter dev-master And composer require elimuswift/db-exporter I googled it this issue and I don't found how to solve it `Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content. `

This composer.json file : { "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": [ "framework", "laravel" ], "license": "MIT", "require": { "php": "^7.2.5", "fideloper/proxy": "^4.2", "fruitcake/laravel-cors": "^1.0", "guzzlehttp/guzzle": "^6.3", "illuminate/support": "^7.6", "laravel/tinker": "^2.0", "laravel/ui": "^2.0" }, "require-dev": { "facade/ignition": "^2.0", "fzaninotto/faker": "^1.9.1", "mockery/mockery": "^1.3.1", "nunomaduro/collision": "^4.1", "phpunit/phpunit": "^8.5" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true }, "extra": { "laravel": { "dont-discover": [] } }, "autoload": { "psr-4": { "App\\": "app/" }, "classmap": [ "database/seeds", "database/factories" ] }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "minimum-stability": "dev", "prefer-stable": true, "scripts": { "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] } }

Thanks ..

christopherokonkwo commented 3 years ago

The package is outdated and hence will not work for Laravel versions greater than 5.2 or so.

weezqyd commented 3 years ago

Hi @fahadof I hardly get time to maintain the package I recommend that you try this https://github.com/kitloong/laravel-migrations-generator as it is regularly updated.

orajiakuchibuchi commented 2 years ago

your package does exactly what I need. please can you upgrade it to accept higher version :-(

skalero01 commented 2 years ago

@orajiakuchibuchi @fahadof added a pull request that fix these problems:

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",