# psl **Repository Path**: mirrors_simPod/psl ## Basic Information - **Project Name**: psl - **Description**: PHP Standard Library - a modern, consistent, centralized, well-typed set of APIs for PHP programmers. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: 2.0.x - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-05 - **Last Updated**: 2025-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Psl - PHP Standard Library ![Unit tests status](https://github.com/azjezz/psl/workflows/unit%20tests/badge.svg) ![Static analysis status](https://github.com/azjezz/psl/workflows/static%20analysis/badge.svg) ![Security analysis status](https://github.com/azjezz/psl/workflows/security%20analysis/badge.svg) ![Coding standards status](https://github.com/azjezz/psl/workflows/coding%20standards/badge.svg) ![Coding standards status](https://github.com/azjezz/psl/workflows/documentation%20check/badge.svg) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4228/badge)](https://bestpractices.coreinfrastructure.org/projects/4228) [![Coverage Status](https://coveralls.io/repos/github/azjezz/psl/badge.svg)](https://coveralls.io/github/azjezz/psl) [![MSI](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fazjezz%2Fpsl%2F2.0.x)](https://dashboard.stryker-mutator.io/reports/github.com/azjezz/psl/2.0.x) [![Type Coverage](https://shepherd.dev/github/azjezz/psl/coverage.svg)](https://shepherd.dev/github/azjezz/psl) [![Total Downloads](https://poser.pugx.org/azjezz/psl/d/total.svg)](https://packagist.org/packages/azjezz/psl) [![Latest Stable Version](https://poser.pugx.org/azjezz/psl/v/stable.svg)](https://packagist.org/packages/azjezz/psl) [![License](https://poser.pugx.org/azjezz/psl/license.svg)](https://packagist.org/packages/azjezz/psl) Psl is a standard library for PHP, inspired by [hhvm/hsl](https://github.com/hhvm/hsl). The goal of Psl is to provide a consistent, centralized, well-typed set of APIs for PHP programmers. ## Example ```php Shell\execute('php', ['-v']), static fn() => TCP\connect('localhost', 1337), ]); $messages = Str\split($version, "\n"); foreach($messages as $message) { $connection->writeAll($message); } $connection->close(); return 0; }); ``` ## Installation Supported installation method is via [composer](https://getcomposer.org): ```shell composer require azjezz/psl ``` ### Psalm Integration Please refer to the [`php-standard-library/psalm-plugin`](https://github.com/php-standard-library/psalm-plugin) repository. ## Documentation You can read through the API documentation in [`docs/`](./docs) directory. ## Interested in contributing? Have a look at [`CONTRIBUTING.md`](./CONTRIBUTING.md). ## Sponsors Thanks to our sponsors and supporters: | JetBrains | |---| | | ## License The MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information.