A PHP component that matches incoming HTTP request URLs to route configurations and generates URLs from named routes.
symfony/process
A PHP component for running external commands in sub-processes, with control over input, output and timeouts.
- Stars
- 7,454
- Forks
- 105
- Open issues
- 0
- Last commit
- yesterday
What is it?
symfony/process is a PHP component from the Symfony framework that runs shell commands and other executables as sub-processes. It gives PHP code a single object-oriented interface for starting a command, waiting for it to finish, and reading its output, so application code does not need to call low-level functions directly.
The component is intended for use inside PHP applications that need to call out to other programs, such as build tools, converters or system utilities. It is distributed as a standalone package and can also be used as part of the wider Symfony ecosystem. Its documentation is hosted on the Symfony website.
Key features
- 01Runs commands as sub-processes from PHP code.
- 02Provides an object-oriented API for starting and waiting on processes.
- 03Lets callers read a command's output.
- 04Distributed as a standalone Composer package.
Use cases
- Calling command-line build or conversion tools from a PHP application.
- Running system utilities from background jobs or scripts written in PHP.
- Adding process execution to a Symfony project without custom wrappers.
Topics
FAQ
- What is process?
- A PHP component for running external commands in sub-processes, with control over input, output and timeouts. symfony/process is a PHP component from the Symfony framework that runs shell commands and other executables as sub-processes. It gives PHP code a single object-oriented interface for starting a command, waiting for it to finish, and reading its output, so application code does not need to call low-level functions directly.
- Is process free to use? What license does it have?
- process is open source under the MIT license. Check the license terms before using it in commercial products.
- Is process still maintained?
- Actively maintained. The last commit to process was on Oct 23, 2026.
- What can I use process for?
- Calling command-line build or conversion tools from a PHP application. Running system utilities from background jobs or scripts written in PHP. Adding process execution to a Symfony project without custom wrappers.
- Where can I get process?
- The source code and installation instructions are on GitHub: https://github.com/symfony/process
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A PHP component that provides a better dump() function for inspecting arbitrary variables, as a replacement for var_dump().
A pure-PHP fallback that provides a partial implementation of the Mbstring extension for environments where it is not installed.
Open-source headless commerce platform built on Symfony 7 and Vue.js 3, usable as a ready-made shop or an ecommerce framework.
Self-hostable read-it-later app that saves web pages, strips pop-ups and clutter, and lets you tag and read them later.
Open-source, self-hosted time-tracking web app for timesheets, invoicing and reports, used by freelancers and companies.