Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use CoreUI Laravel admin template pro with Laravel 6? #45

Open
joelamltc opened this issue Sep 9, 2020 · 5 comments
Open

Can I use CoreUI Laravel admin template pro with Laravel 6? #45

joelamltc opened this issue Sep 9, 2020 · 5 comments

Comments

@joelamltc
Copy link

As the topic mentioned, I would like to use the Laravel 6 LTS version as my project requirement. Is it possible with pro version?

@marchershey
Copy link
Contributor

Good lord. Version 6?

But I have yet to test this, but it should work because it's just blade templates and a little js.

If it doesn't you can always implement CoreUI into Laravel yourself.

@joelamltc
Copy link
Author

Alright, thx. I will give it a try to move those template files and assets into Laravel 6.

@marchershey
Copy link
Contributor

If you have any issues, please report back.

I'm kind of curious. lol

@joelamltc
Copy link
Author

I was managed to use coreui-pro-laravel-admin-template-v1.0.6 as a start and downgraded to Laravel 6. What I have done were just update composer.json to Laravel 6 requirements. And ran phpunit, all tests are passed.

    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "require": {
        "php": "^7.2",
        "fideloper/proxy": "^4.2",
        "firebase/php-jwt": "^5.2",
        "fruitcake/laravel-cors": "^1.0",
        "guzzlehttp/guzzle": "^7.0",
        "laravel/framework": "^6.18.35",
        "laravel/tinker": "^2.0",
        "laravel/ui": "^1.0",
        "phpseclib/phpseclib": "^2.0",
        "spatie/laravel-medialibrary": "^7.19.0",
        "spatie/laravel-permission": "^3.8"
    },
    "require-dev": {
        "facade/ignition": "^1.4",
        "fzaninotto/faker": "^1.9.1",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^3.0",
        "phpunit/phpunit": "^8.0"
    },
    "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"
        ]
    }
}

@joelamltc joelamltc reopened this Sep 23, 2020
@joelamltc
Copy link
Author

joelamltc commented Sep 23, 2020

Worth mentioned. I noticed the code is not complied to PSR coding standard.
Some pages style are gone. e.g. password reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants