Download the PHP package pollora/cli without Composer
On this page you can find all versions of the php package pollora/cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cli
About Pollora CLI
The Pollora CLI is a command-line tool for creating and managing Pollora projects. It provides interactive scaffolding with optional DDEV integration, and acts as an intelligent proxy to framework commands when used inside a project.
Installation
Install the CLI globally via Composer:
Make sure the Composer global vendor/bin directory is in your system's PATH:
Add the returned path to your shell profile if it's not already configured:
Bash — ~/.bashrc
Zsh — ~/.zshrc
Fish — ~/.config/fish/config.fish
Windows (PowerShell)
Note: On some systems, the Composer global directory may be
~/.composer/vendor/bininstead of~/.config/composer/vendor/bin. Use thecomposer global config bin-dir --absolutecommand to check.
After updating your profile, reload your shell (source ~/.zshrc, source ~/.bashrc, etc.) or open a new terminal.
Creating a new project
Standard install
The command will:
- Run
composer create-project pollora/pollora - Execute
php artisan pollora:installfor WordPress setup - Optionally initialize a Git repository
With DDEV (recommended)
When the --ddev flag is passed (or selected interactively), the CLI will:
- Configure DDEV (WordPress, PHP 8.4, MariaDB 10.11)
- Start the DDEV environment
- Install the project via
ddev composer create-project - Run
pollora:installinside the container - Publish the
./pollorabinary andddev polloracommand
Your site will be available at https://my-site.ddev.site.
Options
| Option | Description |
|---|---|
--ddev |
Set up the project with DDEV |
--force, -f |
Force install even if the directory already exists |
--git |
Initialize a Git repository |
--branch=NAME |
Branch name for the new repository (default: main) |
Using Pollora commands
Inside a Pollora project
When you run pollora inside a directory that contains both artisan and vendor/pollora/framework, the CLI acts as a proxy and delegates commands to php artisan pollora:{command}:
With DDEV
If you set up your project with --ddev, a custom ddev pollora command is available:
With the local ./pollora binary
The framework provides a dedicated ./pollora binary (published via vendor:publish --tag=pollora-binary) that shows only Pollora-related commands with short names:
The original php artisan pollora:* signatures continue to work as aliases.
Updating
The CLI checks for updates automatically (once every 24 hours) and displays a notification when a new version is available:
To update manually:
This runs composer global update pollora/cli under the hood. You can also use the alias pollora self:update.
Other commands
| Command | Description |
|---|---|
pollora version |
Display the CLI version |
pollora self-update |
Update the CLI to the latest version (alias: self:update) |
Requirements
- PHP >= 8.2
- Composer 2.x
- DDEV (optional, for
--ddevmode)
Testing
License
Pollora CLI is open-sourced software licensed under the GPL-2.0-or-later.
All versions of cli with dependencies
guzzlehttp/guzzle Version ^7.0
laravel/prompts Version ^0.3
symfony/console Version ^7.0
symfony/process Version ^7.0