From 10e9b83b9934486dd8c50fe0832332cd58fab26d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 Jun 2018 12:17:54 +0200 Subject: Initial packaging with cache, collection, core, database, database and utility sub-packages --- src/Cache/composer.json | 33 ++++++++++++++++++++++++++++++ src/Collection/composer.json | 36 +++++++++++++++++++++++++++++++++ src/Core/composer.json | 39 +++++++++++++++++++++++++++++++++++ src/Database/composer.json | 40 ++++++++++++++++++++++++++++++++++++ src/Datasource/composer.json | 40 ++++++++++++++++++++++++++++++++++++ src/Event/composer.json | 34 +++++++++++++++++++++++++++++++ src/Filesystem/composer.json | 34 +++++++++++++++++++++++++++++++ src/Form/composer.json | 33 ++++++++++++++++++++++++++++++ src/I18n/composer.json | 48 ++++++++++++++++++++++++++++++++++++++++++++ src/Log/composer.json | 35 ++++++++++++++++++++++++++++++++ src/ORM/composer.json | 43 +++++++++++++++++++++++++++++++++++++++ src/Utility/composer.json | 43 +++++++++++++++++++++++++++++++++++++++ src/Validation/composer.json | 38 +++++++++++++++++++++++++++++++++++ 13 files changed, 496 insertions(+) create mode 100644 src/Cache/composer.json create mode 100644 src/Collection/composer.json create mode 100644 src/Core/composer.json create mode 100644 src/Database/composer.json create mode 100644 src/Datasource/composer.json create mode 100644 src/Event/composer.json create mode 100644 src/Filesystem/composer.json create mode 100644 src/Form/composer.json create mode 100644 src/I18n/composer.json create mode 100644 src/Log/composer.json create mode 100644 src/ORM/composer.json create mode 100644 src/Utility/composer.json create mode 100644 src/Validation/composer.json (limited to 'src') diff --git a/src/Cache/composer.json b/src/Cache/composer.json new file mode 100644 index 0000000..23289aa --- /dev/null +++ b/src/Cache/composer.json @@ -0,0 +1,33 @@ +{ + "name": "cakephp/cache", + "description": "Easy to use Caching library with support for multiple caching backends", + "type": "library", + "keywords": [ + "cakephp", + "caching", + "cache" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/cache/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/cache" + }, + "require": { + "php": ">=5.6.0", + "cakephp/core": "^3.6.0" + }, + "autoload": { + "psr-4": { + "Cake\\Cache\\": "." + } + } +} diff --git a/src/Collection/composer.json b/src/Collection/composer.json new file mode 100644 index 0000000..47a24c4 --- /dev/null +++ b/src/Collection/composer.json @@ -0,0 +1,36 @@ +{ + "name": "cakephp/collection", + "description": "Work easily with arrays and iterators by having a battery of utility traversal methods", + "type": "library", + "keywords": [ + "cakephp", + "collections", + "iterators", + "arrays" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/collection/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/collection" + }, + "require": { + "php": ">=5.6.0" + }, + "autoload": { + "psr-4": { + "Cake\\Collection\\": "." + }, + "files": [ + "functions.php" + ] + } +} diff --git a/src/Core/composer.json b/src/Core/composer.json new file mode 100644 index 0000000..3a48585 --- /dev/null +++ b/src/Core/composer.json @@ -0,0 +1,39 @@ +{ + "name": "cakephp/core", + "description": "CakePHP Framework Core classes", + "type": "library", + "keywords": [ + "cakephp", + "framework", + "core" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/core/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/core" + }, + "require": { + "php": ">=5.6.0", + "cakephp/utility": "^3.6.0" + }, + "suggest": { + "cakephp/event": "To use PluginApplicationInterface or plugin applications." + }, + "autoload": { + "psr-4": { + "Cake\\Core\\": "." + }, + "files": [ + "functions.php" + ] + } +} diff --git a/src/Database/composer.json b/src/Database/composer.json new file mode 100644 index 0000000..3de6513 --- /dev/null +++ b/src/Database/composer.json @@ -0,0 +1,40 @@ +{ + "name": "cakephp/database", + "description": "Flexible and powerful Database abstraction library with a familiar PDO-like API", + "type": "library", + "keywords": [ + "cakephp", + "database", + "abstraction", + "database abstraction", + "pdo" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/database/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/database" + }, + "require": { + "php": ">=5.6.0", + "cakephp/cache": "^3.6.0", + "cakephp/core": "^3.6.0", + "cakephp/datasource": "^3.6.0" + }, + "suggest": { + "cakephp/log": "Require this if you want to use the built-in query logger" + }, + "autoload": { + "psr-4": { + "Cake\\Database\\": "." + } + } +} diff --git a/src/Datasource/composer.json b/src/Datasource/composer.json new file mode 100644 index 0000000..7846db2 --- /dev/null +++ b/src/Datasource/composer.json @@ -0,0 +1,40 @@ +{ + "name": "cakephp/datasource", + "description": "Provides connection managing and traits for Entities and Queries that can be reused for different datastores", + "type": "library", + "keywords": [ + "cakephp", + "datasource", + "connection management", + "entity", + "query" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/datasource/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/datasource" + }, + "require": { + "php": ">=5.6.0", + "cakephp/core": "^3.6.0" + }, + "suggest": { + "cakephp/utility": "If you decide to use EntityTrait.", + "cakephp/collection": "If you decide to use ResultSetInterface.", + "cakephp/cache": "If you decide to use Query caching." + }, + "autoload": { + "psr-4": { + "Cake\\Datasource\\": "." + } + } +} diff --git a/src/Event/composer.json b/src/Event/composer.json new file mode 100644 index 0000000..e984d41 --- /dev/null +++ b/src/Event/composer.json @@ -0,0 +1,34 @@ +{ + "name": "cakephp/event", + "description": "CakePHP event dispatcher library that helps implementing the observer pattern", + "type": "library", + "keywords": [ + "cakephp", + "event", + "dispatcher", + "observer pattern" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/event/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/event" + }, + "require": { + "php": ">=5.6.0", + "cakephp/core": "^3.6.0" + }, + "autoload": { + "psr-4": { + "Cake\\Event\\": "." + } + } +} diff --git a/src/Filesystem/composer.json b/src/Filesystem/composer.json new file mode 100644 index 0000000..e5dcb07 --- /dev/null +++ b/src/Filesystem/composer.json @@ -0,0 +1,34 @@ +{ + "name": "cakephp/filesystem", + "description": "CakePHP filesystem convenience classes to help you work with files and folders.", + "type": "library", + "keywords": [ + "cakephp", + "filesystem", + "files", + "folders" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/filesystem/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/filesystem" + }, + "require": { + "php": ">=5.6.0", + "cakephp/core": "^3.6.0" + }, + "autoload": { + "psr-4": { + "Cake\\Filesystem\\": "." + } + } +} diff --git a/src/Form/composer.json b/src/Form/composer.json new file mode 100644 index 0000000..5e1dfdc --- /dev/null +++ b/src/Form/composer.json @@ -0,0 +1,33 @@ +{ + "name": "cakephp/form", + "description": "CakePHP Form library", + "type": "library", + "keywords": [ + "cakephp", + "form" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/form/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/form" + }, + "require": { + "php": ">=5.6.0", + "cakephp/event": "^3.6.0", + "cakephp/validation": "^3.6.0" + }, + "autoload": { + "psr-4": { + "Cake\\Form\\": "." + } + } +} diff --git a/src/I18n/composer.json b/src/I18n/composer.json new file mode 100644 index 0000000..7ffc86f --- /dev/null +++ b/src/I18n/composer.json @@ -0,0 +1,48 @@ +{ + "name": "cakephp/i18n", + "description": "CakePHP Internationalization library with support for messages translation and dates and numbers localization", + "type": "library", + "keywords": [ + "cakephp", + "i18n", + "internationalisation", + "internationalization", + "localisation", + "localization", + "translation", + "date", + "number" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/i18n/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/i18n" + }, + "require": { + "php": ">=5.6.0", + "ext-intl": "*", + "cakephp/core": "^3.6.0", + "cakephp/chronos": "^1.0.0", + "aura/intl": "^3.0.0" + }, + "suggest": { + "cakephp/cache": "Require this if you want automatic caching of translators" + }, + "autoload": { + "psr-4": { + "Cake\\I18n\\": "." + }, + "files": [ + "functions.php" + ] + } +} diff --git a/src/Log/composer.json b/src/Log/composer.json new file mode 100644 index 0000000..a775a4f --- /dev/null +++ b/src/Log/composer.json @@ -0,0 +1,35 @@ +{ + "name": "cakephp/log", + "description": "CakePHP logging library with support for multiple different streams", + "type": "library", + "keywords": [ + "cakephp", + "log", + "logging", + "streams" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/log/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/log" + }, + "require": { + "php": ">=5.6.0", + "cakephp/core": "^3.6.0", + "psr/log": "^1.0.0" + }, + "autoload": { + "psr-4": { + "Cake\\Log\\": "." + } + } +} diff --git a/src/ORM/composer.json b/src/ORM/composer.json new file mode 100644 index 0000000..1432893 --- /dev/null +++ b/src/ORM/composer.json @@ -0,0 +1,43 @@ +{ + "name": "cakephp/orm", + "description": "CakePHP ORM - Provides a flexible and powerful ORM implementing a data-mapper pattern.", + "type": "library", + "keywords": [ + "cakephp", + "orm", + "data-mapper", + "data-mapper pattern" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/orm/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/orm" + }, + "require": { + "php": ">=5.6.0", + "cakephp/collection": "^3.6.0", + "cakephp/core": "^3.6.0", + "cakephp/datasource": "^3.6.0", + "cakephp/database": "^3.6.0", + "cakephp/event": "^3.6.0", + "cakephp/utility": "^3.6.0", + "cakephp/validation": "^3.6.0" + }, + "suggest": { + "cakephp/i18n": "If you are using Translate / Timestamp Behavior." + }, + "autoload": { + "psr-4": { + "Cake\\ORM\\": "." + } + } +} diff --git a/src/Utility/composer.json b/src/Utility/composer.json new file mode 100644 index 0000000..4c5c8f1 --- /dev/null +++ b/src/Utility/composer.json @@ -0,0 +1,43 @@ +{ + "name": "cakephp/utility", + "description": "CakePHP Utility classes such as Inflector, String, Hash, and Security", + "type": "library", + "keywords": [ + "cakephp", + "utility", + "inflector", + "string", + "hash", + "security" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/utility/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/utility" + }, + "require": { + "php": ">=5.6.0", + "cakephp/core": "^3.6.0" + }, + "suggest": { + "ext-intl": "To use Text::transliterate() or Text::slug()", + "lib-ICU": "To use Text::transliterate() or Text::slug()" + }, + "autoload": { + "psr-4": { + "Cake\\Utility\\": "." + }, + "files": [ + "bootstrap.php" + ] + } +} diff --git a/src/Validation/composer.json b/src/Validation/composer.json new file mode 100644 index 0000000..e4de56a --- /dev/null +++ b/src/Validation/composer.json @@ -0,0 +1,38 @@ +{ + "name": "cakephp/validation", + "description": "CakePHP Validation library", + "type": "library", + "keywords": [ + "cakephp", + "validation", + "data validation" + ], + "homepage": "https://cakephp.org", + "license": "MIT", + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/validation/graphs/contributors" + } + ], + "support": { + "issues": "https://github.com/cakephp/cakephp/issues", + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "source": "https://github.com/cakephp/validation" + }, + "require": { + "php": ">=5.6.0", + "cakephp/core": "^3.6.0", + "cakephp/utility": "^3.6.0", + "psr/http-message": "^1.0.0" + }, + "suggest": { + "cakephp/i18n": "If you want to use Validation::localizedTime()" + }, + "autoload": { + "psr-4": { + "Cake\\Validation\\": "." + } + } +} -- cgit