jhavens's avatar
Level 25

A New Laravel Package For Your Scrutiny..

Hello fellow 'Laravites',

I have an open-source package pre-release that's now available on Github/Composer called: "Laravel Permission Name Generator".

This package is my attempt to create a convention for naming permissions using a very simple configuration.

//For Example...

// rather than using a string when referencing permissions: 
e.g. 'user.teams.create' 
 
//using methods instead:
TeamPermission::user()->create();

There's generally hundreds of 'permissions' in the projects Ive created, so remembering how they're all formatted, namespaced, plural/not plural, etc. has to be headache for others as well (im assuming).

This is my first package guys..so I'm hoping that if you have criticism, it's 'constructive'.

I have no other developers to bounce ideas off of and/or review anything. That's where I hope you guys will jump in!!

I started from 0 on Laracasts a couple years ago, I'd love to try and give something back after all the support and help the Laravel community has so graciously provided to get me where I am today!

Please let me know what you think, contributions are welcome!!

Thank you friends!

IMPORTANT

Please don't use this package in any production environment yet. I plan to spend the next few months using it in my own projects and hopefully getting some feedback from everyone to help make it production ready.

Github Link: https://github.com/Sourcefli/laravel-permission-name-generator

0 likes
1 reply
jlrdw's avatar
jlrdw
Best Answer
Level 75

Will look over when I get a chance. Thanks for sharing with the community.

2 likes

Please or to participate in this conversation.