/pharci

PHP development utility to automate filesystem to phar replication by monitoring filesystem modifications

Primary LanguageShellOtherNOASSERTION

Pharci

PHP development utility to automate filesystem to phar replication by monitoring filesystem modifications using watchdog

Installation

Prerequisites

Automatic (Attempt *):

Configuration

Ensure php.ini includes phar.readonly=Off to enable creation and modification of phar archives using the phar stream or phar object's write support.

Setup

You can install this through https://github.com/alternatex/shinst

shinst install alternatex/pharci

via curl

bash -s master < <(curl -s https://raw.github.com/alternatex/pharci/master/install.sh)

via wget

bash -s master < <(wget https://raw.github.com/alternatex/pharci/master/install.sh -O -)

Usage

$ pharci

# ...

Roadmap

  • sexy usage: rebuild by confirmation when batch processing is detected » stack changes - if too much completely rebuilding the archive would make sense > terminal-notifier/notification center -> on batch detect offer rebuild - on subsequent change detect > clear messages > restart if things are quite again...
  • add test per object/event_type (including batch operations)
  • timed actions » based on insights gotten from batch operation tests - NO: by use w/ sense just notify glob(pattern) returned count vs recommended/"max"
  • ensure all settings used
  • add verbose option (todo: statistics impact o echoing)
  • finalize event handling
  • multiple instances (handle ports)
  • ensure no multiprocess access on phar
  • zip & tar/gz streams support
  • semver

License

Released under two licenses: new BSD, and MIT. You may pick the license that best suits your development needs.

https://raw.github.com/alternatex/pharci/master/LICENSE