Guzzle
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. Guzzle is a framework-agnostic HTTP client library that utilizes PSR-7 interfaces for representing HTTP requests and responses. When you need a content type not supported by Guzzle, Guzzle will accept a stream (for PSR-7) or string (for non-PSR-7 implementations) of the body and set the Content-Type header appropriately.
Symfony
The Symfony PHP framework is a set of reusable PHP components and a PHP framework to build web applications, APIs, microservices and web services. Symfony is used by thousands of web applications (including BlaBlaCar.com and Spotify.com) and most of the popular PHP projects (including Drupal and Magento).
You can choose any of the 65 stand-alone components for your own applications or use them together as a full-stack framework. In addition to that, you benefit from a community of tens of thousands passionate developers from more than 120 countries.
Monolog
Monolog is a PHP logging library. It provides a set of loggers, each one of which can be used to record messages in a different log file.
Logging is very important while writing software applications. It allows you to gain information about your application's run-time behavior and the state of the code. Logging records important events during execution, such as exceptions and errors (or even specific user actions).
However, writing logs should not slow down your application. Monolog diverts this problem by using various handlers (each handler writes to a different logging target), channels (each channel writes to its own log file), processors (which allow you to add more data to each logged message) and formatters (which make the logged message more readable).
PHPUnit
Oops! Click Regenerate Content below to try generating this section again.
Twig
Twig is a templating language for PHP and it's the most used one by far. Twig is fast, flexible, secure and it can be used to load templates from other applications or frameworks. It has an easy to learn syntax and it's used by many large projects such as Drupal 8, Laravel 5 or Symfony 2.
Swiftmailer
[Swiftmailer](https://github.com/swiftmailer/swiftmailer) is an e-mail creation and transfer library for PHP7. This library has been integrated with [Symfony](http://symfony.com), a web app framework, but can also be used as a standalone email sending library.
Swift mailer is more of a low level library, without any assumptions on how you want to build the emails or send them, while the Symfony Mailer uses it under the hood and adds an abstraction layer on top to allow sending HTML emails with embedded files and so one easier.
It is important to note that SwiftMailer does not provide APIs for popular online services (such as Gmail or Mailgun) like PHPMailer does. If you need an API for these services, consider using PHPMailer instead
Faker
The Faker library is used to generate fake data. It includes a large collection of names, addresses, phone numbers, text, dates, and more that you can use for testing or seeding databases with fake data. It can also be used to create demos where you need realistic data but don't want to bother filling out hundreds of entries. In its simplest form, it's very easy to use:
Zend Framework 2
Zend Framework 2 is an open source framework for developing web applications and services using PHP 5.3+. Zend Framework 2 uses 100% object-oriented code and utilises most of the new features of PHP 5.3, namely namespaces, late static binding, lambda functions and closures. Zend Framework 2 evolved from Zend Framework 1, a successful PHP framework with over 15 million downloads.
Doctrine Common
Doctrine Common is the base library for a family of projects. In addition to being used by Doctrine ORM and Doctrine DBAL, it is also a standalone library that can be used by other projects.
It has support for UUIDs, proxies, collections of persistent objects, persistence exceptions, caching and much more. The code is split into several packages:
Common contains Collections (Arrays & Maps), Inflector (for pluralization), Lexer & TokenParser (for SQL parsing) and TreeWalker (for walking an AST tree) functionality.
DBAL contains the abstraction layer that sits on top of PDO and offers an OO API to manipulate databases independently from their vendor.
There are several extensions available: Doctrine Cache adds caching features to your project; Doctrine Annotations allows you to use annotations in your classes; Hint provides integration with various IDE's; PHPCR ODM adds support for content repository modeling in PHP using the PHPCR standard; PHP Functions adds a collection of static methods as functions in PHP; RST Parser provides a parser for rst files; Stubs contains generated class stubs for all libraries in the package so IDEs can provide better auto completion and type hinting.
Doctrine DBAL
Doctrine DBAL is a database abstraction layer (DBAL) for PHP that you can use to connect to different databases and perform queries in a unified way. For example, if you want to retrieve some data from the database, you would need to run different SQL queries depending on whether you’re using MySQL, PostgreSQL or another database system. With Doctrine DBAL, however, you can use the same function in all cases:
```php
// Execute an SQL query and fetch all results as an array
$connection->fetchAll('SELECT * FROM users');
```
This library was developed by the Doctrine project —which also created [Doctrine ORM](https://packagist.org/packages/doctrine/orm)—and it’s used by both internally. In fact, this is probably one of the most widely used libraries on Packagist!
Prophecy
We've all heard the song before. You know, the one with some made-up religion or philosophy that says, "You gotta believe if you wanna be happy." The theory goes that, if you don't believe in something, all of your problems will go away. But this is wrong. Let me count the ways why:
If everyone believed in something enough to get happy, there wouldn't be a need for a lot of other religions and philosophies (or maybe just atheism).
Even if everyone believed in something enough to get happy, they wouldn't need to make up new religions and philosophies (or maybe just book one more Facebook post). Eren Yeager would already be dead—it's not like he was ever given any kind of monologue about it.
If no one believed in anything enough to get happy, then people would come up with things like Santa Claus and Pokemon that would make people feel good about themselves even though they are complete nonsense altogether.
If everybody believed in something enough to get happy but didn't do anything about it because it's impossible for them to change their beliefs through sheer willpower alone (and after all we're humans) then it's not really belief at all is it?
These are the most used Composer libraries.
Here are the most popular composer libraries, ranked by number of downloads.
symfony/console (761k installs) Symfony Console Component
monolog/monolog (636k installs) Sends your logs to files, sockets, inboxes, databases and various web services
ramsey/uuid (478k installs) Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).
swiftmailer/swiftmailer (434k installs) Swiftmailer is a component based mailing solution for PHP 7.0+
pimple/pimple (425k installs) Pimple is a simple Dependency Injection Container for PHP 5.3+.
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.