Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

What would be the best strategy to develop a plugin for a very basic CRM with CRM's customers connected to some Grav Web Pages, thanks

Started by Jose 1 year ago · 3 replies · 114 views
1 year ago

Hello to all,
Searching for CRM in Grav CMS I got this:

@Muut:
Well, Grav is designed purely for creating content-based web sites. Grav really doesn’t have a full framework and is nothing like Laravel/Symfony even though we do use some Symfony components to make the magic happen.

However, it does have a sophisticated plugin system that allows you to develop pretty much anything you want. So you can build complex things if you want. The admin plugin is a prime example of this, it uses forms, email, and login plugins along with the logic in admin itself to build a fully functional admin for Grav. Also there’s a shopping cart plugin that provides relatively sophisticated functionality. So Grav is quite simple to extend and build complex functionality on top of, there really are no limitations, and you can use pretty much whatever PHP technologies you wish.

I guess this basic CRM could be done with Flex Directory, but I am unsure. I appreciate it if anyone has a suggestion for links to tutorials or recipes to create a database of customers, with their basic data (CRUD and Search functionality) and fields that link these customers to certain Grav web pages with their related properties.

I was able to make the property's web pages. Now I would like to have the customers' database, that can be managed via Grav's Admin module, linked with their respective properties web pages inside Grav CMS.
Thanks a lot in advance, regards.
joejac

1 year ago

@joejac, You haven't shared any requirements and metrices, which makes it difficult to say anything...

Having said that...

I have worked with a CMS myself and in my view it is way too complex to build with Grav. There are too many datatypes (companies, contact persons, employees, meetings, calls, emails, reminders, documents etc.) and they are all interconnected which requires a relational database system.

I think your customer is better of researching for a free in-house open source CRM: Best Open Source CRM 2025.
The demo of SuiteCRM gives you an idea of the complexity of these applications.

👍 1
1 year ago

Thanks, @pamtbaau and sorry for not being more specific.

The customer did not request me anything, I know he uses a very simple way to record his customers' information and agenda, and I am thinking of providing him a similar way inside Grav, if possible, and not very complex. So probably I should use SQLite with only 3 tables:

  1. customer-seller-buyer-info,
  2. customers-appointments,
  3. customer-seller-grav-properties-webpages,
    All tables with their corresponding fields with the basic information, something very simple, I see I should not use the term CRM.
    Regards
1 year ago

So we need 3 fields (can be added more even later).
And we need to see those fields on a page.
Idk what is CRM so i hope i understood what you meant.

As you guessed we can do that with using flex easly.
i suggest you to first build a test page which has test customers and their informations as you described before doing anything for flex.
Later you can get real customer informations from flex you built to replace with test texts on that page, it will be like automated.
There are many kind of fields we can use. I use these 2 pages to check them.

https://learn.getgrav.org/17/forms/forms/fields-available

https://learn.getgrav.org/17/forms/blueprints/fields-available

Also i could do many more things after learning more from Grav Learn :)
I hope that helps, cya!

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 56 13 hours ago
Support · by Anna, 3 days ago
2 61 16 hours ago
Support · by Justin Young, 17 hours ago
1 32 17 hours ago
Support · by Duc , 1 week ago
2 66 5 days ago
Support · by Colin Hume, 1 week ago
2 59 5 days ago