php
A PHP object mapper for Redis.
An Object Mapper for RedisĀ®, designed to providing an intuitive and familiar interface for PHP developers to interact with Redis.
Build beautiful API integrations and SDKs with Saloon.
Saloon is a PHP library that helps you rapidly build third party API integrations or SDKs. It's configured to be production-ready by default, offers a simple, standardised development flow for your whole team and has utilities to help test your API integrations before you ship to production. Saloon is loved by thousands of developers and downloaded over 2 million times.
Related contents:
Base de connaissances techniques et bonnes pratiques internes à l'agence Alsacréations.
Laravel best practices
Local email debugging made easy.
Phost is an email debugging tool and local SMTP server, developed primarily in PHP. It leverages a powerful stack of modern technologies:
A Laravel package for creating shortened URLs for your web apps.
š» Send notifications to your desktop directly from your PHP script.
Check for free whether your Laravel website is safe or vulnerable before others do!
This is a free tool to all who wants to optimize and check the security on their Laravel website While there are many security scanners out there, we thought that one was missing. Thatās why we made this vulnerability scanner that focus specific on Laravel websites. We focused on known Laravel vulnerabilities, and made the scanner focus on them.
An API for asynchronous programming with observable streams.
ReactiveX is a combination of the best ideas from the Observer pattern, the Iterator pattern, and functional programming.
AdminerEvo is a web-based database management interface, with a focus on security, user experience, performance, functionality and size.
AdminerEvo works out of the box with MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch and MongoDB. In addition, there are plugins for SimpleDB, Firebird and ClickHouse.
Avast, ye landlubbers CaptainHook is a bloody flexible and easy to use git hook manager.
CaptainHook is a very flexible git hook manager for software developers that makes sharing git hooks with your team a breeze.
Collection pipeline library for PHP.
Knapsack is a collection library for PHP >= 5.6 that implements most of the sequence operations proposed by Clojures sequences plus some additional ones. All its features are available as functions (for functional programming) and as a collection pipeline object methods.
Related contents:
Tester: enjoyable unit testing in PHP with code coverage reporter. šššš
Nette Tester is a productive and enjoyable unit testing framework. It's used by the Nette Framework and is capable of testing any PHP code.
Removes final and readonly keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
PHP Extended SQL is an alternative to the also-known DQL (Doctrine Query Language). It combines the flexibility of SQL with the powerful Doctrine metadata to give you more control over queries.
mPDF is a PHP library which generates PDF files from UTF-8 encoded HTML.
It is based on FPDF and HTML2FPDF with a number of enhancements.
A pragmatic approach to modernizing legacy PHP code.
I started this website to share some of my learnings and some of the pitfalls I've encountered while modernizing legacy PHP code (my clients' code as well as my own side projects). I ordered it in a way that I think makes sense, but since there are different "levels" of legacy, feel free to jump around as you see fit. I hope you find it useful.
this library solves a simple problem: removing all the code you need to map one object to another. A boring code to write and often replaced by less-performant alternatives.
AutoMapper uses a convention-based matching algorithm to match up source to destination values. AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer.
Related contents:
Open DMARC Analyzer is an Open Source DMARC Report Analyzer to be used with DMARC reports that have been parsed by John Levine's rrdmarc script or techsneeze's dmarcts-report-parser.
Symfony bundle to generate PDFs with headless Chrome using chrome-php/chrome.
The ChromePdfBundle is a Symfony bundle that leverages the chrome-php/chrome project to render HTML and save the output as a PDF file.
dompdf is an HTML to PDF converter.
At its heart, dompdf is (mostly) a CSS 2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.
DDEV is an open-source tool for running local web development environments for PHP and Node.js, ready in minutes. Its powerful, flexible per-project environment configurations can be extended, version controlled, and shared. DDEV allows development teams to adopt a consistent Docker workflow without the complexities of bespoke configuration.
Related contents:
A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript.
Nano ID is a library for generating random IDs. Likewise UUID, there is a probability of duplicate IDs. However, this probability is extremely small.
āļø A PHP library for generating universally unique identifiers (UUIDs).
ramsey/uuid is a PHP library for generating and working with RFC 4122 version 1, 2, 3, 4, 5, 6, and 7 universally unique identifiers (UUID). ramsey/uuid also supports optional and non-standard features, such as GUIDs and other approaches for encoding/decoding UUIDs.
Real-time, high-performance reading of log files and writing to clickhouse.
This tool can write the monolog standard log directly to clickhouse in real time via the tcp protocol. If you can write regular rules, other standardized log can also support it.
Understand. Improve. Code.
AST Metrics is a blazing-fast static code analyzer that works across programming languages.. It empowers you to gain deep insights into your code structure, identify potential problems early on, and improve code quality. Leveraging the efficiency of Go, AST Metrics delivers exceptional performance for large codebases.
Related contents:
š¦ human-readable regular expressions. PHP port of regexpbuilderjs
RegExpBuilder integrates regular expressions into the programming language, thereby making them easy to read and maintain. Regular Expressions are created by using chained methods and variables such as arrays or strings.
Easily Read & Write XML in PHP.
XML Wrangler is a simplistic PHP library designed to make reading and writing XML easy. XML Wrangler has been built with developer experience in mind - you can read any type of XML file, even with complex namespaces and even large XML files. It will also throw exceptions if the XML is invalid!
Pretty fast linter (code static analysis utility) for PHP. NoVerify is a PHP linter: it finds possible bugs and style violations in your code.
The VichUploaderBundle is a Symfony bundle that attempts to ease file uploads that are attached to ORM entities, MongoDB ODM documents, or PHPCR ODM documents.
Standardizing Feature Flagging for Everyone.
OpenFeature is an open specification that provides a vendor-agnostic, community-driven API for feature flagging that works with your favorite feature flag management tool or in-house solution.
libvips is a demand-driven, horizontally threaded image processing library.
It implements around 300 operations covering arithmetic, histograms, convolution, morphological operations, frequency filtering, color, resampling, statistics, and others.
The Dependency Injection Container for humans.
PHP-DI is a dependency injection container meant to be practical, powerful, and framework-agnostic.
php dev tools in your browser.
Clockwork is a development tool for PHP available right in your browser. Clockwork gives you an insight into your application runtime - including request data, performance metrics, log entries, database queries, cache queries, redis commands, dispatched events, queued jobs, rendered views and more - for HTTP requests, commands, queue jobs and tests.
Highly opinionated mocking framework for PHP 5.3+.
Prophecy is a highly opinionated yet very powerful and flexible PHP object mocking framework. Though initially it was created to fulfil phpspec2 needs, it is flexible enough to be used inside any testing framework out there with minimal effort.
Enhance your game server with a complete web solution.
Azuriom is a complete free and open-source web solution for game servers. Enjoy dozens of extensions for endless possibilities.
Create WordPress themes with beautiful OOP code and the Twig Template Engine.
Timber helps you create fully-customized WordPress themes faster with more sustainable code. With Timber, you write your HTML using the Twig Template Engine separate from your PHP files. This cleans up your theme code so, for example, your PHP file can focus on being the data/logic, while your Twig file can focus 100% on the HTML and display.
The HTTP client abstraction for PHP.
HTTP client standard built on PSR-7 HTTP messages. The HttpAsyncClient defines an asynchronous HTTP client for PHP. This package also provides a synchronous HttpClient interface with the same method signature as the PSR-18 client. For synchronous requests, we recommend using PSR-18 directly.
Library for patching destination data with source data only if destination data remains valid after that.
This library provides a "validating hydrator", a service that patches destination data with source data only if destination data remains valid after that. Source and destination can be anything - scalars, arrays, objects... So either you want to make a partial update of ORM entity with parsed JSON from HTTP-request or produce a plain DTO from this entity to send in AMQP-message this library can help you to do that in a neat convenient way.
Attributes to define PHP language extensions (to be enforced by static analysis).
This library provides attributes that are used by static analysers to enforce new language features. The intention, at least initially, is that these extra language features are enforced by static analysis tools (such as Psalm, PHPStan and, ideally, PhpStorm) and NOT at runtime.
The DX oriented task runner in PHP. Castor is a DX oriented task runner built in PHP featuring a range of functions for common task processing.
It can be viewed as an alternative to Makefile, Fabric, Invoke, Shell scripts, etc., but it leverages PHP's scripting capabilities and its extensive library ecosystem.
Fearless refactoring, it does a lot of smart checks to find certain errors.
The Easiest way to add coding standard to your PHP project.
Easy Coding Standard focuses on easy run, setup, and use. From composer requirement through the automated setup to the config.
a powerful, highly scalable CMS built on Laravel.
Statamic is a modern, clean, and highly adaptable CMS built on Laravel that can run full-stack, headless, on flat files or databases, or as a static site generator.
Related contents:
Elegant and Powerful Static Site Generator.
HydePHP is a content-first Laravel-powered console application that allows you to create static HTML pages, blog posts, and documentation sites, using your choice of Markdown and/or Blade.
Reverb is a first-party WebSocket server for Laravel applications, bringing real-time communication between client and server directly to your fingertips. Open source and an Artisan command away - with love from the Laravel team.
Analyze the Git history of your PHP files.
A set of Symfony Console Commands to interact with your database.
-
Backup: Backup your database and manage your dumps with a simple command.
-
Restore: Easily restore a previous dump of your database.
-
Anonymize: Set up database anonymization with PHP attributes on Doctrine Entities or with a YAML configuration file.
-
Set up a GDPR-friendly workflow: Make it easier to follow GDPR best practices when importing production dump to other environments.
Understand and fix bugs faster
Ray is a desktop application that serves as the dedicated home for debugging output. Send, format and filter debug information from both local projects and remote servers.
Self-hosted app for Time Tracking, Invoice Generation, Project & Client Management, built with Laravel & Filament.
Composer repository for private PHP packages. Private Packagist makes the code in your private repositories available for use with Composer.
PHP Benchmarking framework.
PHPBench is a benchmark runner for PHP analogous to PHPUnit but for performance rather than correctness.
Universal Web App Server.
NGINX Unit is a lightweight and versatile application runtime that provides the essential components for your web application as a single open-source server: running application code (including WebAssembly), serving static assets, handling TLS and request routing.
the missing audit log library. auditor's purpose is to provide an easy and standardized way to collect and persists audit logs.
Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way.
OpenSpout is a community driven fork of box/spout, a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way. Unlike other file readers or writers, it is capable of processing very large files, while keeping the memory usage really low (less than 3MB).
A set of extensions to Doctrine 2 that add support for functions available in MySQL, Oracle, PostgreSQL and SQLite.
PostgreSQL enhancements for Doctrine. Provides support for advanced data types (json, jssnb, arrays), text search, array operators and jsonb specific functions
It adds supports for REGEXP, SIMILAR_TO, JSON_GET_FIELD and CONTAINS.
Clone readonly properties in PHP 8.1. A trait that allows you to clone readonly properties in PHP 8.1.
This package provides a trait that allows you to clone objects with readonly properties in PHP 8.1. You can read an in-depth explanation as to why this is necessary here.
Valinor takes care of the construction and validation of raw inputs (JSON, plain arrays, etc.) into objects, ensuring a perfectly valid state. It allows the objects to be used without having to worry about their integrity during the whole application lifecycle.
The validation system will detect any incorrect value and help the developers by providing precise and human-readable error messages. The mapper can handle native PHP types as well as other advanced types supported by PHPStan and Psalm like shaped arrays, generics, integer ranges and more.