PHPackages                             clippy/std - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. clippy/std

ActiveLibrary

clippy/std
==========

TODO

v0.5.1(1y ago)093.6k↓14.7%1MITPHPPHP &gt;=7.4CI passing

Since Dec 4Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/clippy-php/std)[ Packagist](https://packagist.org/packages/clippy/std)[ RSS](/packages/clippy-std/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (5)Versions (23)Used By (0)

Clippy (Standard Edition)
=========================

[](#clippy-standard-edition)

Clippy is a CLI framework for *scripting* in PHP -- i.e. creating short, task-specific, standalone commands. It is heavily based on [mnapoli/silly](https://github.com/mnapoli/silly/).

*Scripting* is a different domain than, say, *full business applications*.

- In some ways, scripting is more modest: a full business application may have a wide variety of entities, screens, commands, and authors. Dependencies and conventions among these various components must be reconciled. By contrast, a script is generally focused on smaller tasks and has wider latitude to mix and match libraries and conventions.
- In other ways, scripting is more stringent: the naming/structure/metadata should be quite thin to allow quick improvisation, and it should be easy+safely to frequently call out to other CLI commands. By contrast, a full business app has more value built-in -- so it needs more structure to differentiate its internal components, and it doesn't need to call-out as frequently.

Note: To simplify the workflows for dependency management, the examples use [pogo](http://github.com/totten/pogo). `pogo` should be installed in the `PATH`. Alternatively, you can rework the examples - instead, create a new `composer` package for each script and run `composer require :` has needed.

Example
-------

[](#example)

```
#!/usr/bin/env pogo
