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

Dhruv Sompura's avatar

How to create global function from package ?

I am creating package for roles and permissions. Created roles service provider file. Now i want to add global function. This function will add new admin dashboard menu.

0 likes
1 reply

Please or to participate in this conversation.