P
P
Pavel Malyshev2012-08-31 14:26:50
open source
Pavel Malyshev, 2012-08-31 14:26:50

Best open-source PHP libraries?

Good day to all!
I had an idea for a small open-source project that I also wanted to build on open-source solutions. Interested in open-source libraries in the following areas:

  • Working with a database (ORM, ActiveRecord etc.), it is good if it is based on PDO and drivers of various databases are supported
  • Incoming data filtering (XSS, SQL-inj, etc) and validation.
  • Code templating (don't offer native php ;), specifics not so)
  • Sessions and everything connected with them. It's cool if you can choose where to store the session (fs, database)
  • Auxiliary functionality (helpers).
  • Handling Exceptions and Errors

Can you please tell me what open-source solutions deserve attention?
Which ones do you think are the best?
Thank you!
UPDATE: Thanks to everyone who has already advised various PHP frameworks, but it is the individual libraries that are of interest.

Answer the question

In order to leave comments, you need to log in

9 answer(s)
I
Inori, 2012-08-31
@Inori

Symfony2 + friendly libraries (Doctrine, Twig).

S
Sergey, 2012-08-31
Protko @Fesor

Symfony2 - the whole framework is a set of components. All OpenSource licensed under the MIT. Everything you need from the list is there. If you wish, you can simply build your own based on the components of this framework, and quite quickly. All components are very well written.

F
firstrow, 2012-08-31
@firstrow

Try silex mini framework based on symphony. and on it to hang other components
that are advised here.
silex.sensiolabs.org/

T
theRandom, 2012-09-04
@theRandom

Flourish
knows everything except templates.

M
Meliborn, 2012-08-31
@Meliborn

Maybe better frameworks?

Y
Yaroslav Losev, 2012-08-31
@LosYear

I recommend Yii. This is a PHP framework.
ORM - Doctrine
Template Engine - Smarty

A
Anton, 2012-08-31
@sHinE

They won’t say about the quality, but recently I came across a mention of such a collection of functions: www.eden-php.com/ - there are just different ones. It's just that their website is throwing errors.

V
Vladimir, 2012-09-01
@de1vin

I use Yii in my work and have a hard time imagining which one cannot be implemented on it, but it is possible with a set of classes.
But nevertheless, when the task of expanding the functionality becomes, first of all I look for ready-made solutions here www.phpclasses.org/ so as not to reinvent the wheel.

F
Fally, 2012-09-05
@Fally

As a templating engine, I can advise Blitz , light, convenient and fast (Sish module)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question