2017 © Pedro Peláez
 

cakephp-plugin cakephp-uuid-shell

An incredibly simple Shell that exposes the String::uuid() method to the command line. Convenient for generating new IDs in bulk for seed or development data that use UUIDs as primary keys.

image

loadsys/cakephp-uuid-shell

An incredibly simple Shell that exposes the String::uuid() method to the command line. Convenient for generating new IDs in bulk for seed or development data that use UUIDs as primary keys.

  • Monday, December 28, 2015
  • by jtyost2
  • Repository
  • 9 Watchers
  • 0 Stars
  • 1,599 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CakePHP-UuidShell

Latest Version Build Status Coverage Status Software License Total Downloads, (*1)

A CakePHP plugin that provides a Shell to read an app's Configure vars from the command line., (*2)

  • This is the Cake 3.x version of the plugin, which exists on the master branch and is tracked by the ~1.0 semver.
  • For the Cake 2.x version of this plugin, please use the repo's cake-2.x branch.

Requirements

  • CakePHP 3.0.0+
  • PHP 5.6+

Installation

$ composer require loadsys/cakephp-uuid-shell:~1.0

In your config/bootstrap.php file, add:, (*3)

Plugin::load('Uuid', ['bootstrap' => false, 'routes' => false]);

Usage

To use this plugin, call it from the command line:, (*4)

$ cd path/to/app/
$ ./bin/cake uuid

# Generate 15 UUIDs.
$ ./bin/cake uuid 15

Contributing

Code of Conduct

This project has adopted the Contributor Covenant as its code of conduct. All contributors are expected to adhere to this code. Translations are available., (*5)

Reporting Issues

Please use GitHub Isuses for listing any known defects or issues., (*6)

Development

When developing this plugin, please fork and issue a PR for any new development., (*7)

Set up a working copy:, (*8)

$ git clone git@github.com:YOUR_USERNAME/CakePHP-UuidShell.git
$ cd CakePHP-UuidShell/
$ composer install
$ vendor/bin/phpcs --config-set installed_paths vendor/loadsys/loadsys_codesniffer,vendor/cakephp/cakephp-codesniffer

Make your changes:, (*9)

$ git checkout -b your-topic-branch
# (Make your changes. Write some tests.)
$ vendor/bin/phpunit
$ vendor/bin/phpcs -p --extensions=php --standard=Loadsys ./src ./tests

Then commit and push your changes to your fork, and open a pull request., (*10)

License

MIT, (*11)

Loadsys Web Strategies 2015, (*12)

The Versions

28/12 2015

dev-master

9999999-dev https://github.com/loadsys/CakePHP-UuidShell

An incredibly simple Shell that exposes the String::uuid() method to the command line. Convenient for generating new IDs in bulk for seed or development data that use UUIDs as primary keys.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Brian Porter

cakephp uuid shell

28/12 2015

1.0.1

1.0.1.0 https://github.com/loadsys/CakePHP-UuidShell

An incredibly simple Shell that exposes the String::uuid() method to the command line. Convenient for generating new IDs in bulk for seed or development data that use UUIDs as primary keys.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Brian Porter

cakephp uuid shell

18/12 2015

1.0.0

1.0.0.0 https://github.com/loadsys/CakePHP-UuidShell

An incredibly simple Shell that exposes the String::uuid() method to the command line. Convenient for generating new IDs in bulk for seed or development data that use UUIDs as primary keys.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Brian Porter

cakephp uuid shell