Download the PHP package gemui/php-debug-pilot without Composer

On this page you can find all versions of the php package gemui/php-debug-pilot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-debug-pilot

PHP Debug Pilot 🚀

Latest Stable Version PHP Version License Total Downloads GitHub Releases Downloads

Zero-Configuration PHP Debugging Setup.

PHP Debug Pilot is an enterprise-grade CLI tool that automatically detects your environment, installs and configures Xdebug, and generates ready-to-use launch configurations for your favorite IDE. Stop wrestling with php.ini and port mappings — just fly.


✨ Features


📦 Installation

Requirements

Method 1: Standalone PHAR (Zero Dependencies)

This is the best method if you don't want to manage global Composer dependencies or prefer a single executable file.

Download and install the standalone PHAR:

Verify the installation:

Method 2: Via Composer (Global)

Install once and use debug-pilot from anywhere:

⚠️ Important: Ensure your global Composer binaries directory is in your system's $PATH.

Typically this is ~/.composer/vendor/bin or ~/.config/composer/vendor/bin.

Add it to your shell profile if you haven't already:

After installing globally, you can use debug-pilot directly:

Method 3: Per-Project Installation

Add it as a dev dependency to a specific project:

Then use it via Composer's local bin:


🔄 Updating

Method 1: PHAR

The PHAR binary includes a built-in self-update command that downloads the latest release from GitHub:

Method 2: Global Composer

Method 3: Per-Project


🚀 Usage

Interactive Setup

Run the setup wizard to configure extensions and generate IDE files:

The tool will:

  1. 🔍 Detect your environment
  2. 🐛 Ask which debugger you want to configure (Xdebug)
  3. 💻 Ask which IDE you use
  4. ✅ Write the configuration and verify the setup

Check Status

See which extensions are installed and enabled:

Output:

Enable / Disable Extensions

Toggle extension state without editing php.ini manually:

💡 Tip: If the extension is not installed, the tool will offer to install it for you automatically (on supported systems).

Install Extensions

Manually install a specific extension:

🔧 The tool will automatically detect if auto-installation is supported on your system and run the appropriate installation command. If auto-installation is not available (e.g., Docker, Windows), it will display manual installation instructions.

Non-Interactive Setup

Perfect for CI/CD pipelines or automated setup scripts:

Setup Options

Option Description Default
-p, --project-path Root path of your project (where IDE config is written) Current directory
-d, --debugger Debugger to configure (xdebug) (Prompts user)
-i, --ide IDE to configure (vscode, sublime) (Prompts user)
--host Xdebug client host IP auto (detects Docker host or localhost)
--port Xdebug client port 9003
--xdebug-mode Xdebug modes, comma-separated (debug, develop, coverage, profile, trace) (Prompts user with current modes pre-selected)

🐳 Using with Docker

Generating Docker Config

Use the init-docker command to generate ready-to-use Docker configuration snippets:

Dockerfile Setup

Add the generated snippet to your Dockerfile (after FROM php:8.x-*):

Docker Compose Override

Use the --write-compose flag to generate a docker-compose.debug.yml:

Then run with both files:

Running Debug Pilot Inside a Container

You can run debug-pilot directly inside a running container. On official PHP Docker images (php:*), it will auto-install extensions for you:

💡 Tip: Debug Pilot automatically detects Docker environments and resolves host.docker.internal as the debug client host. On Linux Docker, it discovers the gateway IP from /proc/net/route.

Init Docker Options

Option Description Default
-d, --debugger Debugger to configure (xdebug) xdebug
--port Debug client port 9003
--write-compose Write docker-compose.debug.yml to project false
-p, --project-path Project root path Current directory

🖥️ Supported Platforms


🔧 Troubleshooting

"Extension is not installed" warning?

Run debug-pilot install <extension> (or toggle) and follow the interactive prompts to install it. Or install manually:

"Cannot write to php.ini"?

Run the tool with sudo if your php.ini is system-protected:

PHAR not working?

Ensure the PHAR has execute permissions:

If you encounter "command not found", verify /usr/local/bin is in your $PATH:


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Acknowledgments

Made with ☕ by Gemui


All versions of php-debug-pilot with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
laravel-zero/framework Version ^11.0
laravel-zero/phar-updater Version ^1.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gemui/php-debug-pilot contains the following files

Loading the files please wait ...