BeatSwitch / lock

A flexible, driver based Acl package for PHP 5.4+
MIT License
876 stars 49 forks source link

Laravel sample app #17

Open daveganley opened 9 years ago

daveganley commented 9 years ago

Not an issue but a request.

Is it possible to see a very simple sample laravel app

Thanks

driesvints commented 9 years ago

Yeah, I think that's a good idea. If I have some time at hand I'll try to whip something together after finishing the package and the Laravel driver.

MathieuDoyon commented 9 years ago

+1

macagoraga commented 9 years ago

When you planning release a sample? Also a mini guide for integrate this into another framework?

driesvints commented 9 years ago

I can't tell at this point. I want Lock to be stable first before I write any sort of demo app or extensive tutorial. I don't want to create on now because I could possible have to rewrite it depending on the changes that are still going to be made.

macagoraga commented 9 years ago

Thanks! Do you have an ETA for stable?

driesvints commented 9 years ago

Thanks! Do you have an ETA for stable?

Not yet. It’s proven difficult to find people willing to test and provide feedback on how to improve. Since I’m now implementing the package myself into a large application I’m maintaining, I’m probably going to find ways to improve further. That of course does not computes with a close release date. For now I’ll say: it’s done when it’s done.

If you like to speed up a stable release then by all means help me test this and provide feedback about how you think the package should behave.

macagoraga commented 9 years ago

@driesvints thanks for explaination, I realize what you mean.

I will try with current documentation and let you know my feedback.

Thanks!

daveganley commented 9 years ago

If we/I can get a very crude/basic app to see how this integrates with Laravel outside of a package, then we can use that as a basis to play/extend and therefore test and provide feedback. Which will hopefully help you as well

sagikazarmark commented 9 years ago

@driesvints I am a member of the FuelPHP team, also developing a CMF framework based on it, called Indigo. I already stated how happy I am I found this library. I am going to give it a try, which means (if it goes well):

Count on me as a tester.

(Also I am going to try it with Proton (microframework by @alexbilbie))

driesvints commented 9 years ago

@sagikazarmark Ow that would be amazing! Thanks for the interest and testing! I can really use all the feedback I can get, haven't gotten much feedback on actual usage from others. Thanks a lot!

As for this issue: I'm gonna try to knock out a small Laravel sample app this weekend.

sagikazarmark commented 9 years ago

@driesvints I have been looking for a decent, well written auth framework for almost a year now. Sentry is awesome. Sentinel is awesomer (according to @philsturgeon this word absolutely exists), but commercial, and using commercial packages in OSS projects is impossible. And even with Sentinel (based on the documentation) I have some design issues. When I found this package, I was not sure first what it really is. Then I found out this is probably the most decent implementation of ACL handling I've ever met. Building a fully featured auth framework around it is more than easy. I am very happy with the abstraction which really makes this package flexible.

As for this issue: I will probably do the same with a small example using with Proton.

RomainLanz commented 9 years ago

Any news on a simple application with seeder, database implementation, etc.?

xLink commented 9 years ago

+1

a sample L5 app would be very useful to check out how to add Lock to my app, as the docs are not very clear.

Garbee commented 9 years ago

The docs are very clear. Very little is lacking for understanding how to use the package's API.

What may not be clear is how to just drop it in and go, but that is because this isn't exactly a drop-in-and-go solution.