Skip to content

Is it possible to manage users from native laravel users table in Twill CMS? #1279

Answered by pboivin
khrelian asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @khrelian, this is definitely possible. I don't know of a full example of this but essentially, you would need to create a Users module and swap out the generated model with Laravel's own User model.

Not too long ago, I had a similar requirement for a project. I needed to create a Profiles module and automatically attach a profile to new user records. I created a short guide for that use case:
https://gist.github.com/pboivin/d20d23ae130ea9a112ee49dd98f00239

Hope this can help!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@khrelian
Comment options

Answer selected by khrelian
Comment options

You must be logged in to vote
2 replies
@pboivin
Comment options

@khrelian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants