How to request a hook?

What is the correct way to request a hook or trigger somewhere in the code?

Thank you

Hello,

The best is on the dolibarr GitHub.
You can directly make a PR