panique / mini3

Just an extremely simple naked PHP application, useful for small projects and quick prototypes.
274 stars 100 forks source link

How to integrate a login system? #14

Closed JhonatanPereira closed 7 years ago

JhonatanPereira commented 7 years ago

What is the best way to integrate a login system in MINI3? Implementing login check and permission check on a Base Controller class that execute db querys using a User model?

panique commented 7 years ago

Thats a BIG topic and you'll need a lot of work for this, for i can only recommend you to use a modern framework that has user authentication on board or try out HUGE, it's another project i've built some time ago, does exactly what you need, but might be oversized. It's also not developed anymore...

https://github.com/panique/huge

JhonatanPereira commented 7 years ago

Thanks for the advice and I have to say that your work is awesome. I merged mini3 with HUGE and did some modifications, it's working fine

Portekoi commented 7 years ago

@JhonatanPereira Do you have a repo with this merge between MINI3 and Huge?

panique commented 7 years ago

Yeah that repo would be really interesting!

lmgnns commented 6 years ago

I'm waiting with entusiasm