Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Standalone user management library that supports Doctrine ORM?

I can't find a standalone system that I can use for user management (authentication,authorization, register, password reminders...).

The closest it gets is using Symfony and FOSUserBundle but because it's a Symfony Bundle it seem to be dependant on the framework. Is there a way to separate these or at least to load only few components of symfony?

I've used symfony before and I like it; I just don't need the entire framework for the current project.

I couldn't find other solutions.

like image 682
antitoxic Avatar asked Oct 18 '11 10:10

antitoxic


People also ask

What is the use of Doctrine in PHP?

The purpose of the Doctrine project is to build an equally powerful solution for the PHP language for high-load websites that have to maintain a constant flow of visitors. Doctrine ORM can be used to improve the performance of such websites.

What is ORM Symfony?

Database Model This mapping can be done with an Object Relational Mapping (ORM) tool. Symfony provides a separate bundle, DoctrineBundle, which integrates Symfony with third party PHP database ORM tool, Doctrine.

What is Doctrine db?

The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping. The core projects are the Object Relational Mapper (ORM) and the Database Abstraction Layer (DBAL) it is built upon.


1 Answers

Honnestly, most projects have custom needs. Even using something like FOSUserBundle you'll have to re-implement or edit a big part of it.

If your project is not a "time-attack" project, take ~a week to build your own librairy. I'm not saying you should reinvent the wheel --base yourself on existing code--, but I think that most of the time, people that really take the time to design before starting a projects are in projects that are big enought to justify this kind of custom implementation.

like image 120
FMaz008 Avatar answered Sep 29 '22 03:09

FMaz008