Skip to content

commonphp/console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommonPHP Console

CommonPHP Console provides command-line execution support for CommonPHP applications. It defines the console executive, command structure, input/output handling, and terminal-oriented runtime integration.

The package is intended for CLI tools, maintenance commands, diagnostics, workers, and developer utilities that run through the CommonPHP runtime model.

Requirements

  • PHP ^8.5
  • comphp/runtime:^0.3

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/console

Usage

<?php

// TODO: Write usage

Package Notes

This package should provide the console runtime mode, command discovery/registration, argument handling, output helpers, and command execution. Application bootstrapping remains in comphp/runtime.

Error Handling

Command failures should return non-zero exit statuses and should use package-specific exceptions for invalid command definitions, invalid arguments, and execution failures.

Documentation

License

MIT. See LICENSE.md.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages