This repository provides an overview of some common and useful PHP libraries, categorized by their functionality. This list is not exhaustive but serves as a starting point for exploring various PHP libraries.
- Web Development and Networking
- Data Processing and Analysis
- Databases
- File and Directory Manipulation
- Text Processing and Regular Expressions
- Time and Date Management
- Multithreading and Concurrency
- Email and Messaging
- Testing and Debugging
- Authentication and Authorization
- Guzzle: A library for making HTTP requests, simpler and more convenient than file_get_contents.
- Symfony HttpFoundation: A library for handling HTTP requests and responses.
- Slim: A lightweight micro-framework for PHP.
- Laravel: A comprehensive web framework for PHP.
- Symfony: A set of reusable PHP components and a web application framework.
- CodeIgniter: A powerful PHP framework with a small footprint.
- PHPExcel: A library for reading and writing spreadsheet files (Excel, CSV, etc.).
- parsecsv: A library for parsing and exporting CSV data.
- Faker: A library for generating fake data, such as names, addresses, and phone numbers.
- PDO: A built-in PHP extension for working with databases.
- Doctrine DBAL: A library for working with databases using an abstraction layer.
- Doctrine ORM: A library for working with databases using an ORM (Object-Relational Mapping) approach.
- Eloquent ORM: An ORM library included in the Laravel framework, but can also be used independently.
- Propel: An ORM library for PHP.
- Flysystem: A library for abstracting file system operations, such as reading, writing, and listing files.
- Gaufrette: A library for working with local and remote file systems in a consistent way.
- Symfony Filesystem: A library for handling file system operations, such as creating and deleting directories.
- PCRE: A built-in PHP extension for working with regular expressions.
- mbstring: A built-in PHP extension for working with multi-byte strings, such as Unicode characters.
- PHP-Parser: A library for parsing, analyzing, and modifying PHP source code.
- DateTime: A built-in PHP class for working with dates and times.
- Carbon: A library for working with dates and times in a more human-readable way, with timezone support.
- Chronos: A library for working with dates and times, with an emphasis on immutability.
- pthreads: A PHP extension for working with threads.
- ReactPHP: A library for event-driven, non-blocking I/O with PHP.
- PHPMailer: A library for sending emails using the PHP mail() function or an SMTP server.
- SwiftMailer: A library for sending emails with various transports, including SMTP, Mail, and Sendmail.
- Pheanstalk: A library for working with the Beanstalkd work queue.
- PHPUnit: A testing framework for PHP applications.
- Xdebug: A PHP extension for debugging and profiling PHP scripts.
- Monolog: A logging library for PHP applications.
- PHPAuth: A library for user authentication, including registration, login, and password management.
- OAuth2: A library for implementing OAuth 2.0 server and client functionality.
- JWT (JSON Web Tokens): A library for working with JSON Web Tokens, a compact URL-safe means of representing claims to be transferred between two parties.
- Socialite: A library for handling OAuth authentication with various social media platforms, such as Facebook, Twitter, and Google. (Laravel-based)
Feel free to contribute and update this list as you discover new libraries or gain experience with the existing ones. This will help beginners!
- If you appreciate my work, please consider becoming a 'Sponsor', giving a ⭐ to my projects, or following me.
This project is licensed under the MIT - see the LICENSE file for details.