Skip to content

A Kanban package that integrates with any Laravel project

License

Notifications You must be signed in to change notification settings

SiamakSamie/SOEN491-Kanban

Repository files navigation

SOEN491-Kanban

A Kanban package that integrates with any Laravel project



Installation the package with composer

Not implemented but soon we can run a command such as:

composer require SiamakSamie/Kanban

And then immediately have it running. I will first have to upload the package on packagist.com.



Development Installation Method

1: First create a directory called package, and clone the project inside of it.

2: Then, add line of code in the psr-4 of your root composer.json

"psr-4": {
    //...
    "SiamakSamie\\Kanban\\": "package/kanban/src/"
},

3: Add the Kanban Service provider to the config/app.php

return [
    //...
    "providers" => [
        //...
        SiamakSamie\Kanban\KanbanServiceProvider::class,
    ]
];

4: run this command to allow laravel to find the new package

composer dump-autoload

5: Inside the Kanban project, run (as we would with any laravel application)

composer install
npm install
npm run dev

6: This is important! Any changes to the frontend (vue or scss) needs to be "published". Laravel will look inside the vendor folder for the frontend data so any time we make a change we have to run the following command in the root of the project.

php artisan vendor:publish --provider="SiamakSamie\Kanban\KanbanServiceProvider" --force

7: Migrate and seed the database!

php artisan migrate:fresh --seed

About

A Kanban package that integrates with any Laravel project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages