Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Maison012's avatar

How to create module or package for crm marketplace?

I am building a crm in laravel and vue js. I was thinking to add a marketplace to this crm where who wants extra services, for example, the use of payments like stripe or the use of multilanguage, etc. But I have never done this before and I think that to do this I have to create a module, let's say that I want the stripe to be in the marketplace and only those who buy the package can use it.

So stripe should be a plugin or module, I think, although I don't know the difference between plugin and mod in laravel, for what cases each one is used.

How can I build a package or module, so that after the users buy it, they can import it into CRM?

Or in case someone has the package as a .zip file and wants to import it into crm?

Anyone have an idea how this works? any documentation, tutorial? something?

0 likes
4 replies
vincent15000's avatar

If you just need to allow a user to access a specific functionality only if he paid for it, why don't you simply check for the payment and give access only if the user paid ?

Any functionality is accessed via a route, so you can protect the concerned routes with a middleware and you check for the payment inside the middleware.

Maison012's avatar

@vincent15000 I'm thinking both ways.

But mostly I'm experimenting, since I've never done this, but I thought I'd try it. I mean, importing plugins or modules into the panel.

1 like
Maison012's avatar

@vincent15000

what you are able to do with Laravel.

I dont know how to answrt this but, i think i need a logic how plugins or modules work and how to make a plugin or module for importing on crm if it needed.

Maybe any tutorial how do i start or a documentation, i have searxhed a lot on google by myself but not finding what i want

Please or to participate in this conversation.