PHP Component

Open-source PHP projects categorized as Component

Top 23 PHP Component Projects

  • console

    Eases the creation of beautiful and testable command line interfaces

    Project mention: Creating an application in Yii3. | dev.to | 2023-01-05

    Symfony console component. The Console component eases the creation of beautiful and testable command line interfaces.

  • http-foundation

    Defines an object-oriented layer for the HTTP specification

    Project mention: Laravel TrustProxies with multiple proxies | /r/PHPhelp | 2023-03-22

    For ref take a read of the symfony component in use. getTruatedValues() is interesting

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • event-dispatcher

    Provides tools that allow your application components to communicate with each other by dispatching events and listening to them (by symfony)

  • http-kernel

    Provides a structured process for converting a Request into a Response

    Project mention: Reading bundle configuration inside Symfony Compiler Passes | dev.to | 2023-05-04

    The compiling of the extension configurations is actually done in a compiler pass. This is called the Merge Pass and is the first compiler pass to be processed. Because of this, once our custom compiler pass reads the configuration of off the extension, we can be sure it is already compiled, cached and ready for use.

  • polyfill-mbstring

    This component provides a partial, native PHP implementation for the Mbstring extension.

  • routing

    Maps an HTTP request to a set of configuration variables

    Project mention: olvlvl/composer-attribute-collector v1.2.0 | /r/PHP | 2023-03-25

    Packages that support attributes for configuration need to roll out their own attribute collector for PHP doesn't provide a feature to query the entire code base for attributes. For example, here's one of the classes that deal with attributes for symfony/routing: https://github.com/symfony/routing/blob/6.2/Loader/AnnotationClassLoader.php. That's what this plugin offers: "a convenient and near zero-cost way to retrieve targets of PHP 8 attributes.". If you're not the maintainer of a package that deals with attributes you probably don't need that.

  • process

    Executes commands in sub-processes (by symfony)

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • Symfony VarDumper

    Provides mechanisms for walking through any arbitrary PHP variable

  • translation

    Provides tools to internationalize your application

  • filesystem

    Provides basic utilities for the filesystem (by symfony)

  • polyfill-ctype

    This component provides a partial, native PHP implementation for the Ctype extension.

  • Symfony DI

    Allows you to standardize and centralize the way objects are constructed in your application

  • cache

    Provides extended PSR-6, PSR-16 (and tags) implementations (by symfony)

  • Symfony Dotenv

    Registers environment variables from a .env file (by symfony)

    Project mention: How do you handle Api keys and tokens? | /r/PHP | 2023-02-17

    Keys and tokens in .env.local per environment (in .gitignore obviously), with a placeholder in the .env. I use https://github.com/symfony/dotenv

  • Symfony Asset

    Manages URL generation and versioning of web assets such as CSS stylesheets, JavaScript files and image files

  • browser-kit

    Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically

    Project mention: Created my first web scraper in PHP! | /r/PHP | 2023-05-05

    The heck, I never heard of Symfony Panther, I've been using Browser Kit - is Panther a better choice?

  • polyfill

    PHP polyfills

    Project mention: How Symfony components power Drupal’s drive to new frontiers | dev.to | 2022-12-31

    “The Polyfill Iconv component provides a native PHP implementation of the php.net/iconv functions (short of [ob_iconv_handler](https://php.net/ob-iconv-handler)). More information can be found in the main Polyfill README.”

  • serializer

    Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON. (by symfony)

    Project mention: brick/json-mapper: map JSON data to strongly typed PHP DTOs | /r/PHP | 2023-02-15

    Most notable differences with symfony/serializer:

  • var-exporter

    Allows exporting any serializable PHP data structure to plain PHP code

    Project mention: Benchmarking serialization | /r/PHP | 2022-06-27

    You should definitely try symfony/var-exporter, which has been built precisely for putting *any* serializable php objects into opcache (while var_export() is super limited in this regards.)

  • http-client

    Provides powerful methods to fetch HTTP resources synchronously or asynchronously

    Project mention: Does a generic third party api connector package exist? A swiss army knife for connecting to various apis? | /r/PHP | 2023-01-28

    I like this one personality: https://github.com/symfony/http-client

  • string

    Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way (by symfony)

  • password-hasher

    Provides password hashing utilities

    Project mention: Password_verify() always return(ed) true with some hash. | /r/PHP | 2023-02-21

    Symfony: https://github.com/symfony/password-hasher/blob/6.2/Hasher/NativePasswordHasher.php

  • amqp-messenger

    Symfony AMQP extension Messenger Bridge

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-05.

PHP Component related posts

Index

What are some of the best open-source Component projects in PHP? This list will help you:

Project Stars
1 console 9,482
2 http-foundation 8,457
3 event-dispatcher 8,330
4 http-kernel 7,920
5 polyfill-mbstring 7,670
6 routing 7,426
7 process 7,237
8 Symfony VarDumper 7,210
9 translation 6,481
10 filesystem 4,439
11 polyfill-ctype 3,959
12 Symfony DI 3,958
13 cache 3,927
14 Symfony Dotenv 3,590
15 Symfony Asset 3,007
16 browser-kit 2,807
17 polyfill 2,359
18 serializer 2,307
19 var-exporter 1,904
20 http-client 1,749
21 string 1,428
22 password-hasher 575
23 amqp-messenger 250
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com