evulpo/vui-kit

Components Kit UI library

dev-main 2023-04-13 14:12 UTC

This package is auto-updated.

Last update: 2024-03-13 16:22:51 UTC


README

Vui Kit is a package of UI components recurrently used on Evulpo learning platform.

Add those lines to your main project "repositories" section of your composer.json file.

As a local package in your installation

"repositories": {
    ...
    "vui-kit": {
        "type": "path",
        "url": "packages/evulpo/vui-kit",
        "options": {
            "symlink": true
        }
    }
}

and that one:

"Evulpo\\VuiKit\\": "packages/evulpo/vui-kit/src",

into "autoload": { "psr-4": { ... } }

Or as a remote package on public Github via Packagist

"repositories": {
    ...
    "vui-kit": {
        "type": "git",
        "url": "https://github.com/evulpo/vui-kit"
    }
}

with that line in "autoload":

"Evulpo\\VuiKit\\": "vendor/evulpo/vui-kit/src",

usual install in a project

git clone the vui-kit (https://github.com/evulpo/vui-kit) into ./packages/evulpo composer update evulpo/vui-kit php artisan vendor:publish --tag=vui --force

Then run inside the main root project to publish config, css and public assets :

php artisan vendor:publish --tag=vui --force

Run composer update evulpo/vui-kit after install or if project cannot find views.