P
P
pashara2021-04-02 13:10:05
PHP
pashara, 2021-04-02 13:10:05

How to install philippfrenzel/yii2fullcalendar-scheduler on Yii2 in 2021?

There is an old plugin. https://github.com/philippfrenzel/yii2fullcalendar... . If you do everything according to the instructions, then an error occurs.

The file or directory to be published does not exist: \domains\yii\vendor/bower-asset/fullcalendar/dist

There is only one old version of the plugin in the https://asset-packagist.org repository , which is broken. How, with minimal pop-pain, you can upload the old plugin project from the repository so that:
a) all dependencies are pulled up to the downloaded module
b) the composer does not remove it during the next Update of dependencies.
c) everything worked

Composer

{
    "name": "yiisoft/yii2-app-basic",
    "description": "Yii 2 Basic Project Template",
    "keywords": ["yii2", "framework", "basic", "project template"],
    "homepage": "http://www.yiiframework.com/",
    "type": "project",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/yii2/issues?state=open",
        "forum": "http://www.yiiframework.com/forum/",
        "wiki": "http://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "source": "https://github.com/yiisoft/yii2"
    },
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.6.0",
        "yiisoft/yii2": "~2.0.14",
        "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0",
        "dektrium/yii2-user": "*",
    "hail812/yii2-adminlte3": "*",
        "kartik-v/yii2-sortable-input": "dev-master",
        "kartik-v/yii2-editable": "dev-master",
        "kartik-v/yii2-grid": "dev-master",
        "richardfan1126/yii2-sortable-gridview": "*",
        "naduvko/yii2-sortable-grid-view-widget": "*",
    "yiisoft/yii2-bootstrap4": "@dev",
        "kartik-v/yii2-nav-x": "dev-master",
        "kartik-v/yii2-widget-select2": "dev-master",
    "sansusan/yii2-jqwidgets-asset": "dev-master",
        "kartik-v/yii2-widget-datetimepicker": "dev-master",
        "kartik-v/yii2-widget-datepicker": "dev-master",
        "solutosoft/yii2-kendoui": "*",
        "tigrov/yii2-kendoui": "dev-master",
        "aki/yii2-bot-telegram": "*",
        "omnilight/yii2-scheduling": "*",
        "udokmeci/yii2-phone-validator" : "~1.0.3",
        "nex/yii2-datepicker": "*",
        "kartik-v/yii2-field-range": "*",
    "philippfrenzel/yii2fullcalendarscheduler":"*"
    },
    "require-dev": {
        "yiisoft/yii2-debug": "~2.1.0",
        "yiisoft/yii2-gii": "~2.1.0",
        "yiisoft/yii2-faker": "~2.0.0",
        "codeception/codeception": "^4.0",
        "codeception/verify": "~0.5.0 || ~1.1.0",
        "codeception/specify": "~0.4.6",
        "symfony/browser-kit": ">=2.7 <=4.2.4",
        "codeception/module-filesystem": "^1.0.0",
        "codeception/module-yii2": "^1.0.0",
        "codeception/module-asserts": "^1.0.0"
    },
    "config": {
        "process-timeout": 1800,
        "fxp-asset": {
            "enabled": false
        }
    },
    "scripts": {
        "post-install-cmd": [
            "yii\\composer\\Installer::postInstall"
        ],
        "post-create-project-cmd": [
            "yii\\composer\\Installer::postCreateProject",
            "yii\\composer\\Installer::postInstall"
        ]
    },
    "extra": {
        "yii\\composer\\Installer::postCreateProject": {
            "setPermission": [
                {
                    "runtime": "0777",
                    "web/assets": "0777",
                    "yii": "0755"
                }
            ]
        },
        "yii\\composer\\Installer::postInstall": {
            "generateCookieValidationKey": [
                "config/web.php"
            ]
        }
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ]
}



.bowerrc

{
    "directory" : "vendor/bower-asset"
}



bower-asset folder
6066ec9e9d3dd301818503.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question