Canvas: Suggestion: Add option to seed Canvas from the package itself

Created on 31 May 2019  路  4Comments  路  Source: austintoddj/canvas

Suggestion: Add option to seed Canvas from the package itself. I did this in the Laravel app below but I don't know how to add / run a seeder from within the package, else I probably would've created a pull request.

See my commit here, which works rather well:
https://github.com/connecteev/laravel-blog-built-on-cnvs/commit/ee628ad7f69a2f380a5fadab1b354e9df38f165a

All 4 comments

Good suggestion! I'll see what I can do to get something like this as an optional setup feature.

@austintoddj sweet! and you have 95% of the code already (link above!)

Feature added in v4.2.3

@austintoddj works great, thanks for including in the package, will help others get up and running quickly ;)
Just an idea, may be good to add the command

php artisan canvas:setup --data

to the readme.md file so others know this functionality exists..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

connecteev picture connecteev  路  6Comments

kavierkoo picture kavierkoo  路  5Comments

reliq picture reliq  路  4Comments

iiCe89 picture iiCe89  路  3Comments

austintoddj picture austintoddj  路  10Comments