Add new custom module: documentation for developers?

My client needs a module for “job orders”, something like a list of instructions for workers to get into location.

I guess I would need to add a new module on my own, and I wonder if there’s a developer documentation on that matter, the module itself doesn’t seem complicated, what I’m afraid of is all the integration with Invoice Ninja, user authentication, projects, etc,

Thank you.

Hi,

@david do you have any advice?

@nzurita

We have integrated:

Which will allow you to create custom modules.

Please note the custom modules only support backend changes, if you wish to modify the front end you will need to either directly update the Flutter application or React application depending on which front end you wish to use.

Depending on how extensive you want your job orders to be, it may be easier to adapt an existing module (say tasks) to suit your needs.

1 Like

Hi @david, I’d like to create a custom module for syncing Mercury bank transactions to InvoiceNinja.

So far, I’ve developed it as a stand-alone script written in Go (GitHub - dinvlad/invoiceninja-mercury-sync: Docker image to sync Mercury bank transactions to Invoice Ninja), however I’m willing to rewrite it as a PHP module.

Does it mean I’d have to fork InvoiceNinja repo and create a module within it using nwidart/laravel-modules? Or can I develop the module in a stand-alone repo, just using Composer? (Sorry, I’m new to PHP/Laravel development so might be naive questions) Thank you!

I would recommend developing this as a regular laravel package which can be installed with composer rather than a Module. using nwidart/laravel-modules

This would be a perfect fit for your use case.