I am maintaining a fresh InvoicePlane installation for a customer.
He needs to have invoices created automatically from inquiries created in another web system (Intranet / PHP / MySQL). So I decided to program a new custom module called “websync” doing the following:
- Create a folder application/modules/websync
- Copy the necessary subfolders with files controllers, models, views.
- Create a database table definitions, stored seperately into application/modules/setup/sql/026_1.5.3_extra.sql (because it should not be overwritten by next update).
- Language defintions for my module in application/language//custom_lang.php
I’d like to provide other’s with my struggles and progress, so I will update this post as often as possible.
Is it the right way to do it? What do experienced InvoicePlane Devs suggest?
As I understand, IP 2.x, there will be based on Laravel and therefore support Laravel Packages and Composer. What does this imply regarding the effort to migrate my 1.5.x moduels to the new architecture?