diff --git a/.github/workflows/job-examples.yml b/.github/workflows/job-examples.yml deleted file mode 100644 index 76d071becd..0000000000 --- a/.github/workflows/job-examples.yml +++ /dev/null @@ -1,28 +0,0 @@ -on: - workflow_call: - -jobs: - examples: - runs-on: ubuntu-latest - timeout-minutes: 10 - strategy: - fail-fast: false - matrix: - php-version: - - "8.3" - - steps: - - name: "Checkout" - uses: "actions/checkout@v5" - - - name: "Setup PHP Environment" - uses: "./.github/actions/setup-php-env" - with: - php-version: "${{ matrix.php-version }}" - dependencies: "locked" - coverage: "none" - extensions: ':psr, bcmath, dom, hash, json, mbstring, xml, xmlwriter, xmlreader, zlib, curl' - ini-values: 'memory_limit=-1, post_max_size=32M, upload_max_filesize=32M' - - - name: "Test - Examples" - run: "composer test:examples" diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index cb5c64342b..6067ddc21a 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -7,7 +7,6 @@ on: - '.github/actions/**' - 'src/**' - 'tools/**' - - 'examples/**' - 'composer.lock' - 'composer.json' - 'phpunit.xml.dist' @@ -18,7 +17,6 @@ on: - '.github/actions/**' - 'src/**' - 'tools/**' - - 'examples/**' - 'composer.lock' - 'composer.json' - 'phpunit.xml.dist' @@ -40,10 +38,6 @@ jobs: dependencies: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && '["locked","lowest","highest"]' || '["locked"]' }} secrets: inherit - examples: - if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' - uses: ./.github/workflows/job-examples.yml - extension-tests: uses: ./.github/workflows/job-extension-tests.yml diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index efd7e4d8a1..c4392cf33b 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -29,7 +29,6 @@ __DIR__ . '/web/landing/src', __DIR__ . '/web/landing/tests', __DIR__ . '/web/landing/bin', - __DIR__ . '/examples', __DIR__ . '/tools/rector/src', __DIR__ . '/tools/phpunit/extension/telemetry/src', __DIR__ . '/tools/phpunit/extension/telemetry/tests', diff --git a/composer.json b/composer.json index ffce283276..0126aebdaa 100644 --- a/composer.json +++ b/composer.json @@ -278,7 +278,6 @@ "build": [ "@test:docs", "@test:monorepo", - "@test:examples", "@static:analyze", "@test", "@test:mutation" @@ -467,14 +466,11 @@ "tools/phpunit/vendor/bin/phpunit --testsuite=tool-phpunit-telemetry-unit --log-junit ./var/phpunit/logs/tool-phpunit-telemetry-unit.junit.xml --coverage-clover=./var/phpunit/coverage/clover/tool-phpunit-telemetry-unit.coverage.xml" ], "test:docs": [ - "docker run -t --rm -v $PWD:/app norberttech/md-link-linter --exclude=vendor --exclude=.scratchpad --exclude=examples --exclude=documentation ." + "docker run -t --rm -v $PWD:/app norberttech/md-link-linter --exclude=vendor --exclude=.scratchpad --exclude=documentation ." ], "test:website": [ "composer test --working-dir=./web/landing" ], - "test:examples": [ - "./examples/run.php" - ], "test:mutation": [ "Composer\\Config::disableProcessTimeout", "tools/infection/vendor/bin/infection --threads=max" diff --git a/documentation/examples.md b/documentation/examples.md deleted file mode 100644 index d04e619032..0000000000 --- a/documentation/examples.md +++ /dev/null @@ -1,255 +0,0 @@ -# Examples - -[TOC] - -This document provides comprehensive guidance for working with Flow PHP examples, including how to add new examples, -update existing ones, and run them effectively. - -## Overview - -Flow PHP includes a comprehensive collection of executable examples organized by topic, demonstrating all major -framework features. Each example is self-contained with isolated dependencies and serves as both documentation and -integration testing. - -## Directory Structure - -Examples are organized hierarchically under `/examples/topics/` with the following structure: - -``` -examples/ -├── run.php # Main execution script -├── clean.php # Cleanup utility -└── topics/ # Topic-based organization - ├── aggregations/ # Data aggregation operations - ├── data_frame/ # DataFrame operations - ├── data_reading/ # Data input methods - ├── data_writing/ # Data output methods - ├── filesystem/ # Filesystem operations - ├── join/ # Data joining - ├── partitioning/ # Data partitioning - ├── schema/ # Schema management - ├── transformations/ # Data transformations - ├── types/ # Type system - └── window_functions/ # Window functions -``` - -### Standard Example Structure - -Each example follows this consistent structure: - -``` -examples/topics/{topic}/{example}/ -├── code.php # Main executable script (required) -├── composer.json # Isolated dependencies (required) -├── composer.lock # Locked dependencies (generated) -├── output.txt # Expected output (required) -├── description.md # Human-readable explanation (optional) -├── priority.txt # Numeric priority for ordering (optional) -├── hidden.txt # Hide from website (optional) -├── input/ # Sample input data (optional) -├── output/ # Generated output files (optional) -├── vendor/ # Composer dependencies (generated) -└── flow_php_example.zip # Distribution archive (generated) -``` - -## Running Examples - -### Command Line Interface - -Use the main execution script to run examples: - -```bash -# Run all examples -./examples/run.php - -# Run specific topic -./examples/run.php --topic=data_reading - -# Run specific example -./examples/run.php --topic=data_reading --example=csv - -# Update dependencies instead of install -./examples/run.php --composer-update - -# Generate distribution archives -./examples/run.php --composer-archive -``` - -### Available Options - -- `--topic (-t)`: Run examples from a specific topic -- `--example (-e)`: Run a specific example (requires --topic) -- `--composer-update (-u)`: Update dependencies instead of install -- `--composer-archive (-a)`: Generate ZIP archives for distribution - -### Integration with Build System - -Examples are integrated into the build process: - -```bash -# Run examples as part of test suite -composer test:examples - -# Run full test suite including examples -composer test -``` - -Examples run automatically in CI/CD on changes to `examples/**` directory. - -## Adding New Examples - -### Step-by-Step Process - -1. **Choose Topic and Name** - - Use existing topics when possible - - Create new topics only for distinct feature areas - - Use descriptive, lowercase names with underscores - -2. **Create Directory Structure** - ```bash - mkdir -p examples/topics/{topic}/{example} - cd examples/topics/{topic}/{example} - ``` - -3. **Create Required Files** - - **`code.php`** - Main executable script: - ```php - read(/* extractor */) - ->transform(/* transformations */) - ->write(/* loader */) - ->run(); - ``` - - **`composer.json`** - Dependencies: - ```json - { - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-[specific]": "1.x-dev" - }, - "archive": { - "exclude": [".env", "vendor"] - } - } - ``` - - **`priority.txt`** - Numeric priority (1-99, lower = higher priority): - ``` - 10 - ``` - -4. **Add Optional Files** - - **`description.md`** - Human-readable explanation: - ```markdown - # Example Title - - Brief description of what this example demonstrates. - - ## Key Features - - - Feature 1 - - Feature 2 - - ## Use Cases - - When to use this pattern... - ``` - - **`input/`** directory - Sample data files if needed - **`hidden.txt`** - Empty file to hide from website - -5. **Test the Example** - ```bash - # Test locally - ./examples/run.php --topic={topic} --example={example} - ``` - -## Updating Existing Examples - -### Common Update Scenarios - -1. **Code Changes** - - Edit `code.php` following existing patterns - - Test thoroughly with `./examples/run.php` - - Update `output.txt` if output changes - -2. **Dependency Updates** - - Modify `composer.json` as needed - - Run `./examples/run.php --composer-update --topic={topic} --example={example}` to refresh dependencies - - Commit both `composer.json` and `composer.lock` - -3. **Documentation Updates** - - Edit `description.md` for clarity - - Keep documentation concise and focused - -4. **Priority Changes** - - Modify `priority.txt` value (1-99) - - Lower numbers appear first in listings - -## Priority and Organization System - -### Priority System - -Examples use numeric priorities for ordering: - -- **Range**: 1-99 (lower numbers = higher priority) -- **Default**: 99 if `priority.txt` doesn't exist -- **Application**: Both topics and individual examples -- **Display**: Lower priority numbers appear first - -### Visibility Control - -- **`hidden.txt`**: Empty file that hides examples from website -- **Use cases**: Internal examples, development utilities, deprecated examples -- **Current usage**: Applied to some sequence generator examples - -## Maintenance and Cleanup - -### Cleanup Operations - -Remove generated files and dependencies: - -```bash -# Clean all examples -./examples/clean.php - -# This removes: -# - vendor/ directories -# - flow_php_example.zip files -``` - -### Archive Generation - -Create distribution packages: - -```bash -# Generate archives for all examples -./examples/run.php --composer-archive - -# Archives are created as flow_php_example.zip in each example directory -``` - -## Integration with Website - -Examples are automatically integrated into the Flow PHP website: - -- **Dynamic content**: Website reads examples directly from filesystem -- **Priority ordering**: Uses `priority.txt` for display order -- **Visibility**: Respects `hidden.txt` files -- **Multi-format**: Supports various output formats (txt, xml, csv, json) -- **Code highlighting**: Automatic syntax highlighting for code blocks \ No newline at end of file diff --git a/documentation/style-guide.md b/documentation/style-guide.md index 2659fa4052..01496b081b 100644 --- a/documentation/style-guide.md +++ b/documentation/style-guide.md @@ -22,11 +22,11 @@ - Sunset Orange - Light Slate Blue - Warm Blue - Daisy Bush - Mirage + Sunset Orange + Light Slate Blue + Warm Blue + Daisy Bush + Mirage #FF5547 diff --git a/examples/.gitignore b/examples/.gitignore deleted file mode 100644 index 2e1ac685b6..0000000000 --- a/examples/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -vendor -output/* -!output/.gitkep -compose.yml -var -.env \ No newline at end of file diff --git a/examples/clean.php b/examples/clean.php deleted file mode 100755 index b88f509056..0000000000 --- a/examples/clean.php +++ /dev/null @@ -1,70 +0,0 @@ -#!/usr/bin/env php -in(__DIR__ . '/topics') - ->files() - ->name('*.php'); - -$output = new ConsoleOutput(); -$input = new ArgvInput(definition: new InputDefinition( - [ - new InputOption(name: 'composer-update', shortcut: 'u', mode: InputOption::VALUE_NONE), - new InputOption(name: 'composer-archive', shortcut: 'a', mode: InputOption::VALUE_NONE), - ] -)); -$style = new SymfonyStyle($input, $output); -$style->setDecorated(true); - -$style->title('Cleaning Flow PHP Examples'); - -$fs = fstab()->for(protocol('file')); - -foreach ($finder as $file) { - if ($file->getBasename() !== 'code.php') { - continue; - } - - $start = HighResolutionTime::now(); - - $style->info("Removing vendor and code archive: {$file->getRelativePathname()}"); - - $vendorPath = path($file->getPath() . '/vendor'); - - if ($fs->status($vendorPath)?->isDirectory()) { - $fs->rm(path($file->getPath() . '/vendor')); - } - - $archiveZip = path($file->getPath() . '/flow_php_example.zip'); - - if ($fs->status($archiveZip)?->isFile()) { - $fs->rm($archiveZip); - } -} - -$style->success('Vendor adn archive folders remove from all examples'); diff --git a/examples/run.php b/examples/run.php deleted file mode 100755 index ecca7f1f8a..0000000000 --- a/examples/run.php +++ /dev/null @@ -1,134 +0,0 @@ -#!/usr/bin/env php -getOption('topic'); -$example = $input->getOption('example'); -$option = $input->getOption('option'); - -$path = __DIR__ . '/topics'; - -if ($topic) { - $path .= '/' . $topic; -} - -if ($example) { - $path .= '/' . $example; -} - -if ($option) { - $path .= '/' . $option; -} - -$finder = new Finder(); -$finder->in($path) - ->files() - ->name('*.php'); - -$style = new SymfonyStyle($input, $output); -$style->setDecorated(true); - -$style->title('Running Flow PHP Examples'); - -foreach ($finder as $file) { - if ($file->getBasename() !== 'code.php') { - continue; - } - - if (\file_exists($skipPath = $file->getPath() . '/skip.txt')) { - $style->warning("Skipping example, skip.txt detected: {$skipPath}"); - - continue; - } - - if (\file_exists($composerPath = $file->getPath() . '/composer.json')) { - $constraints = json_decode(file_get_contents($composerPath), true)['require']['php'] ?? '^8.2'; - - if (!Semver::satisfies(\PHP_VERSION, $constraints)) { - $style->warning( - sprintf("Skipping example, used PHP (%s) doesn't satisfy requirements: {$constraints}", \PHP_VERSION) - ); - - continue; - } - } - - $start = HighResolutionTime::now(); - - $style->info("Running example: {$file->getRelativePathname()}"); - - $style->note(($input->getOption('composer-update') ? 'Updating' : 'Installing') . ' composer dependencies'); - $composerProcess = new Symfony\Component\Process\Process(['composer', $input->getOption('composer-update') ? 'update' : 'install'], $file->getPath()); - $composerProcess->run(); - $style->info('Composer install finished'); - - if (!$composerProcess->isSuccessful()) { - $style->error("Composer install failed: {$file->getPath()}"); - $style->error("Details: {$composerProcess->getErrorOutput()}"); - - exit(1); - } - - $codeProcess = new Symfony\Component\Process\Process(['php', $file->getRealPath()]); - $codeProcess->run(); - - if (!$codeProcess->isSuccessful()) { - $style->error("Example failed: {$file->getPath()}"); - $style->error("Details: {$codeProcess->getOutput()}"); - - exit(1); - } - $end = HighResolutionTime::now(); - - $style->success('Example finished in ' . $start->diff($end)->toSeconds() . ' seconds'); - - if ($input->getOption('composer-archive')) { - $style->note('Generating composer archive'); - $composerProcess = new Symfony\Component\Process\Process(['composer', 'archive', '--format', 'zip', '--file', 'flow_php_example'], $file->getPath()); - $composerProcess->run(); - - if (!$composerProcess->isSuccessful()) { - $style->error("Composer archive failed: {$file->getPath()}"); - $style->error("Details: {$composerProcess->getErrorOutput()}"); - - exit(1); - } - - $style->info('Composer archive generated'); - } -} diff --git a/examples/topics/aggregations/aggregating_functions/average/code.php b/examples/topics/aggregations/aggregating_functions/average/code.php deleted file mode 100644 index 576d83e802..0000000000 --- a/examples/topics/aggregations/aggregating_functions/average/code.php +++ /dev/null @@ -1,19 +0,0 @@ -from(from_rows(rows( - row(int_entry('a', 100)), - row(int_entry('a', 100)), - row(int_entry('a', 200)), - row(int_entry('a', 400)), - row(int_entry('a', 400)) - ))) - ->aggregate(average(ref('a'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/aggregating_functions/average/composer.json b/examples/topics/aggregations/aggregating_functions/average/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/aggregating_functions/average/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/aggregating_functions/average/composer.lock b/examples/topics/aggregations/aggregating_functions/average/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/aggregating_functions/average/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/aggregating_functions/average/flow_php_example.zip b/examples/topics/aggregations/aggregating_functions/average/flow_php_example.zip deleted file mode 100644 index 21ac42314a..0000000000 Binary files a/examples/topics/aggregations/aggregating_functions/average/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/aggregating_functions/average/output.txt b/examples/topics/aggregations/aggregating_functions/average/output.txt deleted file mode 100644 index 5720e8c2e1..0000000000 --- a/examples/topics/aggregations/aggregating_functions/average/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+-------+ -| a_avg | -+-------+ -| 240 | -+-------+ -1 rows diff --git a/examples/topics/aggregations/aggregating_functions/first/code.php b/examples/topics/aggregations/aggregating_functions/first/code.php deleted file mode 100644 index 422345cd2d..0000000000 --- a/examples/topics/aggregations/aggregating_functions/first/code.php +++ /dev/null @@ -1,19 +0,0 @@ -from(from_rows(rows( - row(int_entry('a', 100)), - row(int_entry('a', 100)), - row(int_entry('a', 200)), - row(int_entry('a', 400)), - row(int_entry('a', 400)) - ))) - ->aggregate(first(ref('a'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/aggregating_functions/first/composer.json b/examples/topics/aggregations/aggregating_functions/first/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/aggregating_functions/first/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/aggregating_functions/first/composer.lock b/examples/topics/aggregations/aggregating_functions/first/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/aggregating_functions/first/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/aggregating_functions/first/flow_php_example.zip b/examples/topics/aggregations/aggregating_functions/first/flow_php_example.zip deleted file mode 100644 index aaada66f5c..0000000000 Binary files a/examples/topics/aggregations/aggregating_functions/first/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/aggregating_functions/first/output.txt b/examples/topics/aggregations/aggregating_functions/first/output.txt deleted file mode 100644 index d0fb05fe67..0000000000 --- a/examples/topics/aggregations/aggregating_functions/first/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+---------+ -| a_first | -+---------+ -| 100 | -+---------+ -1 rows diff --git a/examples/topics/aggregations/aggregating_functions/last/code.php b/examples/topics/aggregations/aggregating_functions/last/code.php deleted file mode 100644 index 872d3658a6..0000000000 --- a/examples/topics/aggregations/aggregating_functions/last/code.php +++ /dev/null @@ -1,19 +0,0 @@ -from(from_rows(rows( - row(int_entry('a', 100)), - row(int_entry('a', 100)), - row(int_entry('a', 200)), - row(int_entry('a', 400)), - row(int_entry('a', 400)) - ))) - ->aggregate(last(ref('a'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/aggregating_functions/last/composer.json b/examples/topics/aggregations/aggregating_functions/last/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/aggregating_functions/last/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/aggregating_functions/last/composer.lock b/examples/topics/aggregations/aggregating_functions/last/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/aggregating_functions/last/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/aggregating_functions/last/flow_php_example.zip b/examples/topics/aggregations/aggregating_functions/last/flow_php_example.zip deleted file mode 100644 index 8c69cd2baf..0000000000 Binary files a/examples/topics/aggregations/aggregating_functions/last/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/aggregating_functions/last/output.txt b/examples/topics/aggregations/aggregating_functions/last/output.txt deleted file mode 100644 index 5f059c7da2..0000000000 --- a/examples/topics/aggregations/aggregating_functions/last/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+--------+ -| a_last | -+--------+ -| 400 | -+--------+ -1 rows diff --git a/examples/topics/aggregations/aggregating_functions/max/code.php b/examples/topics/aggregations/aggregating_functions/max/code.php deleted file mode 100644 index e62cb65f14..0000000000 --- a/examples/topics/aggregations/aggregating_functions/max/code.php +++ /dev/null @@ -1,19 +0,0 @@ -from(from_rows(rows( - row(int_entry('a', 100)), - row(int_entry('a', 100)), - row(int_entry('a', 200)), - row(int_entry('a', 400)), - row(int_entry('a', 400)) - ))) - ->aggregate(max(ref('a'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/aggregating_functions/max/composer.json b/examples/topics/aggregations/aggregating_functions/max/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/aggregating_functions/max/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/aggregating_functions/max/composer.lock b/examples/topics/aggregations/aggregating_functions/max/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/aggregating_functions/max/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/aggregating_functions/max/flow_php_example.zip b/examples/topics/aggregations/aggregating_functions/max/flow_php_example.zip deleted file mode 100644 index 0ea4039994..0000000000 Binary files a/examples/topics/aggregations/aggregating_functions/max/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/aggregating_functions/max/output.txt b/examples/topics/aggregations/aggregating_functions/max/output.txt deleted file mode 100644 index 5f52ad3842..0000000000 --- a/examples/topics/aggregations/aggregating_functions/max/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+-------+ -| a_max | -+-------+ -| 400 | -+-------+ -1 rows diff --git a/examples/topics/aggregations/aggregating_functions/min/code.php b/examples/topics/aggregations/aggregating_functions/min/code.php deleted file mode 100644 index d246232edd..0000000000 --- a/examples/topics/aggregations/aggregating_functions/min/code.php +++ /dev/null @@ -1,19 +0,0 @@ -from(from_rows(rows( - row(int_entry('a', 100)), - row(int_entry('a', 100)), - row(int_entry('a', 200)), - row(int_entry('a', 400)), - row(int_entry('a', 400)) - ))) - ->aggregate(min(ref('a'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/aggregating_functions/min/composer.json b/examples/topics/aggregations/aggregating_functions/min/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/aggregating_functions/min/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/aggregating_functions/min/composer.lock b/examples/topics/aggregations/aggregating_functions/min/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/aggregating_functions/min/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/aggregating_functions/min/flow_php_example.zip b/examples/topics/aggregations/aggregating_functions/min/flow_php_example.zip deleted file mode 100644 index a711484707..0000000000 Binary files a/examples/topics/aggregations/aggregating_functions/min/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/aggregating_functions/min/output.txt b/examples/topics/aggregations/aggregating_functions/min/output.txt deleted file mode 100644 index 114a5011c7..0000000000 --- a/examples/topics/aggregations/aggregating_functions/min/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+-------+ -| a_min | -+-------+ -| 100 | -+-------+ -1 rows diff --git a/examples/topics/aggregations/aggregating_functions/sum/code.php b/examples/topics/aggregations/aggregating_functions/sum/code.php deleted file mode 100644 index 36f74b00ab..0000000000 --- a/examples/topics/aggregations/aggregating_functions/sum/code.php +++ /dev/null @@ -1,19 +0,0 @@ -from(from_rows(rows( - row(int_entry('a', 100)), - row(int_entry('a', 100)), - row(int_entry('a', 200)), - row(int_entry('a', 400)), - row(int_entry('a', 400)) - ))) - ->aggregate(sum(ref('a'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/aggregating_functions/sum/composer.json b/examples/topics/aggregations/aggregating_functions/sum/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/aggregating_functions/sum/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/aggregating_functions/sum/composer.lock b/examples/topics/aggregations/aggregating_functions/sum/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/aggregating_functions/sum/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/aggregating_functions/sum/flow_php_example.zip b/examples/topics/aggregations/aggregating_functions/sum/flow_php_example.zip deleted file mode 100644 index 1fda958a8a..0000000000 Binary files a/examples/topics/aggregations/aggregating_functions/sum/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/aggregating_functions/sum/output.txt b/examples/topics/aggregations/aggregating_functions/sum/output.txt deleted file mode 100644 index 06bbcd0c2a..0000000000 --- a/examples/topics/aggregations/aggregating_functions/sum/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+-------+ -| a_sum | -+-------+ -| 1200 | -+-------+ -1 rows diff --git a/examples/topics/aggregations/grouping/group_by/code.php b/examples/topics/aggregations/grouping/group_by/code.php deleted file mode 100644 index 9901d07232..0000000000 --- a/examples/topics/aggregations/grouping/group_by/code.php +++ /dev/null @@ -1,25 +0,0 @@ -read(from_array([ - ['id' => 1, 'group' => 'A'], - ['id' => 2, 'group' => 'B'], - ['id' => 3, 'group' => 'A'], - ['id' => 4, 'group' => 'B'], - ['id' => 5, 'group' => 'A'], - ['id' => 6, 'group' => 'B'], - ['id' => 7, 'group' => 'A'], - ['id' => 8, 'group' => 'B'], - ['id' => 9, 'group' => 'A'], - ['id' => 10, 'group' => 'B'], - ])) - ->groupBy(ref('group')) - ->aggregate(count(ref('group'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/grouping/group_by/composer.json b/examples/topics/aggregations/grouping/group_by/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/grouping/group_by/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/grouping/group_by/composer.lock b/examples/topics/aggregations/grouping/group_by/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/grouping/group_by/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/grouping/group_by/flow_php_example.zip b/examples/topics/aggregations/grouping/group_by/flow_php_example.zip deleted file mode 100644 index 6c3823f7b3..0000000000 Binary files a/examples/topics/aggregations/grouping/group_by/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/grouping/group_by/output.txt b/examples/topics/aggregations/grouping/group_by/output.txt deleted file mode 100644 index ec60d82089..0000000000 --- a/examples/topics/aggregations/grouping/group_by/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -+-------+-------------+ -| group | group_count | -+-------+-------------+ -| A | 5 | -| B | 5 | -+-------+-------------+ -2 rows diff --git a/examples/topics/aggregations/grouping/group_by_sum/code.php b/examples/topics/aggregations/grouping/group_by_sum/code.php deleted file mode 100644 index 3f286f263e..0000000000 --- a/examples/topics/aggregations/grouping/group_by_sum/code.php +++ /dev/null @@ -1,25 +0,0 @@ -read(from_array([ - ['id' => 1, 'group' => 'A', 'value' => 100], - ['id' => 2, 'group' => 'B', 'value' => 200], - ['id' => 3, 'group' => 'A', 'value' => 300], - ['id' => 4, 'group' => 'B', 'value' => 100], - ['id' => 5, 'group' => 'A', 'value' => 200], - ['id' => 6, 'group' => 'B', 'value' => 100], - ['id' => 7, 'group' => 'A', 'value' => 400], - ['id' => 8, 'group' => 'B', 'value' => 20], - ['id' => 9, 'group' => 'A', 'value' => 800], - ['id' => 10, 'group' => 'B', 'value' => 40], - ])) - ->groupBy(ref('group')) - ->aggregate(sum(ref('value'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/aggregations/grouping/group_by_sum/composer.json b/examples/topics/aggregations/grouping/group_by_sum/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/aggregations/grouping/group_by_sum/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/aggregations/grouping/group_by_sum/composer.lock b/examples/topics/aggregations/grouping/group_by_sum/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/aggregations/grouping/group_by_sum/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/aggregations/grouping/group_by_sum/flow_php_example.zip b/examples/topics/aggregations/grouping/group_by_sum/flow_php_example.zip deleted file mode 100644 index ae243a67ea..0000000000 Binary files a/examples/topics/aggregations/grouping/group_by_sum/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/aggregations/grouping/group_by_sum/output.txt b/examples/topics/aggregations/grouping/group_by_sum/output.txt deleted file mode 100644 index 1c451b0753..0000000000 --- a/examples/topics/aggregations/grouping/group_by_sum/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -+-------+-----------+ -| group | value_sum | -+-------+-----------+ -| A | 1800 | -| B | 460 | -+-------+-----------+ -2 rows diff --git a/examples/topics/aggregations/grouping/priority.txt b/examples/topics/aggregations/grouping/priority.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/aggregations/grouping/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/data_frame/batch_by/code.php b/examples/topics/data_frame/batch_by/code.php deleted file mode 100644 index 9330b19cc1..0000000000 --- a/examples/topics/data_frame/batch_by/code.php +++ /dev/null @@ -1,20 +0,0 @@ -read(from_array([ - ['order_id' => 1, 'item' => 'Widget', 'qty' => 2], - ['order_id' => 1, 'item' => 'Gadget', 'qty' => 1], - ['order_id' => 2, 'item' => 'Widget', 'qty' => 5], - ['order_id' => 2, 'item' => 'Gizmo', 'qty' => 3], - ['order_id' => 3, 'item' => 'Widget', 'qty' => 1], - ])) - ->constrain(constraint_sorted_by(ref('order_id'))) - ->batchBy('order_id') - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/batch_by/composer.json b/examples/topics/data_frame/batch_by/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/batch_by/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/batch_by/composer.lock b/examples/topics/data_frame/batch_by/composer.lock deleted file mode 100644 index 91518cc3ad..0000000000 --- a/examples/topics/data_frame/batch_by/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "dedb4f777adcce73bfec004f5c3ce29b579f7994" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/dedb4f777adcce73bfec004f5c3ce29b579f7994", - "reference": "dedb4f777adcce73bfec004f5c3ce29b579f7994", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-24T09:15:00+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/batch_by/description.md b/examples/topics/data_frame/batch_by/description.md deleted file mode 100644 index ae19860194..0000000000 --- a/examples/topics/data_frame/batch_by/description.md +++ /dev/null @@ -1,16 +0,0 @@ -Batch by groups rows based on a column value, ensuring that related records stay together in the same batch. -This is particularly useful when processing hierarchical data (like orders with line items) where splitting -related records across batches would cause referential integrity issues during operations like DELETE+INSERT patterns. - -When `minSize` is specified, batches are accumulated until they reach the minimum size, then yielded when a new -group is encountered. This improves processing efficiency while maintaining data integrity. - -When `minSize` is not specified, each unique group value gets its own batch. - -Key features: -- Groups are NEVER split across batches -- Batches may exceed minSize to preserve logical grouping -- Multiple small groups can be combined into one batch (when minSize is set) - -Requirements: -- Data must be sorted by the grouping column \ No newline at end of file diff --git a/examples/topics/data_frame/batch_by/flow_php_example.zip b/examples/topics/data_frame/batch_by/flow_php_example.zip deleted file mode 100644 index adf23a9299..0000000000 Binary files a/examples/topics/data_frame/batch_by/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/batch_by/output.txt b/examples/topics/data_frame/batch_by/output.txt deleted file mode 100644 index 5d521fc90f..0000000000 --- a/examples/topics/data_frame/batch_by/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -+----------+--------+-----+ -| order_id | item | qty | -+----------+--------+-----+ -| 1 | Widget | 2 | -| 1 | Gadget | 1 | -+----------+--------+-----+ -2 rows -+----------+--------+-----+ -| order_id | item | qty | -+----------+--------+-----+ -| 2 | Widget | 5 | -| 2 | Gizmo | 3 | -+----------+--------+-----+ -2 rows -+----------+--------+-----+ -| order_id | item | qty | -+----------+--------+-----+ -| 3 | Widget | 1 | -+----------+--------+-----+ -1 rows diff --git a/examples/topics/data_frame/batch_by/priority.txt b/examples/topics/data_frame/batch_by/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/batch_by/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/batch_size/collect/code.php b/examples/topics/data_frame/batch_size/collect/code.php deleted file mode 100644 index 70baf63a05..0000000000 --- a/examples/topics/data_frame/batch_size/collect/code.php +++ /dev/null @@ -1,19 +0,0 @@ -read(from_array([ - ['id' => 1, 'name' => 'John'], - ['id' => 2, 'name' => 'Doe'], - ['id' => 3, 'name' => 'Jane'], - ['id' => 4, 'name' => 'Smith'], - ['id' => 5, 'name' => 'Alice'], - ])) - ->collect() // alternatively we can also use ->batchSize(-1) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/batch_size/collect/composer.json b/examples/topics/data_frame/batch_size/collect/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/batch_size/collect/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/batch_size/collect/composer.lock b/examples/topics/data_frame/batch_size/collect/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/batch_size/collect/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/batch_size/collect/description.md b/examples/topics/data_frame/batch_size/collect/description.md deleted file mode 100644 index a8a31aeb4a..0000000000 --- a/examples/topics/data_frame/batch_size/collect/description.md +++ /dev/null @@ -1,4 +0,0 @@ -Collect is used to make sure that all rows are processed at once. This means that all rows are loaded into memory and processed at once. -It's useful mostly for debugging and while working with relatively small datasets. -In order to control memory consumption please use [batchSize](/data_frame/batch_size/#example). -```php \ No newline at end of file diff --git a/examples/topics/data_frame/batch_size/collect/flow_php_example.zip b/examples/topics/data_frame/batch_size/collect/flow_php_example.zip deleted file mode 100644 index 7b63f43e3e..0000000000 Binary files a/examples/topics/data_frame/batch_size/collect/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/batch_size/collect/output.txt b/examples/topics/data_frame/batch_size/collect/output.txt deleted file mode 100644 index 8d43cc9337..0000000000 --- a/examples/topics/data_frame/batch_size/collect/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -+----+-------+ -| id | name | -+----+-------+ -| 1 | John | -| 2 | Doe | -| 3 | Jane | -| 4 | Smith | -| 5 | Alice | -+----+-------+ -5 rows diff --git a/examples/topics/data_frame/batch_size/collect/priority.txt b/examples/topics/data_frame/batch_size/collect/priority.txt deleted file mode 100644 index 7813681f5b..0000000000 --- a/examples/topics/data_frame/batch_size/collect/priority.txt +++ /dev/null @@ -1 +0,0 @@ -5 \ No newline at end of file diff --git a/examples/topics/data_frame/batch_size/constant_size/code.php b/examples/topics/data_frame/batch_size/constant_size/code.php deleted file mode 100644 index d89dd2c818..0000000000 --- a/examples/topics/data_frame/batch_size/constant_size/code.php +++ /dev/null @@ -1,19 +0,0 @@ -read(from_array([ - ['id' => 1, 'name' => 'John'], - ['id' => 2, 'name' => 'Doe'], - ['id' => 3, 'name' => 'Jane'], - ['id' => 4, 'name' => 'Smith'], - ['id' => 5, 'name' => 'Alice'], - ])) - ->batchSize(2) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/batch_size/constant_size/composer.json b/examples/topics/data_frame/batch_size/constant_size/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/batch_size/constant_size/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/batch_size/constant_size/composer.lock b/examples/topics/data_frame/batch_size/constant_size/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/batch_size/constant_size/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/batch_size/constant_size/description.md b/examples/topics/data_frame/batch_size/constant_size/description.md deleted file mode 100644 index 1dff88c034..0000000000 --- a/examples/topics/data_frame/batch_size/constant_size/description.md +++ /dev/null @@ -1,8 +0,0 @@ -Batch size defines the size of data frame. In other words, it defines how many rows are processed at once. -This is useful when you have a large dataset, and you want to process it in smaller chunks. -Larger batch size can speed up the processing, but it also requires more memory. -There is no universal rule for the optimal batch size, it depends on the dataset and types of applied transformations. - -The Default batch size is `1` this means that each extractor will yield one row at a time. - -To process all rows at once, you can use [collect](/data_frame/collect/#example) or set batchSize to `-1`. \ No newline at end of file diff --git a/examples/topics/data_frame/batch_size/constant_size/flow_php_example.zip b/examples/topics/data_frame/batch_size/constant_size/flow_php_example.zip deleted file mode 100644 index 0afcc1eff2..0000000000 Binary files a/examples/topics/data_frame/batch_size/constant_size/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/batch_size/constant_size/output.txt b/examples/topics/data_frame/batch_size/constant_size/output.txt deleted file mode 100644 index 259b9326e4..0000000000 --- a/examples/topics/data_frame/batch_size/constant_size/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -+----+------+ -| id | name | -+----+------+ -| 1 | John | -| 2 | Doe | -+----+------+ -2 rows -+----+-------+ -| id | name | -+----+-------+ -| 3 | Jane | -| 4 | Smith | -+----+-------+ -2 rows -+----+-------+ -| id | name | -+----+-------+ -| 5 | Alice | -+----+-------+ -1 rows diff --git a/examples/topics/data_frame/batch_size/constant_size/priority.txt b/examples/topics/data_frame/batch_size/constant_size/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/batch_size/constant_size/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/batch_size/priority.txt b/examples/topics/data_frame/batch_size/priority.txt deleted file mode 100644 index e440e5c842..0000000000 --- a/examples/topics/data_frame/batch_size/priority.txt +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/examples/topics/data_frame/cache/code.php b/examples/topics/data_frame/cache/code.php deleted file mode 100644 index 215d15dadb..0000000000 --- a/examples/topics/data_frame/cache/code.php +++ /dev/null @@ -1,48 +0,0 @@ -createRequest('GET', 'https://api.github.com/orgs/flow-php') - ->withHeader('Accept', 'application/vnd.github.v3+json') - ->withHeader('User-Agent', 'flow-php/etl'); - } - - return null; - } -}); - -data_frame(config_builder()->cache(filesystem_cache(__DIR__ . '/output/cache'))) - ->read( - from_cache( - id: 'github_api', - fallback_extractor: $from_github_api - ) - ) - ->cache('github_api') - ->withEntry('unpacked', ref('response_body')->jsonDecode()) - ->select('unpacked') - ->withEntry('unpacked', ref('unpacked')->unpack()) - ->renameEach(rename_replace('unpacked.', '')) - ->drop('unpacked') - ->select('name', 'html_url', 'blog', 'login', 'public_repos', 'followers', 'created_at') - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/cache/composer.json b/examples/topics/data_frame/cache/composer.json deleted file mode 100644 index 8eb4d45577..0000000000 --- a/examples/topics/data_frame/cache/composer.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-http": "1.x-dev", - "php-http/curl-client": "^2.3", - "nyholm/psr7": "^1.8" - }, - "minimum-stability": "dev", - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/cache/composer.lock b/examples/topics/data_frame/cache/composer.lock deleted file mode 100644 index a689aafc97..0000000000 --- a/examples/topics/data_frame/cache/composer.lock +++ /dev/null @@ -1,1749 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "36feb5973ce5f85623104b89c0db22fe", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "clue/stream-filter", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/clue/stream-filter.git", - "reference": "b2eb64756f9f66292c2043f4021f4205839ad5ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/clue/stream-filter/zipball/b2eb64756f9f66292c2043f4021f4205839ad5ed", - "reference": "b2eb64756f9f66292c2043f4021f4205839ad5ed", - "shasum": "" - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "Clue\\StreamFilter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - } - ], - "description": "A simple and modern approach to stream filtering in PHP", - "homepage": "https://github.com/clue/stream-filter", - "keywords": [ - "bucket brigade", - "callback", - "filter", - "php_user_filter", - "stream", - "stream_filter_append", - "stream_filter_register" - ], - "support": { - "issues": "https://github.com/clue/stream-filter/issues", - "source": "https://github.com/clue/stream-filter/tree/1.x" - }, - "funding": [ - { - "url": "https://clue.engineering/support", - "type": "custom" - }, - { - "url": "https://github.com/clue", - "type": "github" - } - ], - "time": "2025-07-21T18:15:30+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-http", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-http.git", - "reference": "fa67ed417ced95e3d608d0bc2e10c830a1aea7cd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-http/zipball/fa67ed417ced95e3d608d0bc2e10c830a1aea7cd", - "reference": "fa67ed417ced95e3d608d0bc2e10c830a1aea7cd", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/http-client": "^1.0" - }, - "require-dev": { - "nyholm/psr7": "^1.8", - "php-http/curl-client": "^2.2" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Http", - "keywords": [ - "etl", - "extract", - "http", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-http/issues", - "source": "https://github.com/flow-php/etl-adapter-http/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:36+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "nyholm/psr7", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/Nyholm/psr7.git", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "shasum": "" - }, - "require": { - "php": ">=7.2", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0", - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "php-http/message-factory": "^1.0", - "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "symfony/error-handler": "^4.4" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Nyholm\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com" - }, - { - "name": "Martijn van der Ven", - "email": "martijn@vanderven.se" - } - ], - "description": "A fast PHP7 implementation of PSR-7", - "homepage": "https://tnyholm.se", - "keywords": [ - "psr-17", - "psr-7" - ], - "support": { - "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.8.2" - }, - "funding": [ - { - "url": "https://github.com/Zegnat", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2024-09-09T07:06:30+00:00" - }, - { - "name": "php-http/curl-client", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/curl-client.git", - "reference": "f3eb48d266341afec0229a7a37a03521d3646b81" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/curl-client/zipball/f3eb48d266341afec0229a7a37a03521d3646b81", - "reference": "f3eb48d266341afec0229a7a37a03521d3646b81", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.6", - "php-http/httplug": "^2.0", - "php-http/message": "^1.2", - "psr/http-client": "^1.0", - "psr/http-factory-implementation": "^1.0", - "symfony/options-resolver": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "provide": { - "php-http/async-client-implementation": "1.0", - "php-http/client-implementation": "1.0", - "psr/http-client-implementation": "1.0" - }, - "require-dev": { - "guzzlehttp/psr7": "^2.0", - "laminas/laminas-diactoros": "^2.0 || ^3.0", - "php-http/client-integration-tests": "^3.0", - "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^7.5 || ^9.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\Curl\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Михаил Красильников", - "email": "m.krasilnikov@yandex.ru" - } - ], - "description": "PSR-18 and HTTPlug Async client with cURL", - "homepage": "http://php-http.org", - "keywords": [ - "curl", - "http", - "psr-18" - ], - "support": { - "issues": "https://github.com/php-http/curl-client/issues", - "source": "https://github.com/php-http/curl-client/tree/2.3.3" - }, - "time": "2024-10-31T07:36:58+00:00" - }, - { - "name": "php-http/discovery", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "sebastian/comparator": "^3.0.5 || ^4.0.8", - "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1" - }, - "default-branch": true, - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.20.0" - }, - "time": "2024-10-02T11:20:13+00:00" - }, - { - "name": "php-http/httplug", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/httplug.git", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/37819ce3c78ed2e7d001de68b38e697bbd525f89", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "php-http/promise": "^1.1", - "psr/http-client": "^1.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", - "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Eric GELOEN", - "email": "geloen.eric@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "HTTPlug, the HTTP client abstraction for PHP", - "homepage": "http://httplug.io", - "keywords": [ - "client", - "http" - ], - "support": { - "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.x" - }, - "time": "2024-09-23T13:25:15+00:00" - }, - { - "name": "php-http/message", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/message.git", - "reference": "a1c3b1e24d07f986c6867bf632ffa168e4eeaaef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/message/zipball/a1c3b1e24d07f986c6867bf632ffa168e4eeaaef", - "reference": "a1c3b1e24d07f986c6867bf632ffa168e4eeaaef", - "shasum": "" - }, - "require": { - "clue/stream-filter": "^1.5", - "php": "^7.2 || ^8.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.6", - "ext-zlib": "*", - "guzzlehttp/psr7": "^1.0 || ^2.0", - "laminas/laminas-diactoros": "^2.0 || ^3.0", - "php-http/message-factory": "^1.0.2", - "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", - "slim/slim": "^3.0" - }, - "suggest": { - "ext-zlib": "Used with compressor/decompressor streams", - "guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories", - "laminas/laminas-diactoros": "Used with Diactoros Factories", - "slim/slim": "Used with Slim Framework PSR-7 implementation" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/filters.php" - ], - "psr-4": { - "Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "HTTP Message related tools", - "homepage": "http://php-http.org", - "keywords": [ - "http", - "message", - "psr-7" - ], - "support": { - "issues": "https://github.com/php-http/message/issues", - "source": "https://github.com/php-http/message/tree/1.x" - }, - "time": "2025-02-16T16:17:27+00:00" - }, - { - "name": "php-http/promise", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/promise.git", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/12e12043e9ed9ddc6ea8481593fb230150227416", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", - "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Joel Wurtz", - "email": "joel.wurtz@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Promise used for asynchronous HTTP requests", - "homepage": "http://httplug.io", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.x" - }, - "time": "2024-10-02T11:48:29+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/http-client", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory" - }, - "time": "2024-04-15T12:06:14+00:00" - }, - { - "name": "psr/http-message", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" - }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/options-resolver", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/options-resolver.git", - "reference": "3324bca1ff334c8807a3968882edb76ea708b955" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/3324bca1ff334c8807a3968882edb76ea708b955", - "reference": "3324bca1ff334c8807a3968882edb76ea708b955", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\OptionsResolver\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an improved replacement for the array_replace PHP function", - "homepage": "https://symfony.com", - "keywords": [ - "config", - "configuration", - "options" - ], - "support": { - "source": "https://github.com/symfony/options-resolver/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-08-13T16:46:49+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-http": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/cache/flow_php_example.zip b/examples/topics/data_frame/cache/flow_php_example.zip deleted file mode 100644 index 0839f46865..0000000000 Binary files a/examples/topics/data_frame/cache/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/cache/output.txt b/examples/topics/data_frame/cache/output.txt deleted file mode 100644 index b900f9e378..0000000000 --- a/examples/topics/data_frame/cache/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+ -| name | html_url | blog | login | public_repos | followers | created_at | -+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+ -| Flow PHP | https://github.com/flow-php | http://flow-php.com | flow-php | 41 | 137 | 2020-10-26T18:40:27Z | -+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+ -1 rows diff --git a/examples/topics/data_frame/cache/output/.gitignore b/examples/topics/data_frame/cache/output/.gitignore deleted file mode 100644 index f59ec20aab..0000000000 --- a/examples/topics/data_frame/cache/output/.gitignore +++ /dev/null @@ -1 +0,0 @@ -* \ No newline at end of file diff --git a/examples/topics/data_frame/columns/create/code.php b/examples/topics/data_frame/columns/create/code.php deleted file mode 100644 index e8062ba01e..0000000000 --- a/examples/topics/data_frame/columns/create/code.php +++ /dev/null @@ -1,19 +0,0 @@ -read(from_array([ - ['id' => 1, 'name' => 'Norbert'], - ['id' => 2, 'name' => 'John'], - ['id' => 3, 'name' => 'Jane'], - ])) - ->withEntry('active', ref('id')->isOdd()) - ->withEntry('number', lit(5)) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/columns/create/composer.json b/examples/topics/data_frame/columns/create/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/columns/create/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/columns/create/composer.lock b/examples/topics/data_frame/columns/create/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/columns/create/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/columns/create/description.md b/examples/topics/data_frame/columns/create/description.md deleted file mode 100644 index 55abc609bd..0000000000 --- a/examples/topics/data_frame/columns/create/description.md +++ /dev/null @@ -1,7 +0,0 @@ -To create new columns (row entries) we always use `DataFrame::withEntry(string $entryName, ScalarFunction|WindowFunction $ref)` method. -We can create new entry by providing a unique `$entryName`, if the entry already exists it will be replaced. - -As a second argument we can provide a static value or a function that will be evaluated for each row. - -* `DataFrame::withEntry('number', lit(5))` - creates a new column with a constant value of 5 -* `DataFrame::withEntry('is_odd', ref('another_column')->isOdd())` - creates a new column that checks if the value of `another_column` in is odd diff --git a/examples/topics/data_frame/columns/create/flow_php_example.zip b/examples/topics/data_frame/columns/create/flow_php_example.zip deleted file mode 100644 index a87a983a14..0000000000 Binary files a/examples/topics/data_frame/columns/create/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/columns/create/output.txt b/examples/topics/data_frame/columns/create/output.txt deleted file mode 100644 index bf63eed534..0000000000 --- a/examples/topics/data_frame/columns/create/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -+----+---------+--------+--------+ -| id | name | active | number | -+----+---------+--------+--------+ -| 1 | Norbert | true | 5 | -| 2 | John | false | 5 | -| 3 | Jane | true | 5 | -+----+---------+--------+--------+ -3 rows diff --git a/examples/topics/data_frame/columns/create/priority.txt b/examples/topics/data_frame/columns/create/priority.txt deleted file mode 100644 index d8263ee986..0000000000 --- a/examples/topics/data_frame/columns/create/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/examples/topics/data_frame/columns/rename/code.php b/examples/topics/data_frame/columns/rename/code.php deleted file mode 100644 index d00c3b36d3..0000000000 --- a/examples/topics/data_frame/columns/rename/code.php +++ /dev/null @@ -1,19 +0,0 @@ -read(from_array([ - ['id' => 1, 'name' => 'Norbert', 'joined_id' => 1, 'joined_status' => 'active'], - ['id' => 2, 'name' => 'John', 'joined_id' => 2, 'joined_status' => 'inactive'], - ['id' => 3, 'name' => 'Jane', 'joined_id' => 3, 'joined_status' => 'active'], - ])) - ->rename('id', 'user_id') - ->renameEach(rename_replace('joined_', '')) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/columns/rename/composer.json b/examples/topics/data_frame/columns/rename/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/columns/rename/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/columns/rename/composer.lock b/examples/topics/data_frame/columns/rename/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/columns/rename/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/columns/rename/description.md b/examples/topics/data_frame/columns/rename/description.md deleted file mode 100644 index a560e2f17e..0000000000 --- a/examples/topics/data_frame/columns/rename/description.md +++ /dev/null @@ -1,6 +0,0 @@ -There are multiple ways to rename entries in a DataFrame: - -- `rename(string $from, string $to)` - renames a single entry -- `renameAll(string $search, string $replace)` - renames all entries that contain a given substring and replaces it with another substring -- `renameAllToLowercase()` - renames all entries to lowercase -- `renameAllStyle(StringStyles|string $style)` - renames all entries to a given style (e.g. camel, snakem, kebab, etc.) diff --git a/examples/topics/data_frame/columns/rename/flow_php_example.zip b/examples/topics/data_frame/columns/rename/flow_php_example.zip deleted file mode 100644 index c534a9458f..0000000000 Binary files a/examples/topics/data_frame/columns/rename/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/columns/rename/output.txt b/examples/topics/data_frame/columns/rename/output.txt deleted file mode 100644 index 6a4a76363b..0000000000 --- a/examples/topics/data_frame/columns/rename/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -+---------+----+----------+---------+ -| name | id | status | user_id | -+---------+----+----------+---------+ -| Norbert | 1 | active | 1 | -| John | 2 | inactive | 2 | -| Jane | 3 | active | 3 | -+---------+----+----------+---------+ -3 rows diff --git a/examples/topics/data_frame/columns/rename/priority.txt b/examples/topics/data_frame/columns/rename/priority.txt deleted file mode 100644 index e440e5c842..0000000000 --- a/examples/topics/data_frame/columns/rename/priority.txt +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/examples/topics/data_frame/columns/reorder/code.php b/examples/topics/data_frame/columns/reorder/code.php deleted file mode 100644 index 7e92e34ed4..0000000000 --- a/examples/topics/data_frame/columns/reorder/code.php +++ /dev/null @@ -1,72 +0,0 @@ -read(from_rows(rows( - row( - int_entry('int_a', 1), - int_entry('int_b', 1), - float_entry('float_a', 57291 / 100), - float_entry('float_b', 21021 / 100), - bool_entry('bool', false), - bool_entry('bool_a', false), - bool_entry('bool_c', false), - datetime_entry('datetime_d', new DateTimeImmutable('2024-04-01 00:00:00')), - datetime_entry('datetime_z', new DateTimeImmutable('2024-04-01 00:00:00')), - str_entry('string_a', 'string'), - str_entry('string_b', 'string'), - uuid_entry('uuid', '06143adb-3009-45c8-a4f0-c7016f97cab7'), - json_entry('json', ['id' => 1, 'status' => 'NEW']), - list_entry('list', [1, 2, 3], type_list(type_int())), - map_entry('map', [0 => 'zero', 1 => 'one', 2 => 'two'], type_map(type_int(), type_string())), - struct_entry( - 'struct', - [ - 'street' => 'street', - 'city' => 'city', - 'zip' => 'zip', - 'country' => 'country', - 'location' => ['lat' => 1.5, 'lon' => 1.5], - ], - type_structure([ - 'street' => type_string(), - 'city' => type_string(), - 'zip' => type_string(), - 'country' => type_string(), - 'location' => type_structure([ - 'lat' => type_float(), - 'lon' => type_float(), - ]), - ]), - ), - ) - ))) - ->reorderEntries(compare_entries_by_type_and_name()) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/columns/reorder/composer.json b/examples/topics/data_frame/columns/reorder/composer.json deleted file mode 100644 index 32b332bc26..0000000000 --- a/examples/topics/data_frame/columns/reorder/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "symfony/uid": "^7.2" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/columns/reorder/composer.lock b/examples/topics/data_frame/columns/reorder/composer.lock deleted file mode 100644 index 9aaeee7736..0000000000 --- a/examples/topics/data_frame/columns/reorder/composer.lock +++ /dev/null @@ -1,1143 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "a4036a3c6d346efbc774a0046cd393df", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-uuid", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-uuid": "*" - }, - "suggest": { - "ext-uuid": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Uuid\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for uuid functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "symfony/uid", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/uid.git", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2498e9f81b7baa206f44de583f2f48350b90142c", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-uuid": "^1.15" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Uid\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to generate and represent UIDs", - "homepage": "https://symfony.com", - "keywords": [ - "UID", - "ulid", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/uid/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-25T11:02:55+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/columns/reorder/flow_php_example.zip b/examples/topics/data_frame/columns/reorder/flow_php_example.zip deleted file mode 100644 index bdd0c15703..0000000000 Binary files a/examples/topics/data_frame/columns/reorder/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/columns/reorder/output.txt b/examples/topics/data_frame/columns/reorder/output.txt deleted file mode 100644 index fed75b9dbe..0000000000 --- a/examples/topics/data_frame/columns/reorder/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+--------------------------------------+-------+-------+-------+--------+--------+------------+------------+---------------------------+---------------------------+----------+----------+---------+-------------------------+----------------------+----------------------------------------------------------------------------------------------------+ -| uuid | int_a | int_b | bool | bool_a | bool_c | float_a | float_b | datetime_d | datetime_z | string_a | string_b | list | json | map | struct | -+--------------------------------------+-------+-------+-------+--------+--------+------------+------------+---------------------------+---------------------------+----------+----------+---------+-------------------------+----------------------+----------------------------------------------------------------------------------------------------+ -| 06143adb-3009-45c8-a4f0-c7016f97cab7 | 1 | 1 | false | false | false | 572.910000 | 210.210000 | 2024-04-01T00:00:00+00:00 | 2024-04-01T00:00:00+00:00 | string | string | [1,2,3] | {"id":1,"status":"NEW"} | ["zero","one","two"] | {"street":"street","city":"city","zip":"zip","country":"country","location":{"lat":1.5,"lon":1.5}} | -+--------------------------------------+-------+-------+-------+--------+--------+------------+------------+---------------------------+---------------------------+----------+----------+---------+-------------------------+----------------------+----------------------------------------------------------------------------------------------------+ -1 rows diff --git a/examples/topics/data_frame/data_reading/array/code.php b/examples/topics/data_frame/data_reading/array/code.php deleted file mode 100644 index 2e062aa40a..0000000000 --- a/examples/topics/data_frame/data_reading/array/code.php +++ /dev/null @@ -1,19 +0,0 @@ -read(from_array([ - ['id' => 1], - ['id' => 2], - ['id' => 3], - ['id' => 4], - ['id' => 5], - ])) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/array/composer.json b/examples/topics/data_frame/data_reading/array/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/data_reading/array/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/array/composer.lock b/examples/topics/data_frame/data_reading/array/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/data_reading/array/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/array/description.md b/examples/topics/data_frame/data_reading/array/description.md deleted file mode 100644 index 04b28a0207..0000000000 --- a/examples/topics/data_frame/data_reading/array/description.md +++ /dev/null @@ -1,9 +0,0 @@ -Read data directly from a php associative array. Relays on `array_to_rows` DSL function. - -```php -function from_array(array $data); -``` - -Additional options: - -* `withSchema(Schema $schema)` - the schema of the dataset, when not set, it will be auto-detected \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/array/flow_php_example.zip b/examples/topics/data_frame/data_reading/array/flow_php_example.zip deleted file mode 100644 index 7266d43e39..0000000000 Binary files a/examples/topics/data_frame/data_reading/array/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/array/output.txt b/examples/topics/data_frame/data_reading/array/output.txt deleted file mode 100644 index 49329e9645..0000000000 --- a/examples/topics/data_frame/data_reading/array/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -+----+ -| id | -+----+ -| 1 | -| 2 | -| 3 | -| 4 | -| 5 | -+----+ -5 rows diff --git a/examples/topics/data_frame/data_reading/array/priority.txt b/examples/topics/data_frame/data_reading/array/priority.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/data_frame/data_reading/array/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/csv/code.php b/examples/topics/data_frame/data_reading/csv/code.php deleted file mode 100644 index 3ee648c25b..0000000000 --- a/examples/topics/data_frame/data_reading/csv/code.php +++ /dev/null @@ -1,22 +0,0 @@ -read(from_csv( - __DIR__ . '/input/dataset.csv', - with_header: true, - empty_to_null: true, - separator: ',', - enclosure: '"', - escape: '\\', - characters_read_in_line: 1000 - )) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/csv/composer.json b/examples/topics/data_frame/data_reading/csv/composer.json deleted file mode 100644 index f78c03ec13..0000000000 --- a/examples/topics/data_frame/data_reading/csv/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/csv/composer.lock b/examples/topics/data_frame/data_reading/csv/composer.lock deleted file mode 100644 index f3d3b7a7aa..0000000000 --- a/examples/topics/data_frame/data_reading/csv/composer.lock +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b28c956d6d21e80a17ea68f1d51a3834", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/083c3c5d490bd0ad33ffbe5b90165a0161190451", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/csv/description.md b/examples/topics/data_frame/data_reading/csv/description.md deleted file mode 100644 index 24f20d3bca..0000000000 --- a/examples/topics/data_frame/data_reading/csv/description.md +++ /dev/null @@ -1,22 +0,0 @@ -Read data from a csv file. - -```php -function from_csv( - string|Path $path, - bool $with_header = true, - bool $empty_to_null = true, - ?string $delimiter = null, - ?string $enclosure = null, - ?string $escape = null, - int $characters_read_in_line = 1000, - ?Schema $schema = null -): -``` - -* `with_header` - default true, if false, the first row will be treated as data -* `empty_to_null` - default false, if true, empty string will be treated as null -* `delimiter` - the delimiter of the csv file, when not set, it will be auto detected -* `enclosure` - the enclosure of the csv file, when not set, it will be auto detected -* `escape` - default `\`, the escape character of the csv file -* `characters_in_line` - default `1000`, size of chunk used to read lines from the file -* `schema` - the schema of the csv file, when not set, it will be auto detected \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/csv/flow_php_example.zip b/examples/topics/data_frame/data_reading/csv/flow_php_example.zip deleted file mode 100644 index 2fcdfde7d6..0000000000 Binary files a/examples/topics/data_frame/data_reading/csv/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/csv/input/dataset.csv b/examples/topics/data_frame/data_reading/csv/input/dataset.csv deleted file mode 100644 index d53f3b22ca..0000000000 --- a/examples/topics/data_frame/data_reading/csv/input/dataset.csv +++ /dev/null @@ -1,5 +0,0 @@ -id,name,email,active -1,John,john@email.com,true -2,Paul,paul@email.com,true -3,George,george@email.com,false -4,Ringo,rino@email.com,true diff --git a/examples/topics/data_frame/data_reading/csv/output.txt b/examples/topics/data_frame/data_reading/csv/output.txt deleted file mode 100644 index 8a40f4aaf9..0000000000 --- a/examples/topics/data_frame/data_reading/csv/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+--------+------------------+--------+ -| id | name | email | active | -+----+--------+------------------+--------+ -| 1 | John | john@email.com | true | -| 2 | Paul | paul@email.com | true | -| 3 | George | george@email.com | false | -| 4 | Ringo | rino@email.com | true | -+----+--------+------------------+--------+ -4 rows diff --git a/examples/topics/data_frame/data_reading/csv/priority.txt b/examples/topics/data_frame/data_reading/csv/priority.txt deleted file mode 100644 index e440e5c842..0000000000 --- a/examples/topics/data_frame/data_reading/csv/priority.txt +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/data_frame/code.php b/examples/topics/data_frame/data_reading/data_frame/code.php deleted file mode 100644 index 486ebb0f39..0000000000 --- a/examples/topics/data_frame/data_reading/data_frame/code.php +++ /dev/null @@ -1,27 +0,0 @@ -read( - from_data_frame( - data_frame() - ->read(from_array( - [ - ['id' => 1], - ['id' => 2], - ['id' => 3], - ['id' => 4], - ['id' => 5], - ] - )) - ->withEntry('timestamp', ref('id')->multiply(lit(10000))) - ) - ) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/data_frame/composer.json b/examples/topics/data_frame/data_reading/data_frame/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/data_reading/data_frame/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/data_frame/composer.lock b/examples/topics/data_frame/data_reading/data_frame/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/data_reading/data_frame/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/data_frame/flow_php_example.zip b/examples/topics/data_frame/data_reading/data_frame/flow_php_example.zip deleted file mode 100644 index 2f4beae5ee..0000000000 Binary files a/examples/topics/data_frame/data_reading/data_frame/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/data_frame/output.txt b/examples/topics/data_frame/data_reading/data_frame/output.txt deleted file mode 100644 index ceb7d43e75..0000000000 --- a/examples/topics/data_frame/data_reading/data_frame/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -+----+-----------+ -| id | timestamp | -+----+-----------+ -| 1 | 10000 | -| 2 | 20000 | -| 3 | 30000 | -| 4 | 40000 | -| 5 | 50000 | -+----+-----------+ -5 rows diff --git a/examples/topics/data_frame/data_reading/database/code.php b/examples/topics/data_frame/data_reading/database/code.php deleted file mode 100644 index 14c92d7f04..0000000000 --- a/examples/topics/data_frame/data_reading/database/code.php +++ /dev/null @@ -1,27 +0,0 @@ - __DIR__ . '/input/orders.db', - 'driver' => 'pdo_sqlite', -]); - -data_frame() - ->read( - from_dbal_limit_offset( - $connection, - 'orders', - new OrderBy('created_at', Order::DESC), - ) - ) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/database/composer.json b/examples/topics/data_frame/data_reading/database/composer.json deleted file mode 100644 index 69ee181e14..0000000000 --- a/examples/topics/data_frame/data_reading/database/composer.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/types": "1.x-dev", - "flow-php/filesystem": "1.x-dev", - "flow-php/etl-adapter-doctrine": "1.x-dev", - "symfony/uid": "^7.2" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/database/composer.lock b/examples/topics/data_frame/data_reading/database/composer.lock deleted file mode 100644 index e1e3647b87..0000000000 --- a/examples/topics/data_frame/data_reading/database/composer.lock +++ /dev/null @@ -1,1522 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "4b1c9ab6473377bfd6ffc2a6b36bbf6a", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "doctrine/dbal", - "version": "4.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/dbal.git", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/5e7a0c402ab84b6da62ace07487689d94c57d394", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394", - "shasum": "" - }, - "require": { - "doctrine/deprecations": "^1.1.5", - "php": "^8.2", - "psr/cache": "^1|^2|^3", - "psr/log": "^1|^2|^3" - }, - "require-dev": { - "doctrine/coding-standard": "13.0.1", - "fig/log-test": "^1", - "jetbrains/phpstorm-stubs": "2023.2", - "phpstan/phpstan": "2.1.22", - "phpstan/phpstan-phpunit": "2.0.6", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "11.5.23", - "slevomat/coding-standard": "8.16.2", - "squizlabs/php_codesniffer": "3.13.1", - "symfony/cache": "^6.3.8|^7.0", - "symfony/console": "^5.4|^6.3|^7.0" - }, - "suggest": { - "symfony/console": "For helpful console commands such as SQL execution and import of files." - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\DBAL\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", - "homepage": "https://www.doctrine-project.org/projects/dbal.html", - "keywords": [ - "abstraction", - "database", - "db2", - "dbal", - "mariadb", - "mssql", - "mysql", - "oci8", - "oracle", - "pdo", - "pgsql", - "postgresql", - "queryobject", - "sasql", - "sql", - "sqlite", - "sqlserver", - "sqlsrv" - ], - "support": { - "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/4.4.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", - "type": "tidelift" - } - ], - "time": "2025-10-13T12:04:29+00:00" - }, - { - "name": "doctrine/deprecations", - "version": "1.1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<=7.5 || >=13" - }, - "require-dev": { - "doctrine/coding-standard": "^9 || ^12 || ^14", - "phpstan/phpstan": "1.4.10 || 2.1.30", - "phpstan/phpstan-phpunit": "^1.0 || ^2", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12.4", - "psr/log": "^1 || ^2 || ^3" - }, - "suggest": { - "psr/log": "Allows logging deprecations via PSR-3 logger implementation" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Deprecations\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", - "homepage": "https://www.doctrine-project.org/", - "support": { - "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.x" - }, - "time": "2025-10-20T16:03:06+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/doctrine-dbal-bulk", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/doctrine-dbal-bulk.git", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/doctrine-dbal-bulk/zipball/54c31aceed84591b55cdc29b97d9ac2a1b813181", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Flow\\Doctrine\\Bulk\\": [ - "src/Flow/Doctrine/Bulk" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Bulk inserts and updates for Doctrine DBAL", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "insert", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/doctrine-dbal-bulk/issues", - "source": "https://github.com/flow-php/doctrine-dbal-bulk/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:57+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-doctrine", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-doctrine.git", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-doctrine/zipball/8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "flow-php/doctrine-dbal-bulk": "self.version", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Doctrine/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Doctrine Dbal", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "etl", - "insert", - "loader", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-doctrine/issues", - "source": "https://github.com/flow-php/etl-adapter-doctrine/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:45+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/588d5ff7035e78cd4f69eb798890749ac4641b30", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "suggest": { - "fig/cache-util": "Provides some useful PSR-6 utilities" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "support": { - "source": "https://github.com/php-fig/cache" - }, - "time": "2025-04-11T19:21:12+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-uuid", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-uuid": "*" - }, - "suggest": { - "ext-uuid": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Uuid\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for uuid functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "symfony/uid", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/uid.git", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2498e9f81b7baa206f44de583f2f48350b90142c", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-uuid": "^1.15" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Uid\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to generate and represent UIDs", - "homepage": "https://symfony.com", - "keywords": [ - "UID", - "ulid", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/uid/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-25T11:02:55+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-doctrine": 20, - "flow-php/filesystem": 20, - "flow-php/types": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/database/description.md b/examples/topics/data_frame/data_reading/database/description.md deleted file mode 100644 index e4a6984032..0000000000 --- a/examples/topics/data_frame/data_reading/database/description.md +++ /dev/null @@ -1,34 +0,0 @@ -Read data from Database through Doctrine DBAL - -The example below shows how to read from a single table using limit/offset extractor. -To read data from more advanced queries, you can use one of the following extractors: - -```php -// read from a single table using limit/offset pagination -from_dbal_limit_offset( - $connection, - 'orders', - new OrderBy('created_at', Order::DESC), -); -// read from a query using limit/offset pagination -from_dbal_limit_offset_qb( - $connection, - $connection->createQueryBuilder()->select('*')->from('orders') -); -// read from a single query -from_dbal_query( - $connection, - 'SELECT * FROM orders', -); -// read from multiple queries each time using next parameters from the provided set -from_dbal_queries( - $connection, - 'SELECT * FROM orders LIMIT :limit OFFSET :offset', - new \Flow\ETL\Adapter\Doctrine\ParametersSet( - ['limit' => 2, 'offset' => 0], - ['limit' => 2, 'offset' => 2], - ) -); -``` - -Additionally, each of them allows setting a dataset schema through `$extractor->withSchema(Schema $schema)` method. diff --git a/examples/topics/data_frame/data_reading/database/flow_php_example.zip b/examples/topics/data_frame/data_reading/database/flow_php_example.zip deleted file mode 100644 index e439dd77f3..0000000000 Binary files a/examples/topics/data_frame/data_reading/database/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/database/input/orders.db b/examples/topics/data_frame/data_reading/database/input/orders.db deleted file mode 100644 index cb2e96a49a..0000000000 Binary files a/examples/topics/data_frame/data_reading/database/input/orders.db and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/database/output.txt b/examples/topics/data_frame/data_reading/database/output.txt deleted file mode 100644 index 654b25c2ca..0000000000 --- a/examples/topics/data_frame/data_reading/database/output.txt +++ /dev/null @@ -1,25 +0,0 @@ -+--------------------------------------+---------------------+---------------------+-----------+-----------------------------+--------------------+--------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| order_id | created_at | updated_at | discount | email | customer | address | notes | items | -+--------------------------------------+---------------------+---------------------+-----------+-----------------------------+--------------------+--------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| aae4af19-4da1-3d9c-a11d-fed828cedb55 | 2024-12-10 17:59:37 | | | alyce15@gmail.com | Dock Windler | {"street":"62355 Turcotte Springs Apt. 711","city":"Kiehnchester","zip":"90369-9957","country":"Cyprus"} | ["Molestias repellendus porro suscipit autem reiciendis itaque.","Aut laudantium quia temporibus fuga mollitia consectetur.","Consequatur ab aliquid perspiciatis labore animi ullam odit."] | [{"sku":"SKU_0004","quantity":2,"price":452.34},{"sku":"SKU_0002","quantity":9,"price":1.92},{"sku":"SKU_0005","quantity":1,"price":428.34},{"sku":"SKU_0005","quantity":5,"price":428.34}] | -| 69ec30d4-30e6-34d8-82cb-1fdffdba5a6a | 2024-12-05 23:07:01 | 2024-12-11 19:12:01 | 9.050000 | johns.bertram@beatty.net | Marge Tillman | {"street":"499 Lucio Island","city":"Lake Adeliaview","zip":"35362","country":"New Zealand"} | ["Esse voluptas et architecto."] | [{"sku":"SKU_0003","quantity":10,"price":274.84},{"sku":"SKU_0004","quantity":7,"price":193.93},{"sku":"SKU_0005","quantity":4,"price":420.3},{"sku":"SKU_0005","quantity":8,"price":420.3}] | -| 8c1636fa-10ae-3d45-944c-5733c4705d43 | 2024-12-04 14:32:04 | | | malika.russel@yahoo.com | Johnpaul Kemmer | {"street":"14702 Denesik Springs Suite 186","city":"Terryfort","zip":"55100-1066","country":"United States Virgin Islands"} | ["Consectetur eum nulla asperiores et sapiente aut.","Nisi quaerat voluptatem itaque vero.","Qui quia facere sint ab minus inventore voluptatem ut.","Eveniet possimus quis omnis quisquam officia.","Et neque quia nostrum et et commodi placeat."] | [{"sku":"SKU_0005","quantity":3,"price":428.34},{"sku":"SKU_0004","quantity":7,"price":452.34},{"sku":"SKU_0005","quantity":5,"price":428.34}] | -| 8fb8430b-2890-3143-ad35-2a4ed8e3abcc | 2024-11-14 02:09:43 | 2024-12-04 17:24:55 | 42.590000 | bogan.alda@gaylord.net | Burnice Williamson | {"street":"79717 Araceli Parks Suite 569","city":"East Abbyland","zip":"59282-3483","country":"Egypt"} | ["Ea ab et est tempore."] | [{"sku":"SKU_0003","quantity":9,"price":274.84}] | -| 8fd5a178-259d-3e7a-9267-a33d20e11fc6 | 2024-10-30 19:21:54 | 2024-11-22 01:55:37 | 37.070000 | qkunde@watsica.net | Raymond Schoen | {"street":"6166 Nolan Place","city":"East Boydview","zip":"96752-4891","country":"San Marino"} | ["Aut minima voluptas est eius maxime eveniet saepe.","Soluta accusantium eius placeat corporis quam illo.","Voluptas impedit ratione alias quis."] | [{"sku":"SKU_0003","quantity":6,"price":384.95},{"sku":"SKU_0003","quantity":2,"price":384.95},{"sku":"SKU_0005","quantity":8,"price":428.34},{"sku":"SKU_0002","quantity":1,"price":1.92}] | -| 91aaa649-1c94-31ec-814e-f9e4b1aa4259 | 2024-10-25 07:36:25 | | 13.300000 | dusty57@yahoo.com | Favian Keebler | {"street":"3633 Nader Prairie Apt. 816","city":"Venamouth","zip":"78044-4385","country":"Greece"} | ["Delectus non eveniet commodi esse deleniti sit pariatur.","Fugit sit aut qui doloremque.","Dicta consequatur minima exercitationem qui.","Consequatur qui qui aliquid."] | [{"sku":"SKU_0002","quantity":8,"price":254.44},{"sku":"SKU_0002","quantity":4,"price":254.44},{"sku":"SKU_0003","quantity":4,"price":274.84}] | -| 8c09ba7d-94a8-37c5-b6ca-875ef71437dd | 2024-09-30 10:35:50 | | 20.450000 | raheem.yundt@runolfsson.com | Jeremie Collier | {"street":"591 Evalyn Plains","city":"Deckowchester","zip":"30374","country":"Cyprus"} | ["Consequatur possimus provident quasi ad enim fugit repellendus."] | [{"sku":"SKU_0004","quantity":2,"price":452.34},{"sku":"SKU_0004","quantity":10,"price":452.34},{"sku":"SKU_0003","quantity":7,"price":384.95},{"sku":"SKU_0003","quantity":9,"price":384.95}] | -| 6f8579ae-b18a-35e3-800a-bc9157dbe4e8 | 2024-07-03 10:10:18 | | 42.200000 | dino.corkery@johnson.com | Cyrus Zulauf | {"street":"1566 Bergstrom Mountains","city":"Cassinshire","zip":"36420","country":"Kyrgyz Republic"} | ["Ea perferendis blanditiis ut quas veniam fugiat architecto laboriosam.","Consequuntur optio rerum reprehenderit praesentium cupiditate accusamus dolorem iusto.","Excepturi optio fugiat nobis officiis molestias nulla."] | [{"sku":"SKU_0002","quantity":1,"price":1.92},{"sku":"SKU_0002","quantity":7,"price":1.92}] | -| 48ec80e8-51c9-39ae-a5b6-d76cc1ad2ef8 | 2024-05-12 12:26:01 | | | lwaelchi@watsica.biz | Cayla Jaskolski | {"street":"58196 Crist Coves Apt. 123","city":"North Rigobertoburgh","zip":"61950","country":"United States Minor Outlying Islands"} | ["Reiciendis corporis magnam sint occaecati quia quibusdam."] | [{"sku":"SKU_0005","quantity":9,"price":420.3},{"sku":"SKU_0002","quantity":9,"price":254.44},{"sku":"SKU_0004","quantity":6,"price":193.93},{"sku":"SKU_0005","quantity":8,"price":420.3}] | -| a1d7f86a-d5ef-31cd-b90e-373375fda2b1 | 2024-05-02 12:51:29 | | 4.370000 | vernie.schumm@marks.org | Moshe Sipes | {"street":"15319 Barry Shoal","city":"West Rosalynstad","zip":"17648","country":"Jersey"} | ["Dignissimos maxime saepe inventore magni reiciendis.","Accusantium ut reiciendis incidunt."] | [{"sku":"SKU_0002","quantity":3,"price":1.92},{"sku":"SKU_0004","quantity":7,"price":452.34},{"sku":"SKU_0002","quantity":7,"price":1.92},{"sku":"SKU_0004","quantity":6,"price":452.34}] | -| 6bcdba7e-644b-3ee2-b186-e240280db85e | 2024-04-28 04:40:18 | | 40.890000 | fvon@ziemann.com | Amy Spinka | {"street":"3173 Callie Mount Suite 224","city":"West Winston","zip":"22316-8822","country":"Panama"} | ["Consectetur ab quod dolores commodi quam et qui.","Distinctio at qui sunt voluptas.","Perferendis vitae molestiae exercitationem odit necessitatibus quis sunt."] | [{"sku":"SKU_0002","quantity":3,"price":254.44},{"sku":"SKU_0003","quantity":3,"price":274.84}] | -| 47fd42e2-01f3-3cc1-95a4-cf3bbbfcb681 | 2024-04-14 06:34:39 | 2024-11-26 11:45:11 | 1.410000 | lbraun@gmail.com | Damion Schneider | {"street":"7867 Mitchell Lodge Suite 623","city":"Lake Candaceshire","zip":"84359-3572","country":"Mexico"} | ["Qui ea dignissimos qui dolor velit possimus.","Error voluptates sequi velit id ut delectus beatae."] | [{"sku":"SKU_0005","quantity":9,"price":428.34}] | -| 1f3dbdb8-9abb-3636-8009-e8554c7259f9 | 2024-03-01 05:58:59 | 2024-11-20 05:38:10 | 7.530000 | joy06@yahoo.com | Vinnie Stoltenberg | {"street":"5314 Renner Fort","city":"Melyssafort","zip":"26563-5133","country":"Gabon"} | ["Excepturi necessitatibus voluptatibus sint eligendi qui fugit.","Eveniet quia aut dolores.","Eos mollitia quia consectetur eius quibusdam dicta.","Eius ea corrupti quia dolore."] | [{"sku":"SKU_0005","quantity":10,"price":428.34}] | -| 4bc773e2-7177-319b-bc1d-f153d6d252d7 | 2024-03-01 02:24:09 | 2024-11-22 13:30:21 | 0.740000 | tyra51@yahoo.com | Penelope Hyatt | {"street":"62745 Stracke View Apt. 564","city":"Ethylport","zip":"62968","country":"Martinique"} | ["Deleniti officia perspiciatis aut.","Qui fugiat sed sunt.","Officiis est officiis blanditiis et doloribus aut sed vel.","Et possimus ea deleniti.","Aspernatur provident deleniti excepturi accusantium ut est aut."] | [{"sku":"SKU_0005","quantity":5,"price":428.34},{"sku":"SKU_0005","quantity":7,"price":428.34},{"sku":"SKU_0003","quantity":8,"price":384.95}] | -| b9ce9552-0700-311b-bf84-fbdb6c908705 | 2024-02-24 20:53:52 | 2024-11-23 14:25:06 | 41.050000 | griffin40@pacocha.org | Alfreda Lebsack | {"street":"632 Simonis Corner","city":"Aldaville","zip":"56238","country":"Tonga"} | ["Quisquam id eum est quos fugiat ut repellendus."] | [{"sku":"SKU_0005","quantity":9,"price":420.3},{"sku":"SKU_0005","quantity":5,"price":420.3}] | -| 1c8fed59-abf4-3940-bd9a-8ceaf4f2c086 | 2024-01-26 08:59:04 | | | jewell46@gibson.com | April Bayer | {"street":"5324 Lesch Locks","city":"Martinaburgh","zip":"33762-4863","country":"Somalia"} | ["Assumenda aut sint sint aspernatur.","Similique exercitationem ea ipsam porro aut ea culpa.","Voluptatem cupiditate tempore ea explicabo minus fuga voluptatem.","Ea distinctio libero qui qui ut enim placeat quod.","Iusto blanditiis ab molestiae."] | [{"sku":"SKU_0005","quantity":1,"price":420.3},{"sku":"SKU_0004","quantity":7,"price":193.93},{"sku":"SKU_0002","quantity":5,"price":254.44}] | -| d9bf75fa-de71-3f7e-8719-e09b2c83c090 | 2024-01-20 17:07:56 | | 27.730000 | eugenia88@zulauf.com | Ethelyn Jakubowski | {"street":"9611 Aufderhar Summit","city":"West Cristopherville","zip":"45440","country":"Saint Lucia"} | ["Quo suscipit pariatur quod dolore vel ratione consequatur quibusdam.","Dolorem at sequi ut hic."] | [{"sku":"SKU_0005","quantity":10,"price":420.3},{"sku":"SKU_0002","quantity":5,"price":254.44}] | -| 81534cff-ce51-3e6c-a1e0-95c7f19a372b | 2024-01-20 11:57:25 | 2024-11-25 17:16:17 | | clay47@jacobson.com | Samara Mitchell | {"street":"60403 Johnson Drive","city":"North Leannemouth","zip":"95357","country":"Uruguay"} | ["Omnis omnis voluptatem id asperiores beatae voluptatum nesciunt aut.","Excepturi nisi eos assumenda rerum id.","Eligendi aut ipsam fugiat ducimus explicabo voluptate.","Ipsum qui nam accusantium.","Nemo ut cupiditate perferendis vitae quaerat accusantium sint."] | [{"sku":"SKU_0002","quantity":2,"price":254.44}] | -| 2e2ca445-35fa-31ab-b682-94e919456df1 | 2024-01-09 22:08:01 | | 43.350000 | toney59@gmail.com | Erwin Lockman | {"street":"195 Weber Greens Suite 302","city":"Tylermouth","zip":"89977-7826","country":"Iceland"} | ["Exercitationem dolor praesentium ut ad.","Et eius tenetur illo et sint.","Maxime maxime natus ipsa numquam aut voluptas voluptatum."] | [{"sku":"SKU_0004","quantity":4,"price":193.93},{"sku":"SKU_0004","quantity":6,"price":193.93}] | -| b3397d3c-d9c3-3163-80c4-2541d91d3638 | 2024-01-09 09:23:58 | 2024-12-02 19:23:42 | | javier.jones@weimann.net | Ima McCullough | {"street":"4820 Goyette Flats Apt. 496","city":"East Eleanorefort","zip":"12844-7740","country":"Falkland Islands (Malvinas)"} | ["Id quaerat saepe blanditiis pariatur quia repudiandae quam maxime.","Aut at qui tempora exercitationem."] | [{"sku":"SKU_0002","quantity":3,"price":1.92},{"sku":"SKU_0002","quantity":7,"price":1.92}] | -+--------------------------------------+---------------------+---------------------+-----------+-----------------------------+--------------------+--------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -20 rows diff --git a/examples/topics/data_frame/data_reading/database/priority.txt b/examples/topics/data_frame/data_reading/database/priority.txt deleted file mode 100644 index 62f9457511..0000000000 --- a/examples/topics/data_frame/data_reading/database/priority.txt +++ /dev/null @@ -1 +0,0 @@ -6 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/elasticsearch/.env.dist b/examples/topics/data_frame/data_reading/elasticsearch/.env.dist deleted file mode 100644 index 68cefadd5f..0000000000 --- a/examples/topics/data_frame/data_reading/elasticsearch/.env.dist +++ /dev/null @@ -1 +0,0 @@ -ELASTICSEARCH_URL=localhost:9200 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/elasticsearch/code.php b/examples/topics/data_frame/data_reading/elasticsearch/code.php deleted file mode 100644 index 852f627324..0000000000 --- a/examples/topics/data_frame/data_reading/elasticsearch/code.php +++ /dev/null @@ -1,57 +0,0 @@ -load(__DIR__ . '/.env'); - -data_frame() - ->read(from_array([ - ['id' => 1, 'text' => 'lorem ipsum'], - ['id' => 2, 'text' => 'lorem ipsum'], - ['id' => 3, 'text' => 'lorem ipsum'], - ['id' => 4, 'text' => 'lorem ipsum'], - ['id' => 5, 'text' => 'lorem ipsum'], - ['id' => 6, 'text' => 'lorem ipsum'], - ])) - ->write( - to_es_bulk_index( - [ - 'hosts' => [$_ENV['ELASTICSEARCH_URL']], - ], - $index = 'test_index', - entry_id_factory('id') - ) - ) - ->run(); - -data_frame() - ->read(from_es( - [ - 'hosts' => [$_ENV['ELASTICSEARCH_URL']], - ], - [ - 'index' => $index, - 'body' => [ - 'query' => [ - 'match_all' => ['boost' => 1.0], - ], - ], - ] - )) - ->write(to_stream(__DIR__ . '/output.raw.txt', truncate: false)) - ->with(es_hits_to_rows()) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/elasticsearch/composer.json b/examples/topics/data_frame/data_reading/elasticsearch/composer.json deleted file mode 100644 index 1db94d5f00..0000000000 --- a/examples/topics/data_frame/data_reading/elasticsearch/composer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "symfony/dotenv": "^7.2", - "flow-php/etl-adapter-elasticsearch": "1.x-dev" - }, - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/elasticsearch/composer.lock b/examples/topics/data_frame/data_reading/elasticsearch/composer.lock deleted file mode 100644 index 506a6d435f..0000000000 --- a/examples/topics/data_frame/data_reading/elasticsearch/composer.lock +++ /dev/null @@ -1,2224 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "db16df434adee0a40da109ffeda8cb4e", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "elastic/transport", - "version": "8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/elastic/elastic-transport-php.git", - "reference": "1d476af5dc0b74530d59b67d5dd96ee39768d5a4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/elastic/elastic-transport-php/zipball/1d476af5dc0b74530d59b67d5dd96ee39768d5a4", - "reference": "1d476af5dc0b74530d59b67d5dd96ee39768d5a4", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.0", - "open-telemetry/api": "^1.0", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.14", - "php-http/httplug": "^2.3", - "psr/http-client": "^1.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.0 || ^2.0", - "psr/log": "^1 || ^2 || ^3" - }, - "require-dev": { - "nyholm/psr7": "^1.5", - "open-telemetry/sdk": "^1.0", - "php-http/mock-client": "^1.5", - "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^9.5", - "symfony/http-client": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Elastic\\Transport\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "HTTP transport PHP library for Elastic products", - "keywords": [ - "PSR_17", - "elastic", - "http", - "psr-18", - "psr-7", - "transport" - ], - "support": { - "issues": "https://github.com/elastic/elastic-transport-php/issues", - "source": "https://github.com/elastic/elastic-transport-php/tree/main" - }, - "time": "2025-04-02T08:20:33+00:00" - }, - { - "name": "elasticsearch/elasticsearch", - "version": "8.19.x-dev", - "source": { - "type": "git", - "url": "https://github.com/elastic/elasticsearch-php.git", - "reference": "1771284cb43a7b653634d418b6f5f0ec84ff8a6d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/elastic/elasticsearch-php/zipball/1771284cb43a7b653634d418b6f5f0ec84ff8a6d", - "reference": "1771284cb43a7b653634d418b6f5f0ec84ff8a6d", - "shasum": "" - }, - "require": { - "elastic/transport": "^8.11", - "guzzlehttp/guzzle": "^7.0", - "php": "^7.4 || ^8.0", - "psr/http-client": "^1.0", - "psr/http-message": "^1.1 || ^2.0", - "psr/log": "^1|^2|^3" - }, - "require-dev": { - "ext-yaml": "*", - "ext-zip": "*", - "mockery/mockery": "^1.5", - "nyholm/psr7": "^1.5", - "php-http/mock-client": "^1.5", - "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^9.5", - "psr/http-factory": "^1.0", - "symfony/finder": "~4.0", - "symfony/http-client": "^5.0|^6.0|^7.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Elastic\\Elasticsearch\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP Client for Elasticsearch", - "keywords": [ - "client", - "elastic", - "elasticsearch", - "search" - ], - "support": { - "issues": "https://github.com/elastic/elasticsearch-php/issues", - "source": "https://github.com/elastic/elasticsearch-php/tree/8.19" - }, - "time": "2025-08-06T16:58:06+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-elasticsearch", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-elasticsearch.git", - "reference": "3fdd06d68f6eea1f890b97da8102a56a99d624de" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-elasticsearch/zipball/3fdd06d68f6eea1f890b97da8102a56a99d624de", - "reference": "3fdd06d68f6eea1f890b97da8102a56a99d624de", - "shasum": "" - }, - "require": { - "elasticsearch/elasticsearch": "^7.6|^8.0", - "ext-hash": "*", - "ext-json": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Elasticsearch/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Elasticsearch", - "keywords": [ - "adapter", - "elasticsearch", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-elasticsearch/issues", - "source": "https://github.com/flow-php/etl-adapter-elasticsearch/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:32+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "guzzlehttp/guzzle", - "version": "7.10.x-dev", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", - "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", - "shasum": "" - }, - "require": { - "ext-json": "*", - "guzzlehttp/promises": "^2.3", - "guzzlehttp/psr7": "^2.8", - "php": "^7.2.5 || ^8.0", - "psr/http-client": "^1.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "provide": { - "psr/http-client-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "ext-curl": "*", - "guzzle/client-integration-tests": "3.0.2", - "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.39 || ^9.6.20", - "psr/log": "^1.1 || ^2.0 || ^3.0" - }, - "suggest": { - "ext-curl": "Required for CURL handler support", - "ext-intl": "Required for Internationalized Domain Name (IDN) support", - "psr/log": "Required for using the Log middleware" - }, - "default-branch": true, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "GuzzleHttp\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Jeremy Lindblom", - "email": "jeremeamia@gmail.com", - "homepage": "https://github.com/jeremeamia" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "psr-18", - "psr-7", - "rest", - "web service" - ], - "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.10.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", - "type": "tidelift" - } - ], - "time": "2025-08-23T22:36:01+00:00" - }, - { - "name": "guzzlehttp/promises", - "version": "2.3.x-dev", - "source": { - "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "481557b130ef3790cf82b713667b43030dc9c957" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957", - "reference": "481557b130ef3790cf82b713667b43030dc9c957", - "shasum": "" - }, - "require": { - "php": "^7.2.5 || ^8.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.44 || ^9.6.25" - }, - "default-branch": true, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - } - ], - "description": "Guzzle promises library", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.3.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", - "type": "tidelift" - } - ], - "time": "2025-08-22T14:34:08+00:00" - }, - { - "name": "guzzlehttp/psr7", - "version": "2.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "21dc724a0583619cd1652f673303492272778051" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051", - "reference": "21dc724a0583619cd1652f673303492272778051", - "shasum": "" - }, - "require": { - "php": "^7.2.5 || ^8.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0", - "ralouphie/getallheaders": "^3.0" - }, - "provide": { - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "0.9.0", - "phpunit/phpunit": "^8.5.44 || ^9.6.25" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" - }, - "default-branch": true, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "PSR-7 message implementation that also provides common utility methods", - "keywords": [ - "http", - "message", - "psr-7", - "request", - "response", - "stream", - "uri", - "url" - ], - "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.8.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", - "type": "tidelift" - } - ], - "time": "2025-08-23T21:21:41+00:00" - }, - { - "name": "open-telemetry/api", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/api.git", - "reference": "45bda7efa8fcdd9bdb0daa2f26c8e31f062f49d4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/45bda7efa8fcdd9bdb0daa2f26c8e31f062f49d4", - "reference": "45bda7efa8fcdd9bdb0daa2f26c8e31f062f49d4", - "shasum": "" - }, - "require": { - "open-telemetry/context": "^1.4", - "php": "^8.1", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-php82": "^1.26" - }, - "conflict": { - "open-telemetry/sdk": "<=1.0.8" - }, - "default-branch": true, - "type": "library", - "extra": { - "spi": { - "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\HookManagerInterface": [ - "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\ExtensionHookManager" - ] - }, - "branch-alias": { - "dev-main": "1.8.x-dev" - } - }, - "autoload": { - "files": [ - "Trace/functions.php" - ], - "psr-4": { - "OpenTelemetry\\API\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "API for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "api", - "apm", - "logging", - "opentelemetry", - "otel", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/languages/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2025-10-19T10:49:48+00:00" - }, - { - "name": "open-telemetry/context", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/context.git", - "reference": "d4c4470b541ce72000d18c339cfee633e4c8e0cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/d4c4470b541ce72000d18c339cfee633e4c8e0cf", - "reference": "d4c4470b541ce72000d18c339cfee633e4c8e0cf", - "shasum": "" - }, - "require": { - "php": "^8.1", - "symfony/polyfill-php82": "^1.26" - }, - "suggest": { - "ext-ffi": "To allow context switching in Fibers" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "autoload": { - "files": [ - "fiber/initialize_fiber_handler.php" - ], - "psr-4": { - "OpenTelemetry\\Context\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "Context implementation for OpenTelemetry PHP.", - "keywords": [ - "Context", - "opentelemetry", - "otel" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2025-09-19T00:05:49+00:00" - }, - { - "name": "php-http/discovery", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "sebastian/comparator": "^3.0.5 || ^4.0.8", - "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1" - }, - "default-branch": true, - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.20.0" - }, - "time": "2024-10-02T11:20:13+00:00" - }, - { - "name": "php-http/httplug", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/httplug.git", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/37819ce3c78ed2e7d001de68b38e697bbd525f89", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "php-http/promise": "^1.1", - "psr/http-client": "^1.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", - "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Eric GELOEN", - "email": "geloen.eric@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "HTTPlug, the HTTP client abstraction for PHP", - "homepage": "http://httplug.io", - "keywords": [ - "client", - "http" - ], - "support": { - "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.x" - }, - "time": "2024-09-23T13:25:15+00:00" - }, - { - "name": "php-http/promise", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/promise.git", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/12e12043e9ed9ddc6ea8481593fb230150227416", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", - "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Joel Wurtz", - "email": "joel.wurtz@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Promise used for asynchronous HTTP requests", - "homepage": "http://httplug.io", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.x" - }, - "time": "2024-10-02T11:48:29+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/http-client", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory" - }, - "time": "2024-04-15T12:06:14+00:00" - }, - { - "name": "psr/http-message", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" - }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "ralouphie/getallheaders", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/getallheaders.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" - } - ], - "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" - }, - "time": "2019-03-08T08:55:37+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/dotenv", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/dotenv.git", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/4a53037ff205b68310ea43d4e999dac54375751c", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c", - "shasum": "" - }, - "require": { - "php": ">=8.2" - }, - "conflict": { - "symfony/console": "<6.4", - "symfony/process": "<6.4" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Dotenv\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Registers environment variables from a .env file", - "homepage": "https://symfony.com", - "keywords": [ - "dotenv", - "env", - "environment" - ], - "support": { - "source": "https://github.com/symfony/dotenv/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-08-09T22:28:14+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-php82", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php82.git", - "reference": "5d2ed36f7734637dacc025f179698031951b1692" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/5d2ed36f7734637dacc025f179698031951b1692", - "reference": "5d2ed36f7734637dacc025f179698031951b1692", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php82\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php82/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-elasticsearch": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/elasticsearch/flow_php_example.zip b/examples/topics/data_frame/data_reading/elasticsearch/flow_php_example.zip deleted file mode 100644 index 694cb18dd1..0000000000 Binary files a/examples/topics/data_frame/data_reading/elasticsearch/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/elasticsearch/output.raw.txt b/examples/topics/data_frame/data_reading/elasticsearch/output.raw.txt deleted file mode 100644 index 2c75848147..0000000000 --- a/examples/topics/data_frame/data_reading/elasticsearch/output.raw.txt +++ /dev/null @@ -1,6 +0,0 @@ -+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| took | timed_out | _shards | hits | -+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| 0 | false | {"total":1,"successful":1,"skipped":0,"failed":0} | {"total":{"value":6,"relation":"eq"},"max_score":1,"hits":[{"_index":"test_index","_type":"_doc","_id":"1","_score":1,"_source":{"id":1,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"2","_score":1,"_source":{"id":2,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"3","_score":1,"_source":{"id":3,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"4","_score":1,"_source":{"id":4,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"5","_score":1,"_source":{"id":5,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"6","_score":1,"_source":{"id":6,"text":"lorem ipsum"}}]} | -+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -1 rows diff --git a/examples/topics/data_frame/data_reading/elasticsearch/output.txt b/examples/topics/data_frame/data_reading/elasticsearch/output.txt deleted file mode 100644 index fe30613a39..0000000000 --- a/examples/topics/data_frame/data_reading/elasticsearch/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -+----+-------------+ -| id | text | -+----+-------------+ -| 1 | lorem ipsum | -| 2 | lorem ipsum | -| 3 | lorem ipsum | -| 4 | lorem ipsum | -| 5 | lorem ipsum | -| 6 | lorem ipsum | -+----+-------------+ -6 rows diff --git a/examples/topics/data_frame/data_reading/excel/code.php b/examples/topics/data_frame/data_reading/excel/code.php deleted file mode 100644 index 5831d2a908..0000000000 --- a/examples/topics/data_frame/data_reading/excel/code.php +++ /dev/null @@ -1,16 +0,0 @@ -read(from_excel( - __DIR__ . '/input/dataset.xlsx', - )) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/excel/composer.json b/examples/topics/data_frame/data_reading/excel/composer.json deleted file mode 100644 index 081d33b2af..0000000000 --- a/examples/topics/data_frame/data_reading/excel/composer.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-excel": "1.x-dev" - }, - "archive": { - "exclude": [ - ".env", - "vendor" - ] - }, - "minimum-stability": "dev", - "prefer-stable": true -} diff --git a/examples/topics/data_frame/data_reading/excel/composer.lock b/examples/topics/data_frame/data_reading/excel/composer.lock deleted file mode 100644 index b385d6de0f..0000000000 --- a/examples/topics/data_frame/data_reading/excel/composer.lock +++ /dev/null @@ -1,1057 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "2bafb5bc8b9fda3e7b428fca04730f2f", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-excel", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-excel.git", - "reference": "12ff2b9204c4316c7c4497032448d1b61f6c98a7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-excel/zipball/12ff2b9204c4316c7c4497032448d1b61f6c98a7", - "reference": "12ff2b9204c4316c7c4497032448d1b61f6c98a7", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "openspout/openspout": "^4.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Excel/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Excel", - "keywords": [ - "adapter", - "etl", - "excel", - "extract", - "load", - "text", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-excel/issues", - "source": "https://github.com/flow-php/etl-adapter-excel/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:31+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "openspout/openspout", - "version": "v4.28.5", - "source": { - "type": "git", - "url": "https://github.com/openspout/openspout.git", - "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/openspout/openspout/zipball/ab05a09fe6fce57c90338f83280648a9786ce36b", - "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-fileinfo": "*", - "ext-filter": "*", - "ext-libxml": "*", - "ext-xmlreader": "*", - "ext-zip": "*", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "require-dev": { - "ext-zlib": "*", - "friendsofphp/php-cs-fixer": "^3.68.3", - "infection/infection": "^0.29.10", - "phpbench/phpbench": "^1.4.0", - "phpstan/phpstan": "^2.1.2", - "phpstan/phpstan-phpunit": "^2.0.4", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "^11.5.4" - }, - "suggest": { - "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", - "ext-mbstring": "To handle non UTF-8 CSV files (if \"iconv\" is not already installed)" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3.x-dev" - } - }, - "autoload": { - "psr-4": { - "OpenSpout\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Adrien Loison", - "email": "adrien@box.com" - } - ], - "description": "PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way", - "homepage": "https://github.com/openspout/openspout", - "keywords": [ - "OOXML", - "csv", - "excel", - "memory", - "odf", - "ods", - "office", - "open", - "php", - "read", - "scale", - "spreadsheet", - "stream", - "write", - "xlsx" - ], - "support": { - "issues": "https://github.com/openspout/openspout/issues", - "source": "https://github.com/openspout/openspout/tree/v4.28.5" - }, - "funding": [ - { - "url": "https://paypal.me/filippotessarotto", - "type": "custom" - }, - { - "url": "https://github.com/Slamdunk", - "type": "github" - } - ], - "time": "2025-01-30T13:51:11+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "3.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", - "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" - }, - "time": "2021-10-29T13:26:27+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.33.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.33.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.33.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.33.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "v7.3.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "f96476035142921000338bad71e5247fbc138872" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f96476035142921000338bad71e5247fbc138872", - "reference": "f96476035142921000338bad71e5247fbc138872", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1", - "symfony/http-client": "^6.4|^7.0", - "symfony/intl": "^6.4|^7.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/v7.3.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:36:48+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.7.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "8a2842112d6916e61e0e15e316465b611f3abc17" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/8a2842112d6916e61e0e15e316465b611f3abc17", - "reference": "8a2842112d6916e61e0e15e316465b611f3abc17", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.7.0" - }, - "time": "2024-03-07T20:33:40+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-excel": 20 - }, - "prefer-stable": true, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/excel/description.md b/examples/topics/data_frame/data_reading/excel/description.md deleted file mode 100644 index e63c2334a3..0000000000 --- a/examples/topics/data_frame/data_reading/excel/description.md +++ /dev/null @@ -1,7 +0,0 @@ -Read data from an Excel file (XLSX or ODS). - -```php -function from_excel( - string|Path $path -): -``` diff --git a/examples/topics/data_frame/data_reading/excel/flow_php_example.zip b/examples/topics/data_frame/data_reading/excel/flow_php_example.zip deleted file mode 100644 index c62ad00725..0000000000 Binary files a/examples/topics/data_frame/data_reading/excel/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/excel/input/dataset.xlsx b/examples/topics/data_frame/data_reading/excel/input/dataset.xlsx deleted file mode 100644 index 9eff59abb5..0000000000 Binary files a/examples/topics/data_frame/data_reading/excel/input/dataset.xlsx and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/excel/output.txt b/examples/topics/data_frame/data_reading/excel/output.txt deleted file mode 100644 index 1f8aa36bec..0000000000 --- a/examples/topics/data_frame/data_reading/excel/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -+----+---------+-------------------+ -| id | name | email | -+----+---------+-------------------+ -| 1 | user-01 | user-01@email.com | -| 2 | user-02 | user-02@email.com | -| 3 | user-03 | user-01@email.com | -| 4 | user-04 | user-02@email.com | -| 5 | user-05 | user-01@email.com | -| 6 | user-06 | user-02@email.com | -| 7 | user-07 | user-01@email.com | -| 8 | user-08 | user-02@email.com | -| 9 | user-09 | user-01@email.com | -+----+---------+-------------------+ -9 rows diff --git a/examples/topics/data_frame/data_reading/http_dynamic/code.php b/examples/topics/data_frame/data_reading/http_dynamic/code.php deleted file mode 100644 index 5e28668258..0000000000 --- a/examples/topics/data_frame/data_reading/http_dynamic/code.php +++ /dev/null @@ -1,41 +0,0 @@ -createRequest('GET', 'https://api.github.com/orgs/flow-php') - ->withHeader('Accept', 'application/vnd.github.v3+json') - ->withHeader('User-Agent', 'flow-php/etl'); - } - - return null; - } -}); - -data_frame() - ->read($from_github_api) - ->withEntry('unpacked', ref('response_body')->jsonDecode()) - ->withEntry('unpacked', ref('unpacked')->unpack()) - ->renameEach(rename_replace('unpacked.', '')) - ->drop('unpacked') - ->select('name', 'html_url', 'blog', 'login', 'public_repos', 'followers', 'created_at') - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/http_dynamic/composer.json b/examples/topics/data_frame/data_reading/http_dynamic/composer.json deleted file mode 100644 index 4ae7ab024b..0000000000 --- a/examples/topics/data_frame/data_reading/http_dynamic/composer.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-http": "1.x-dev", - "nyholm/psr7": "^1.8", - "php-http/curl-client": "^2.3" - }, - "minimum-stability": "dev", - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/http_dynamic/composer.lock b/examples/topics/data_frame/data_reading/http_dynamic/composer.lock deleted file mode 100644 index 815f31d813..0000000000 --- a/examples/topics/data_frame/data_reading/http_dynamic/composer.lock +++ /dev/null @@ -1,1749 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "2c515662f0063ffdaddb98d8bba4e3e5", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "clue/stream-filter", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/clue/stream-filter.git", - "reference": "b2eb64756f9f66292c2043f4021f4205839ad5ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/clue/stream-filter/zipball/b2eb64756f9f66292c2043f4021f4205839ad5ed", - "reference": "b2eb64756f9f66292c2043f4021f4205839ad5ed", - "shasum": "" - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "Clue\\StreamFilter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - } - ], - "description": "A simple and modern approach to stream filtering in PHP", - "homepage": "https://github.com/clue/stream-filter", - "keywords": [ - "bucket brigade", - "callback", - "filter", - "php_user_filter", - "stream", - "stream_filter_append", - "stream_filter_register" - ], - "support": { - "issues": "https://github.com/clue/stream-filter/issues", - "source": "https://github.com/clue/stream-filter/tree/1.x" - }, - "funding": [ - { - "url": "https://clue.engineering/support", - "type": "custom" - }, - { - "url": "https://github.com/clue", - "type": "github" - } - ], - "time": "2025-07-21T18:15:30+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-http", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-http.git", - "reference": "fa67ed417ced95e3d608d0bc2e10c830a1aea7cd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-http/zipball/fa67ed417ced95e3d608d0bc2e10c830a1aea7cd", - "reference": "fa67ed417ced95e3d608d0bc2e10c830a1aea7cd", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/http-client": "^1.0" - }, - "require-dev": { - "nyholm/psr7": "^1.8", - "php-http/curl-client": "^2.2" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Http", - "keywords": [ - "etl", - "extract", - "http", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-http/issues", - "source": "https://github.com/flow-php/etl-adapter-http/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:36+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "nyholm/psr7", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/Nyholm/psr7.git", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "shasum": "" - }, - "require": { - "php": ">=7.2", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0", - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "php-http/message-factory": "^1.0", - "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "symfony/error-handler": "^4.4" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Nyholm\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com" - }, - { - "name": "Martijn van der Ven", - "email": "martijn@vanderven.se" - } - ], - "description": "A fast PHP7 implementation of PSR-7", - "homepage": "https://tnyholm.se", - "keywords": [ - "psr-17", - "psr-7" - ], - "support": { - "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.8.2" - }, - "funding": [ - { - "url": "https://github.com/Zegnat", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2024-09-09T07:06:30+00:00" - }, - { - "name": "php-http/curl-client", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/curl-client.git", - "reference": "f3eb48d266341afec0229a7a37a03521d3646b81" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/curl-client/zipball/f3eb48d266341afec0229a7a37a03521d3646b81", - "reference": "f3eb48d266341afec0229a7a37a03521d3646b81", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.6", - "php-http/httplug": "^2.0", - "php-http/message": "^1.2", - "psr/http-client": "^1.0", - "psr/http-factory-implementation": "^1.0", - "symfony/options-resolver": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "provide": { - "php-http/async-client-implementation": "1.0", - "php-http/client-implementation": "1.0", - "psr/http-client-implementation": "1.0" - }, - "require-dev": { - "guzzlehttp/psr7": "^2.0", - "laminas/laminas-diactoros": "^2.0 || ^3.0", - "php-http/client-integration-tests": "^3.0", - "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^7.5 || ^9.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\Curl\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Михаил Красильников", - "email": "m.krasilnikov@yandex.ru" - } - ], - "description": "PSR-18 and HTTPlug Async client with cURL", - "homepage": "http://php-http.org", - "keywords": [ - "curl", - "http", - "psr-18" - ], - "support": { - "issues": "https://github.com/php-http/curl-client/issues", - "source": "https://github.com/php-http/curl-client/tree/2.3.3" - }, - "time": "2024-10-31T07:36:58+00:00" - }, - { - "name": "php-http/discovery", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "sebastian/comparator": "^3.0.5 || ^4.0.8", - "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1" - }, - "default-branch": true, - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.20.0" - }, - "time": "2024-10-02T11:20:13+00:00" - }, - { - "name": "php-http/httplug", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/httplug.git", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/37819ce3c78ed2e7d001de68b38e697bbd525f89", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "php-http/promise": "^1.1", - "psr/http-client": "^1.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", - "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Eric GELOEN", - "email": "geloen.eric@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "HTTPlug, the HTTP client abstraction for PHP", - "homepage": "http://httplug.io", - "keywords": [ - "client", - "http" - ], - "support": { - "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.x" - }, - "time": "2024-09-23T13:25:15+00:00" - }, - { - "name": "php-http/message", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/message.git", - "reference": "a1c3b1e24d07f986c6867bf632ffa168e4eeaaef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/message/zipball/a1c3b1e24d07f986c6867bf632ffa168e4eeaaef", - "reference": "a1c3b1e24d07f986c6867bf632ffa168e4eeaaef", - "shasum": "" - }, - "require": { - "clue/stream-filter": "^1.5", - "php": "^7.2 || ^8.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.6", - "ext-zlib": "*", - "guzzlehttp/psr7": "^1.0 || ^2.0", - "laminas/laminas-diactoros": "^2.0 || ^3.0", - "php-http/message-factory": "^1.0.2", - "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", - "slim/slim": "^3.0" - }, - "suggest": { - "ext-zlib": "Used with compressor/decompressor streams", - "guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories", - "laminas/laminas-diactoros": "Used with Diactoros Factories", - "slim/slim": "Used with Slim Framework PSR-7 implementation" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/filters.php" - ], - "psr-4": { - "Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "HTTP Message related tools", - "homepage": "http://php-http.org", - "keywords": [ - "http", - "message", - "psr-7" - ], - "support": { - "issues": "https://github.com/php-http/message/issues", - "source": "https://github.com/php-http/message/tree/1.x" - }, - "time": "2025-02-16T16:17:27+00:00" - }, - { - "name": "php-http/promise", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/promise.git", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/12e12043e9ed9ddc6ea8481593fb230150227416", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", - "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Joel Wurtz", - "email": "joel.wurtz@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Promise used for asynchronous HTTP requests", - "homepage": "http://httplug.io", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.x" - }, - "time": "2024-10-02T11:48:29+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/http-client", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory" - }, - "time": "2024-04-15T12:06:14+00:00" - }, - { - "name": "psr/http-message", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" - }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/options-resolver", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/options-resolver.git", - "reference": "3324bca1ff334c8807a3968882edb76ea708b955" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/3324bca1ff334c8807a3968882edb76ea708b955", - "reference": "3324bca1ff334c8807a3968882edb76ea708b955", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\OptionsResolver\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an improved replacement for the array_replace PHP function", - "homepage": "https://symfony.com", - "keywords": [ - "config", - "configuration", - "options" - ], - "support": { - "source": "https://github.com/symfony/options-resolver/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-08-13T16:46:49+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-http": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/http_dynamic/flow_php_example.zip b/examples/topics/data_frame/data_reading/http_dynamic/flow_php_example.zip deleted file mode 100644 index 635fc524e0..0000000000 Binary files a/examples/topics/data_frame/data_reading/http_dynamic/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/http_dynamic/output.txt b/examples/topics/data_frame/data_reading/http_dynamic/output.txt deleted file mode 100644 index b900f9e378..0000000000 --- a/examples/topics/data_frame/data_reading/http_dynamic/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+ -| name | html_url | blog | login | public_repos | followers | created_at | -+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+ -| Flow PHP | https://github.com/flow-php | http://flow-php.com | flow-php | 41 | 137 | 2020-10-26T18:40:27Z | -+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+ -1 rows diff --git a/examples/topics/data_frame/data_reading/http_static/code.php b/examples/topics/data_frame/data_reading/http_static/code.php deleted file mode 100644 index 7918ae76f0..0000000000 --- a/examples/topics/data_frame/data_reading/http_static/code.php +++ /dev/null @@ -1,42 +0,0 @@ -createRequest('GET', 'https://example.com'); -}; - -$client = new PsrHttpClientStaticExtractor( - new Psr18Client( - new MockHttpClient( - [ - new MockResponse( - file_get_contents(__DIR__ . '/input/example.com.html'), - [ - 'response_headers' => [ - 'Content-Type' => 'text/html', - ], - ], - ), - ], - ), - ), - $requests(), -); - -data_frame() - ->read($client) - ->withEntry('title', ref('response_body')->htmlQuerySelector('body div h1')->domElementValue()) - ->withEntry('paragraphs', ref('response_body')->htmlQuerySelectorAll('body p')->expand()) - ->select('title', 'paragraphs') - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/http_static/composer.json b/examples/topics/data_frame/data_reading/http_static/composer.json deleted file mode 100644 index 90d512715f..0000000000 --- a/examples/topics/data_frame/data_reading/http_static/composer.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "php": "^8.4", - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-http": "1.x-dev", - "nyholm/psr7": "^1.8", - "symfony/http-client": "^6.4 || ^7.4" - }, - "minimum-stability": "dev", - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "archive": { - "exclude": [ - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/http_static/composer.lock b/examples/topics/data_frame/data_reading/http_static/composer.lock deleted file mode 100644 index 3f940171c5..0000000000 --- a/examples/topics/data_frame/data_reading/http_static/composer.lock +++ /dev/null @@ -1,1749 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "46796e15945cbaa25062b7cdd0e333ef", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "60413b6b80a88ad401361da817b8ed29ea1a6cd1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/60413b6b80a88ad401361da817b8ed29ea1a6cd1", - "reference": "60413b6b80a88ad401361da817b8ed29ea1a6cd1", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-11-09T17:18:04+00:00" - }, - { - "name": "flow-php/etl-adapter-http", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-http.git", - "reference": "807ca1fad7808ae8370e1766c4366a7fccfee86e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-http/zipball/807ca1fad7808ae8370e1766c4366a7fccfee86e", - "reference": "807ca1fad7808ae8370e1766c4366a7fccfee86e", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/http-client": "^1.0" - }, - "require-dev": { - "nyholm/psr7": "^1.8", - "php-http/curl-client": "^2.2" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Http/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Http", - "keywords": [ - "etl", - "extract", - "http", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-http/issues", - "source": "https://github.com/flow-php/etl-adapter-http/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-11-09T20:01:29+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "9c6f00910e20aadf75053bc1789d61ea3ad0485f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/9c6f00910e20aadf75053bc1789d61ea3ad0485f", - "reference": "9c6f00910e20aadf75053bc1789d61ea3ad0485f", - "shasum": "" - }, - "require": { - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-11-09T12:17:49+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "8106aece43dc54a2794229223da0431b81079186" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/8106aece43dc54a2794229223da0431b81079186", - "reference": "8106aece43dc54a2794229223da0431b81079186", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "symfony/polyfill-php83": "^1.33" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-11-09T17:18:09+00:00" - }, - { - "name": "nyholm/psr7", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/Nyholm/psr7.git", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "shasum": "" - }, - "require": { - "php": ">=7.2", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0", - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "php-http/message-factory": "^1.0", - "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "symfony/error-handler": "^4.4" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Nyholm\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com" - }, - { - "name": "Martijn van der Ven", - "email": "martijn@vanderven.se" - } - ], - "description": "A fast PHP7 implementation of PSR-7", - "homepage": "https://tnyholm.se", - "keywords": [ - "psr-17", - "psr-7" - ], - "support": { - "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.8.2" - }, - "funding": [ - { - "url": "https://github.com/Zegnat", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2024-09-09T07:06:30+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/container", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/707984727bd5b2b670e59559d3ed2500240cf875", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container" - }, - "time": "2023-09-22T11:11:30+00:00" - }, - { - "name": "psr/http-client", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory" - }, - "time": "2024-04-15T12:06:14+00:00" - }, - { - "name": "psr/http-message", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" - }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/http-client", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-client.git", - "reference": "495c7034a70687b10127262e81e5470d323ab12c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/495c7034a70687b10127262e81e5470d323ab12c", - "reference": "495c7034a70687b10127262e81e5470d323ab12c", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/http-client-contracts": "~3.4.4|^3.5.2", - "symfony/polyfill-php83": "^1.29", - "symfony/service-contracts": "^2.5|^3" - }, - "conflict": { - "amphp/amp": "<2.5", - "amphp/socket": "<1.1", - "php-http/discovery": "<1.15", - "symfony/http-foundation": "<6.4" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "1.0", - "symfony/http-client-implementation": "3.0" - }, - "require-dev": { - "amphp/http-client": "^4.2.1|^5.0", - "amphp/http-tunnel": "^1.0|^2.0", - "guzzlehttp/promises": "^1.4|^2.0", - "nyholm/psr7": "^1.0", - "php-http/httplug": "^1.0|^2.0", - "psr/http-client": "^1.0", - "symfony/amphp-http-client-meta": "^1.0|^2.0", - "symfony/cache": "^6.4|^7.0|^8.0", - "symfony/dependency-injection": "^6.4|^7.0|^8.0", - "symfony/http-kernel": "^6.4|^7.0|^8.0", - "symfony/messenger": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0", - "symfony/rate-limiter": "^6.4|^7.0|^8.0", - "symfony/stopwatch": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpClient\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", - "homepage": "https://symfony.com", - "keywords": [ - "http" - ], - "support": { - "source": "https://github.com/symfony/http-client/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-11-06T07:53:46+00:00" - }, - { - "name": "symfony/http-client-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "75d7043853a42837e68111812f4d964b01e5101c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/75d7043853a42837e68111812f4d964b01e5101c", - "reference": "75d7043853a42837e68111812f4d964b01e5101c", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\HttpClient\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to HTTP clients", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-04-29T11:18:49+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-php83", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "17f6f9a6b1735c0f163024d959f700cfbc5155e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/17f6f9a6b1735c0f163024d959f700cfbc5155e5", - "reference": "17f6f9a6b1735c0f163024d959f700cfbc5155e5", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php83\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-07-08T02:45:35+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43", - "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0", - "symfony/deprecation-contracts": "^2.5|^3" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/main" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-07-15T11:30:57+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-http": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": "^8.4" - }, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/http_static/flow_php_example.zip b/examples/topics/data_frame/data_reading/http_static/flow_php_example.zip deleted file mode 100644 index b737c52328..0000000000 Binary files a/examples/topics/data_frame/data_reading/http_static/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/http_static/output.txt b/examples/topics/data_frame/data_reading/http_static/output.txt deleted file mode 100644 index 8ad26df90a..0000000000 --- a/examples/topics/data_frame/data_reading/http_static/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -+----------------+-------------------------------------------------------------------------------------------------------+ -| title | paragraphs | -+----------------+-------------------------------------------------------------------------------------------------------+ -| Example Domain | This domain is for use in documentation examples without needing permission. Avoid use in operations. | -| Example Domain | Learn more | -+----------------+-------------------------------------------------------------------------------------------------------+ -2 rows diff --git a/examples/topics/data_frame/data_reading/json/code.php b/examples/topics/data_frame/data_reading/json/code.php deleted file mode 100644 index 7c055869eb..0000000000 --- a/examples/topics/data_frame/data_reading/json/code.php +++ /dev/null @@ -1,24 +0,0 @@ -read( - from_json(__DIR__ . '/input/dataset.json') - ->withSchema($schema) - ) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/json/composer.json b/examples/topics/data_frame/data_reading/json/composer.json deleted file mode 100644 index 084ffb6cf9..0000000000 --- a/examples/topics/data_frame/data_reading/json/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-json": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/json/composer.lock b/examples/topics/data_frame/data_reading/json/composer.lock deleted file mode 100644 index db9e1d8ffb..0000000000 --- a/examples/topics/data_frame/data_reading/json/composer.lock +++ /dev/null @@ -1,1105 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "af6c4391c99415b72b13fff9244b4507", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-json", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-json.git", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-json/zipball/16a33adefb3c47599245fede9653baa8b9336e71", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "halaxa/json-machine": "^1.1", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/JSON/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - JSON", - "keywords": [ - "adapter", - "etl", - "extract", - "json", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-json/issues", - "source": "https://github.com/flow-php/etl-adapter-json/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:22:01+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "halaxa/json-machine", - "version": "1.2.5", - "source": { - "type": "git", - "url": "https://github.com/halaxa/json-machine.git", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/halaxa/json-machine/zipball/d0f84abf79ac98145d478b66d2bcf363d706477c", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c", - "shasum": "" - }, - "require": { - "php": "7.2 - 8.4" - }, - "require-dev": { - "ext-json": "*", - "friendsofphp/php-cs-fixer": "^3.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0" - }, - "suggest": { - "ext-json": "To run JSON Machine out of the box without custom decoders.", - "guzzlehttp/guzzle": "To run example with GuzzleHttp" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "JsonMachine\\": "src/" - }, - "exclude-from-classmap": [ - "src/autoloader.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Filip Halaxa", - "email": "filip@halaxa.cz" - } - ], - "description": "Efficient, easy-to-use and fast JSON pull parser", - "support": { - "issues": "https://github.com/halaxa/json-machine/issues", - "source": "https://github.com/halaxa/json-machine/tree/1.2.5" - }, - "funding": [ - { - "url": "https://ko-fi.com/G2G57KTE4", - "type": "other" - } - ], - "time": "2025-07-07T13:38:34+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-json": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/json/description.md b/examples/topics/data_frame/data_reading/json/description.md deleted file mode 100644 index c4bcf88048..0000000000 --- a/examples/topics/data_frame/data_reading/json/description.md +++ /dev/null @@ -1,10 +0,0 @@ -Read data from a json file. - -```php -function from_json(string|Path $path); -``` - -Additional options: - -* `withPointer(string $pointer)` - default null, used to iterate only results of a subtree, read more about [pointers](https://github.com/halaxa/json-machine#parsing-a-subtree) -* `withSchema(Schema $schema)` - the schema of the dataset, when not set, it will be auto-detected \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/json/flow_php_example.zip b/examples/topics/data_frame/data_reading/json/flow_php_example.zip deleted file mode 100644 index dc3d7824b5..0000000000 Binary files a/examples/topics/data_frame/data_reading/json/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/json/input/dataset.json b/examples/topics/data_frame/data_reading/json/input/dataset.json deleted file mode 100644 index 7bb0362def..0000000000 --- a/examples/topics/data_frame/data_reading/json/input/dataset.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "id": "1", - "name": "John", - "email": "john@email.com", - "active": "true" - }, - { - "id": "2", - "name": "Paul", - "email": "paul@email.com", - "active": "true" - }, - { - "id": "3", - "name": "George", - "email": "george@email.com", - "active": "false" - }, - { - "id": "4", - "name": "Ringo", - "email": "rino@email.com", - "active": "true" - } -] \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/json/output.txt b/examples/topics/data_frame/data_reading/json/output.txt deleted file mode 100644 index 8a40f4aaf9..0000000000 --- a/examples/topics/data_frame/data_reading/json/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+--------+------------------+--------+ -| id | name | email | active | -+----+--------+------------------+--------+ -| 1 | John | john@email.com | true | -| 2 | Paul | paul@email.com | true | -| 3 | George | george@email.com | false | -| 4 | Ringo | rino@email.com | true | -+----+--------+------------------+--------+ -4 rows diff --git a/examples/topics/data_frame/data_reading/json/priority.txt b/examples/topics/data_frame/data_reading/json/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/data_reading/json/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/jsonl/code.php b/examples/topics/data_frame/data_reading/jsonl/code.php deleted file mode 100644 index 7be15afe75..0000000000 --- a/examples/topics/data_frame/data_reading/jsonl/code.php +++ /dev/null @@ -1,24 +0,0 @@ -read( - from_json_lines(__DIR__ . '/input/dataset.jsonl') - ->withSchema($schema) - ) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/jsonl/composer.json b/examples/topics/data_frame/data_reading/jsonl/composer.json deleted file mode 100644 index 084ffb6cf9..0000000000 --- a/examples/topics/data_frame/data_reading/jsonl/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-json": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/jsonl/composer.lock b/examples/topics/data_frame/data_reading/jsonl/composer.lock deleted file mode 100644 index db9e1d8ffb..0000000000 --- a/examples/topics/data_frame/data_reading/jsonl/composer.lock +++ /dev/null @@ -1,1105 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "af6c4391c99415b72b13fff9244b4507", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-json", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-json.git", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-json/zipball/16a33adefb3c47599245fede9653baa8b9336e71", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "halaxa/json-machine": "^1.1", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/JSON/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - JSON", - "keywords": [ - "adapter", - "etl", - "extract", - "json", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-json/issues", - "source": "https://github.com/flow-php/etl-adapter-json/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:22:01+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "halaxa/json-machine", - "version": "1.2.5", - "source": { - "type": "git", - "url": "https://github.com/halaxa/json-machine.git", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/halaxa/json-machine/zipball/d0f84abf79ac98145d478b66d2bcf363d706477c", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c", - "shasum": "" - }, - "require": { - "php": "7.2 - 8.4" - }, - "require-dev": { - "ext-json": "*", - "friendsofphp/php-cs-fixer": "^3.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0" - }, - "suggest": { - "ext-json": "To run JSON Machine out of the box without custom decoders.", - "guzzlehttp/guzzle": "To run example with GuzzleHttp" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "JsonMachine\\": "src/" - }, - "exclude-from-classmap": [ - "src/autoloader.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Filip Halaxa", - "email": "filip@halaxa.cz" - } - ], - "description": "Efficient, easy-to-use and fast JSON pull parser", - "support": { - "issues": "https://github.com/halaxa/json-machine/issues", - "source": "https://github.com/halaxa/json-machine/tree/1.2.5" - }, - "funding": [ - { - "url": "https://ko-fi.com/G2G57KTE4", - "type": "other" - } - ], - "time": "2025-07-07T13:38:34+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-json": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/jsonl/description.md b/examples/topics/data_frame/data_reading/jsonl/description.md deleted file mode 100644 index dd6cba66be..0000000000 --- a/examples/topics/data_frame/data_reading/jsonl/description.md +++ /dev/null @@ -1,10 +0,0 @@ -Read data from a [json lines](https://jsonlines.org/) formatted file - -```php -function from_json_lines(string|Path $path); -``` - -Additional options: - -* `withPointer(string $pointer)` - default null, used to iterate only results of a subtree, read more about [pointers](https://github.com/halaxa/json-machine#parsing-a-subtree) -* `withSchema(Schema $schema)` - the schema of the dataset, when not set, it will be auto-detected \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/jsonl/flow_php_example.zip b/examples/topics/data_frame/data_reading/jsonl/flow_php_example.zip deleted file mode 100644 index 1f931d9a68..0000000000 Binary files a/examples/topics/data_frame/data_reading/jsonl/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/jsonl/input/dataset.jsonl b/examples/topics/data_frame/data_reading/jsonl/input/dataset.jsonl deleted file mode 100644 index 97e9c0353e..0000000000 --- a/examples/topics/data_frame/data_reading/jsonl/input/dataset.jsonl +++ /dev/null @@ -1,4 +0,0 @@ -{ "id": "1", "name": "John", "email": "john@email.com", "active": "true" } -{ "id": "2", "name": "Paul", "email": "paul@email.com", "active": "true" } -{ "id": "3", "name": "George", "email": "george@email.com", "active": "false" } -{ "id": "4", "name": "Ringo", "email": "rino@email.com", "active": "true" } diff --git a/examples/topics/data_frame/data_reading/jsonl/output.txt b/examples/topics/data_frame/data_reading/jsonl/output.txt deleted file mode 100644 index 8a40f4aaf9..0000000000 --- a/examples/topics/data_frame/data_reading/jsonl/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+--------+------------------+--------+ -| id | name | email | active | -+----+--------+------------------+--------+ -| 1 | John | john@email.com | true | -| 2 | Paul | paul@email.com | true | -| 3 | George | george@email.com | false | -| 4 | Ringo | rino@email.com | true | -+----+--------+------------------+--------+ -4 rows diff --git a/examples/topics/data_frame/data_reading/jsonl/priority.txt b/examples/topics/data_frame/data_reading/jsonl/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/data_reading/jsonl/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/parquet/code.php b/examples/topics/data_frame/data_reading/parquet/code.php deleted file mode 100644 index 21a6baae2d..0000000000 --- a/examples/topics/data_frame/data_reading/parquet/code.php +++ /dev/null @@ -1,16 +0,0 @@ -read(from_parquet( - __DIR__ . '/input/dataset.parquet', - )) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/parquet/composer.json b/examples/topics/data_frame/data_reading/parquet/composer.json deleted file mode 100644 index 0d4d641d67..0000000000 --- a/examples/topics/data_frame/data_reading/parquet/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-parquet": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/parquet/composer.lock b/examples/topics/data_frame/data_reading/parquet/composer.lock deleted file mode 100644 index 8f2cd566cd..0000000000 --- a/examples/topics/data_frame/data_reading/parquet/composer.lock +++ /dev/null @@ -1,1207 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "e6c2701c2197d2b08c705ae714e03a01", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-parquet.git", - "reference": "30cd4f89fa5c28584924b0fa24b7868946da7f9f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-parquet/zipball/30cd4f89fa5c28584924b0fa24b7868946da7f9f", - "reference": "30cd4f89fa5c28584924b0fa24b7868946da7f9f", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "flow-php/parquet": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Parquet/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Parquet", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-parquet/issues", - "source": "https://github.com/flow-php/etl-adapter-parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:32+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/parquet.git", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/parquet/zipball/0db0c55955b04c31ba1dc190b721e8d4655d48be", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.1", - "ext-bcmath": "*", - "ext-zlib": "*", - "flow-php/filesystem": "self.version", - "flow-php/snappy": "self.version", - "packaged/thrift": "^0.15.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Parquet/functions.php", - "src/stubs.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - library for reading and writing Parquet files", - "keywords": [ - "etl", - "extract", - "filter", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/parquet/issues", - "source": "https://github.com/flow-php/parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:32+00:00" - }, - { - "name": "flow-php/snappy", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/snappy.git", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/snappy/zipball/60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "polyfill.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Google Snappy compression algorithm implementation", - "keywords": [ - "Algorithm", - "compression", - "etl", - "extract", - "filter", - "load", - "snappy", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/snappy/issues", - "source": "https://github.com/flow-php/snappy/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:52:53+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "packaged/thrift", - "version": "0.15.0", - "source": { - "type": "git", - "url": "https://github.com/packaged/thrift.git", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/packaged/thrift/zipball/dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "shasum": "" - }, - "require": { - "php": "^5.5 || ^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Thrift\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Apache Thrift", - "homepage": "http://thrift.apache.org/", - "keywords": [ - "apache", - "thrift" - ], - "support": { - "issues": "https://github.com/packaged/thrift/issues", - "source": "https://github.com/packaged/thrift/tree/0.15.0" - }, - "time": "2021-09-23T10:34:40+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-parquet": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/parquet/description.md b/examples/topics/data_frame/data_reading/parquet/description.md deleted file mode 100644 index b3d8396e4e..0000000000 --- a/examples/topics/data_frame/data_reading/parquet/description.md +++ /dev/null @@ -1,12 +0,0 @@ -Read data from a parquet file. - -```php -function from_parquet(string|Path $uri); -``` - -Additional options: - -* `withColumns(array $columns)` - default [], list of columns to read when not set, all columns will be read -* `withOptions(Options $options)` - custom Parquet Reader [Options](https://github.com/flow-php/flow/blob/1.x/src/lib/parquet/src/Flow/Parquet/Options.php) -* `withByteOrder(ByteOrder $order)` - default `ByteOrder::LITTLE_ENDIAN`, the byte order of the parquet file -* `withOffset(int $offset)` - default null, rows to skip from the beginning of the file \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/parquet/flow_php_example.zip b/examples/topics/data_frame/data_reading/parquet/flow_php_example.zip deleted file mode 100644 index d697c3acba..0000000000 Binary files a/examples/topics/data_frame/data_reading/parquet/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/parquet/input/dataset.parquet b/examples/topics/data_frame/data_reading/parquet/input/dataset.parquet deleted file mode 100644 index fd3d921c24..0000000000 Binary files a/examples/topics/data_frame/data_reading/parquet/input/dataset.parquet and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/parquet/output.txt b/examples/topics/data_frame/data_reading/parquet/output.txt deleted file mode 100644 index 8a40f4aaf9..0000000000 --- a/examples/topics/data_frame/data_reading/parquet/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+--------+------------------+--------+ -| id | name | email | active | -+----+--------+------------------+--------+ -| 1 | John | john@email.com | true | -| 2 | Paul | paul@email.com | true | -| 3 | George | george@email.com | false | -| 4 | Ringo | rino@email.com | true | -+----+--------+------------------+--------+ -4 rows diff --git a/examples/topics/data_frame/data_reading/parquet/priority.txt b/examples/topics/data_frame/data_reading/parquet/priority.txt deleted file mode 100644 index d8263ee986..0000000000 --- a/examples/topics/data_frame/data_reading/parquet/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/priority.txt b/examples/topics/data_frame/data_reading/priority.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/data_frame/data_reading/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/sequence_date/code.php b/examples/topics/data_frame/data_reading/sequence_date/code.php deleted file mode 100644 index 4b490a2a82..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date/code.php +++ /dev/null @@ -1,18 +0,0 @@ -read(from_sequence_date_period( - 'date', - new DateTimeImmutable('2024-01-01 00:00:00 UTC'), - new DateInterval('P1D'), - new DateTimeImmutable('2024-01-01 00:00:00 +60 days'), - )) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/sequence_date/composer.json b/examples/topics/data_frame/data_reading/sequence_date/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/sequence_date/composer.lock b/examples/topics/data_frame/data_reading/sequence_date/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/sequence_date/flow_php_example.zip b/examples/topics/data_frame/data_reading/sequence_date/flow_php_example.zip deleted file mode 100644 index 3fb6a1b216..0000000000 Binary files a/examples/topics/data_frame/data_reading/sequence_date/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/sequence_date/hidden.txt b/examples/topics/data_frame/data_reading/sequence_date/hidden.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date/hidden.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/sequence_date/output.txt b/examples/topics/data_frame/data_reading/sequence_date/output.txt deleted file mode 100644 index 616cf804da..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date/output.txt +++ /dev/null @@ -1,65 +0,0 @@ -+------------+ -| date | -+------------+ -| 2024-01-01 | -| 2024-01-02 | -| 2024-01-03 | -| 2024-01-04 | -| 2024-01-05 | -| 2024-01-06 | -| 2024-01-07 | -| 2024-01-08 | -| 2024-01-09 | -| 2024-01-10 | -| 2024-01-11 | -| 2024-01-12 | -| 2024-01-13 | -| 2024-01-14 | -| 2024-01-15 | -| 2024-01-16 | -| 2024-01-17 | -| 2024-01-18 | -| 2024-01-19 | -| 2024-01-20 | -| 2024-01-21 | -| 2024-01-22 | -| 2024-01-23 | -| 2024-01-24 | -| 2024-01-25 | -| 2024-01-26 | -| 2024-01-27 | -| 2024-01-28 | -| 2024-01-29 | -| 2024-01-30 | -| 2024-01-31 | -| 2024-02-01 | -| 2024-02-02 | -| 2024-02-03 | -| 2024-02-04 | -| 2024-02-05 | -| 2024-02-06 | -| 2024-02-07 | -| 2024-02-08 | -| 2024-02-09 | -| 2024-02-10 | -| 2024-02-11 | -| 2024-02-12 | -| 2024-02-13 | -| 2024-02-14 | -| 2024-02-15 | -| 2024-02-16 | -| 2024-02-17 | -| 2024-02-18 | -| 2024-02-19 | -| 2024-02-20 | -| 2024-02-21 | -| 2024-02-22 | -| 2024-02-23 | -| 2024-02-24 | -| 2024-02-25 | -| 2024-02-26 | -| 2024-02-27 | -| 2024-02-28 | -| 2024-02-29 | -+------------+ -60 rows diff --git a/examples/topics/data_frame/data_reading/sequence_date_recurrences/code.php b/examples/topics/data_frame/data_reading/sequence_date_recurrences/code.php deleted file mode 100644 index 05956f978e..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date_recurrences/code.php +++ /dev/null @@ -1,18 +0,0 @@ -read(from_sequence_date_period_recurrences( - 'date', - new DateTimeImmutable('2024-01-01 00:00:00 UTC'), - new DateInterval('P1D'), - recurrences: 60 - )) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/sequence_date_recurrences/composer.json b/examples/topics/data_frame/data_reading/sequence_date_recurrences/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date_recurrences/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/sequence_date_recurrences/composer.lock b/examples/topics/data_frame/data_reading/sequence_date_recurrences/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date_recurrences/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/sequence_date_recurrences/flow_php_example.zip b/examples/topics/data_frame/data_reading/sequence_date_recurrences/flow_php_example.zip deleted file mode 100644 index cfe1bbac35..0000000000 Binary files a/examples/topics/data_frame/data_reading/sequence_date_recurrences/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/sequence_date_recurrences/hidden.txt b/examples/topics/data_frame/data_reading/sequence_date_recurrences/hidden.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date_recurrences/hidden.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/sequence_date_recurrences/output.txt b/examples/topics/data_frame/data_reading/sequence_date_recurrences/output.txt deleted file mode 100644 index 182408165b..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_date_recurrences/output.txt +++ /dev/null @@ -1,66 +0,0 @@ -+------------+ -| date | -+------------+ -| 2024-01-01 | -| 2024-01-02 | -| 2024-01-03 | -| 2024-01-04 | -| 2024-01-05 | -| 2024-01-06 | -| 2024-01-07 | -| 2024-01-08 | -| 2024-01-09 | -| 2024-01-10 | -| 2024-01-11 | -| 2024-01-12 | -| 2024-01-13 | -| 2024-01-14 | -| 2024-01-15 | -| 2024-01-16 | -| 2024-01-17 | -| 2024-01-18 | -| 2024-01-19 | -| 2024-01-20 | -| 2024-01-21 | -| 2024-01-22 | -| 2024-01-23 | -| 2024-01-24 | -| 2024-01-25 | -| 2024-01-26 | -| 2024-01-27 | -| 2024-01-28 | -| 2024-01-29 | -| 2024-01-30 | -| 2024-01-31 | -| 2024-02-01 | -| 2024-02-02 | -| 2024-02-03 | -| 2024-02-04 | -| 2024-02-05 | -| 2024-02-06 | -| 2024-02-07 | -| 2024-02-08 | -| 2024-02-09 | -| 2024-02-10 | -| 2024-02-11 | -| 2024-02-12 | -| 2024-02-13 | -| 2024-02-14 | -| 2024-02-15 | -| 2024-02-16 | -| 2024-02-17 | -| 2024-02-18 | -| 2024-02-19 | -| 2024-02-20 | -| 2024-02-21 | -| 2024-02-22 | -| 2024-02-23 | -| 2024-02-24 | -| 2024-02-25 | -| 2024-02-26 | -| 2024-02-27 | -| 2024-02-28 | -| 2024-02-29 | -| 2024-03-01 | -+------------+ -61 rows diff --git a/examples/topics/data_frame/data_reading/sequence_number/code.php b/examples/topics/data_frame/data_reading/sequence_number/code.php deleted file mode 100644 index 29329cb589..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_number/code.php +++ /dev/null @@ -1,13 +0,0 @@ -read(from_sequence_number('id', start: 0, end: 1000, step: 100)) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/sequence_number/composer.json b/examples/topics/data_frame/data_reading/sequence_number/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_number/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/sequence_number/composer.lock b/examples/topics/data_frame/data_reading/sequence_number/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_number/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/sequence_number/flow_php_example.zip b/examples/topics/data_frame/data_reading/sequence_number/flow_php_example.zip deleted file mode 100644 index 6af48f48a3..0000000000 Binary files a/examples/topics/data_frame/data_reading/sequence_number/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/sequence_number/hidden.txt b/examples/topics/data_frame/data_reading/sequence_number/hidden.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_number/hidden.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/data_frame/data_reading/sequence_number/output.txt b/examples/topics/data_frame/data_reading/sequence_number/output.txt deleted file mode 100644 index fe20b9a85e..0000000000 --- a/examples/topics/data_frame/data_reading/sequence_number/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -+------+ -| id | -+------+ -| 0 | -| 100 | -| 200 | -| 300 | -| 400 | -| 500 | -| 600 | -| 700 | -| 800 | -| 900 | -| 1000 | -+------+ -11 rows diff --git a/examples/topics/data_frame/data_reading/xml/code.php b/examples/topics/data_frame/data_reading/xml/code.php deleted file mode 100644 index f003c0be95..0000000000 --- a/examples/topics/data_frame/data_reading/xml/code.php +++ /dev/null @@ -1,22 +0,0 @@ -read( - from_xml(__DIR__ . '/input/dataset.xml') - ->withXMLNodePath('users/user') - ) - ->withEntry('id', ref('node')->domElementAttributeValue('id')) - ->withEntry('name', ref('node')->xpath('name')->domElementValue()) - ->withEntry('active', ref('node')->xpath('active')->domElementValue()) - ->withEntry('email', ref('node')->xpath('email')->domElementValue()) - ->drop('node') - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_reading/xml/composer.json b/examples/topics/data_frame/data_reading/xml/composer.json deleted file mode 100644 index d01a67a69a..0000000000 --- a/examples/topics/data_frame/data_reading/xml/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-xml": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_reading/xml/composer.lock b/examples/topics/data_frame/data_reading/xml/composer.lock deleted file mode 100644 index 0c94fb6049..0000000000 --- a/examples/topics/data_frame/data_reading/xml/composer.lock +++ /dev/null @@ -1,1045 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "f5c7db7d6f18fc554f1028691353923a", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-xml", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-xml.git", - "reference": "90fd494dc058c3fa48750ef1d98f9ce3d32d0e3b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-xml/zipball/90fd494dc058c3fa48750ef1d98f9ce3d32d0e3b", - "reference": "90fd494dc058c3fa48750ef1d98f9ce3d32d0e3b", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-xml": "*", - "ext-xmlreader": "*", - "ext-xmlwriter": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/XML/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - XML", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "transform", - "xml" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-xml/issues", - "source": "https://github.com/flow-php/etl-adapter-xml/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-xml": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_reading/xml/description.md b/examples/topics/data_frame/data_reading/xml/description.md deleted file mode 100644 index 3f64fdbf50..0000000000 --- a/examples/topics/data_frame/data_reading/xml/description.md +++ /dev/null @@ -1,10 +0,0 @@ -Read data from a XML file. - -```php -function from_xml(string|Path $path); -``` - -Additional options: - -* `withXMLNodePath(string $xmlNodePath)` - XML Node Path doesn’t support attributes, and it's not xpath, it is just a sequence of node names separated with slash -* `withBufferSize(int $size)` - default 8096, the size of the buffer used to iterate through stream diff --git a/examples/topics/data_frame/data_reading/xml/flow_php_example.zip b/examples/topics/data_frame/data_reading/xml/flow_php_example.zip deleted file mode 100644 index 49cebaa85c..0000000000 Binary files a/examples/topics/data_frame/data_reading/xml/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_reading/xml/input/dataset.xml b/examples/topics/data_frame/data_reading/xml/input/dataset.xml deleted file mode 100644 index a17e256d93..0000000000 --- a/examples/topics/data_frame/data_reading/xml/input/dataset.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - alice@example.com - Alice - true - - - bob@example.com - Bob - false - - - charlie@example.com - Charlie - true - - - david@example.com - David - false - - - emma@example.com - Emma - true - - - frank@example.com - Frank - false - - - grace@example.com - Grace - true - - - harry@example.com - Harry - false - - - isla@example.com - Isla - true - - - james@example.com - James - false - - diff --git a/examples/topics/data_frame/data_reading/xml/output.txt b/examples/topics/data_frame/data_reading/xml/output.txt deleted file mode 100644 index b7dbc290e6..0000000000 --- a/examples/topics/data_frame/data_reading/xml/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -+----+---------+--------+---------------------+ -| id | name | active | email | -+----+---------+--------+---------------------+ -| 1 | Alice | true | alice@example.com | -| 2 | Bob | false | bob@example.com | -| 3 | Charlie | true | charlie@example.com | -| 4 | David | false | david@example.com | -| 5 | Emma | true | emma@example.com | -| 6 | Frank | false | frank@example.com | -| 7 | Grace | true | grace@example.com | -| 8 | Harry | false | harry@example.com | -| 9 | Isla | true | isla@example.com | -| 10 | James | false | james@example.com | -+----+---------+--------+---------------------+ -10 rows diff --git a/examples/topics/data_frame/data_reading/xml/priority.txt b/examples/topics/data_frame/data_reading/xml/priority.txt deleted file mode 100644 index 7813681f5b..0000000000 --- a/examples/topics/data_frame/data_reading/xml/priority.txt +++ /dev/null @@ -1 +0,0 @@ -5 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/array/composer.json b/examples/topics/data_frame/data_writing/array/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/data_frame/data_writing/array/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/array/composer.lock b/examples/topics/data_frame/data_writing/array/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/data_writing/array/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/array/description.md b/examples/topics/data_frame/data_writing/array/description.md deleted file mode 100644 index 1cdc0b408c..0000000000 --- a/examples/topics/data_frame/data_writing/array/description.md +++ /dev/null @@ -1,2 +0,0 @@ -Write datasets directly to an associative array. Please pay attention to the memory usage when using array loader. -Large datasets may cause memory overflow. diff --git a/examples/topics/data_frame/data_writing/array/flow_php_example.zip b/examples/topics/data_frame/data_writing/array/flow_php_example.zip deleted file mode 100644 index 5643108efe..0000000000 Binary files a/examples/topics/data_frame/data_writing/array/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/array/output.txt b/examples/topics/data_frame/data_writing/array/output.txt deleted file mode 100644 index 61bf306aee..0000000000 --- a/examples/topics/data_frame/data_writing/array/output.txt +++ /dev/null @@ -1,22 +0,0 @@ -array ( - 0 => - array ( - 'id' => 1, - ), - 1 => - array ( - 'id' => 2, - ), - 2 => - array ( - 'id' => 3, - ), - 3 => - array ( - 'id' => 4, - ), - 4 => - array ( - 'id' => 5, - ), -) \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/array/priority.txt b/examples/topics/data_frame/data_writing/array/priority.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/data_frame/data_writing/array/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/csv/composer.json b/examples/topics/data_frame/data_writing/csv/composer.json deleted file mode 100644 index f78c03ec13..0000000000 --- a/examples/topics/data_frame/data_writing/csv/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/csv/composer.lock b/examples/topics/data_frame/data_writing/csv/composer.lock deleted file mode 100644 index f3d3b7a7aa..0000000000 --- a/examples/topics/data_frame/data_writing/csv/composer.lock +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b28c956d6d21e80a17ea68f1d51a3834", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/083c3c5d490bd0ad33ffbe5b90165a0161190451", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/csv/description.md b/examples/topics/data_frame/data_writing/csv/description.md deleted file mode 100644 index 8e1d1c7fce..0000000000 --- a/examples/topics/data_frame/data_writing/csv/description.md +++ /dev/null @@ -1 +0,0 @@ -Write data to CSV file. \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/csv/flow_php_example.zip b/examples/topics/data_frame/data_writing/csv/flow_php_example.zip deleted file mode 100644 index edc54fa677..0000000000 Binary files a/examples/topics/data_frame/data_writing/csv/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/csv/input/dataset.jsonl b/examples/topics/data_frame/data_writing/csv/input/dataset.jsonl deleted file mode 100644 index 97e9c0353e..0000000000 --- a/examples/topics/data_frame/data_writing/csv/input/dataset.jsonl +++ /dev/null @@ -1,4 +0,0 @@ -{ "id": "1", "name": "John", "email": "john@email.com", "active": "true" } -{ "id": "2", "name": "Paul", "email": "paul@email.com", "active": "true" } -{ "id": "3", "name": "George", "email": "george@email.com", "active": "false" } -{ "id": "4", "name": "Ringo", "email": "rino@email.com", "active": "true" } diff --git a/examples/topics/data_frame/data_writing/csv/output.csv b/examples/topics/data_frame/data_writing/csv/output.csv deleted file mode 100644 index 954a9ee81e..0000000000 --- a/examples/topics/data_frame/data_writing/csv/output.csv +++ /dev/null @@ -1,6 +0,0 @@ -id,name,age -1,John,30 -2,Jane,25 -3,Bob,35 -4,Alice,28 -5,Charlie,32 diff --git a/examples/topics/data_frame/data_writing/csv/priority.txt b/examples/topics/data_frame/data_writing/csv/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/data_writing/csv/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/database/code.php b/examples/topics/data_frame/data_writing/database/code.php deleted file mode 100644 index 21769c24c1..0000000000 --- a/examples/topics/data_frame/data_writing/database/code.php +++ /dev/null @@ -1,53 +0,0 @@ - __DIR__ . '/output/orders.db', - 'driver' => 'pdo_sqlite', -]); - -$schemaManager = $connection->createSchemaManager(); - -if ($schemaManager->tablesExist(['orders'])) { - $schemaManager->dropTable('orders'); -} - -$schemaManager->createTable(new Table( - $table = 'orders', - [ - new Column('order_id', Type::getType(Types::GUID), ['notnull' => true]), - new Column('created_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => true]), - new Column('updated_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => false]), - new Column('discount', Type::getType(Types::FLOAT), ['notnull' => false]), - new Column('email', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), - new Column('customer', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), - new Column('address', Type::getType(Types::JSON), ['notnull' => true]), - new Column('notes', Type::getType(Types::JSON), ['notnull' => true]), - new Column('items', Type::getType(Types::JSON), ['notnull' => true]), - ], -)); - -data_frame() - ->read(from_array(generateOrders(10))) - ->saveMode(overwrite()) - ->write( - to_dbal_table_insert( - DriverManager::getConnection([ - 'path' => __DIR__ . '/output/orders.db', - 'driver' => 'pdo_sqlite', - ]), - 'orders', - ) - ) - ->run(); diff --git a/examples/topics/data_frame/data_writing/database/composer.json b/examples/topics/data_frame/data_writing/database/composer.json deleted file mode 100644 index 48f3f8a64a..0000000000 --- a/examples/topics/data_frame/data_writing/database/composer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/types": "1.x-dev", - "flow-php/array-dot": "1.x-dev", - "flow-php/filesystem": "1.x-dev", - "flow-php/etl-adapter-doctrine": "1.x-dev", - "fakerphp/faker": "^1.24", - "symfony/uid": "^7.2", - "flow-php/doctrine-dbal-bulk": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/database/composer.lock b/examples/topics/data_frame/data_writing/database/composer.lock deleted file mode 100644 index b788e7e41f..0000000000 --- a/examples/topics/data_frame/data_writing/database/composer.lock +++ /dev/null @@ -1,1641 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "9ac6d4dae6ea840e86ce13f562470315", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "doctrine/dbal", - "version": "4.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/dbal.git", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/5e7a0c402ab84b6da62ace07487689d94c57d394", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394", - "shasum": "" - }, - "require": { - "doctrine/deprecations": "^1.1.5", - "php": "^8.2", - "psr/cache": "^1|^2|^3", - "psr/log": "^1|^2|^3" - }, - "require-dev": { - "doctrine/coding-standard": "13.0.1", - "fig/log-test": "^1", - "jetbrains/phpstorm-stubs": "2023.2", - "phpstan/phpstan": "2.1.22", - "phpstan/phpstan-phpunit": "2.0.6", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "11.5.23", - "slevomat/coding-standard": "8.16.2", - "squizlabs/php_codesniffer": "3.13.1", - "symfony/cache": "^6.3.8|^7.0", - "symfony/console": "^5.4|^6.3|^7.0" - }, - "suggest": { - "symfony/console": "For helpful console commands such as SQL execution and import of files." - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\DBAL\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", - "homepage": "https://www.doctrine-project.org/projects/dbal.html", - "keywords": [ - "abstraction", - "database", - "db2", - "dbal", - "mariadb", - "mssql", - "mysql", - "oci8", - "oracle", - "pdo", - "pgsql", - "postgresql", - "queryobject", - "sasql", - "sql", - "sqlite", - "sqlserver", - "sqlsrv" - ], - "support": { - "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/4.4.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", - "type": "tidelift" - } - ], - "time": "2025-10-13T12:04:29+00:00" - }, - { - "name": "doctrine/deprecations", - "version": "1.1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<=7.5 || >=13" - }, - "require-dev": { - "doctrine/coding-standard": "^9 || ^12 || ^14", - "phpstan/phpstan": "1.4.10 || 2.1.30", - "phpstan/phpstan-phpunit": "^1.0 || ^2", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12.4", - "psr/log": "^1 || ^2 || ^3" - }, - "suggest": { - "psr/log": "Allows logging deprecations via PSR-3 logger implementation" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Deprecations\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", - "homepage": "https://www.doctrine-project.org/", - "support": { - "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.x" - }, - "time": "2025-10-20T16:03:06+00:00" - }, - { - "name": "fakerphp/faker", - "version": "1.24.x-dev", - "source": { - "type": "git", - "url": "https://github.com/FakerPHP/Faker.git", - "reference": "f7ac50712e417f008402c8fc889c964e75eecfe9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/f7ac50712e417f008402c8fc889c964e75eecfe9", - "reference": "f7ac50712e417f008402c8fc889c964e75eecfe9", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0", - "psr/container": "^1.0 || ^2.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "conflict": { - "fzaninotto/faker": "*" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "doctrine/persistence": "^1.3 || ^2.0", - "ext-intl": "*", - "phpunit/phpunit": "^9.5.26", - "symfony/phpunit-bridge": "^5.4.16" - }, - "suggest": { - "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", - "ext-curl": "Required by Faker\\Provider\\Image to download images.", - "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", - "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", - "ext-mbstring": "Required for multibyte Unicode string functionality." - }, - "type": "library", - "autoload": { - "psr-4": { - "Faker\\": "src/Faker/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "François Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ], - "support": { - "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/1.24" - }, - "time": "2025-02-22T09:07:46+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/doctrine-dbal-bulk", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/doctrine-dbal-bulk.git", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/doctrine-dbal-bulk/zipball/54c31aceed84591b55cdc29b97d9ac2a1b813181", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Flow\\Doctrine\\Bulk\\": [ - "src/Flow/Doctrine/Bulk" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Bulk inserts and updates for Doctrine DBAL", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "insert", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/doctrine-dbal-bulk/issues", - "source": "https://github.com/flow-php/doctrine-dbal-bulk/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:57+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-doctrine", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-doctrine.git", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-doctrine/zipball/8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "flow-php/doctrine-dbal-bulk": "self.version", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Doctrine/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Doctrine Dbal", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "etl", - "insert", - "loader", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-doctrine/issues", - "source": "https://github.com/flow-php/etl-adapter-doctrine/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:45+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/588d5ff7035e78cd4f69eb798890749ac4641b30", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "suggest": { - "fig/cache-util": "Provides some useful PSR-6 utilities" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "support": { - "source": "https://github.com/php-fig/cache" - }, - "time": "2025-04-11T19:21:12+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/container", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/707984727bd5b2b670e59559d3ed2500240cf875", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container" - }, - "time": "2023-09-22T11:11:30+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-uuid", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-uuid": "*" - }, - "suggest": { - "ext-uuid": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Uuid\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for uuid functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "symfony/uid", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/uid.git", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2498e9f81b7baa206f44de583f2f48350b90142c", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-uuid": "^1.15" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Uid\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to generate and represent UIDs", - "homepage": "https://symfony.com", - "keywords": [ - "UID", - "ulid", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/uid/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-25T11:02:55+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/array-dot": 20, - "flow-php/doctrine-dbal-bulk": 20, - "flow-php/etl": 20, - "flow-php/etl-adapter-doctrine": 20, - "flow-php/filesystem": 20, - "flow-php/types": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/database/flow_php_example.zip b/examples/topics/data_frame/data_writing/database/flow_php_example.zip deleted file mode 100644 index 3708de5838..0000000000 Binary files a/examples/topics/data_frame/data_writing/database/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/database/output/.gitignore b/examples/topics/data_frame/data_writing/database/output/.gitignore deleted file mode 100644 index a2dd5c89f8..0000000000 --- a/examples/topics/data_frame/data_writing/database/output/.gitignore +++ /dev/null @@ -1 +0,0 @@ -orders.db \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/database_delete/composer.json b/examples/topics/data_frame/data_writing/database_delete/composer.json deleted file mode 100644 index b7c6a892b1..0000000000 --- a/examples/topics/data_frame/data_writing/database_delete/composer.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-doctrine": "1.x-dev", - "flow-php/doctrine-dbal-bulk": "1.x-dev", - "fakerphp/faker": "^1.24", - "symfony/uid": "^7.2" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/database_delete/composer.lock b/examples/topics/data_frame/data_writing/database_delete/composer.lock deleted file mode 100644 index 29a990287d..0000000000 --- a/examples/topics/data_frame/data_writing/database_delete/composer.lock +++ /dev/null @@ -1,1638 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "3d08bdad66f315fdfb7fd54fd5eda9ba", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "doctrine/dbal", - "version": "4.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/dbal.git", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/5e7a0c402ab84b6da62ace07487689d94c57d394", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394", - "shasum": "" - }, - "require": { - "doctrine/deprecations": "^1.1.5", - "php": "^8.2", - "psr/cache": "^1|^2|^3", - "psr/log": "^1|^2|^3" - }, - "require-dev": { - "doctrine/coding-standard": "13.0.1", - "fig/log-test": "^1", - "jetbrains/phpstorm-stubs": "2023.2", - "phpstan/phpstan": "2.1.22", - "phpstan/phpstan-phpunit": "2.0.6", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "11.5.23", - "slevomat/coding-standard": "8.16.2", - "squizlabs/php_codesniffer": "3.13.1", - "symfony/cache": "^6.3.8|^7.0", - "symfony/console": "^5.4|^6.3|^7.0" - }, - "suggest": { - "symfony/console": "For helpful console commands such as SQL execution and import of files." - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\DBAL\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", - "homepage": "https://www.doctrine-project.org/projects/dbal.html", - "keywords": [ - "abstraction", - "database", - "db2", - "dbal", - "mariadb", - "mssql", - "mysql", - "oci8", - "oracle", - "pdo", - "pgsql", - "postgresql", - "queryobject", - "sasql", - "sql", - "sqlite", - "sqlserver", - "sqlsrv" - ], - "support": { - "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/4.4.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", - "type": "tidelift" - } - ], - "time": "2025-10-13T12:04:29+00:00" - }, - { - "name": "doctrine/deprecations", - "version": "1.1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<=7.5 || >=13" - }, - "require-dev": { - "doctrine/coding-standard": "^9 || ^12 || ^14", - "phpstan/phpstan": "1.4.10 || 2.1.30", - "phpstan/phpstan-phpunit": "^1.0 || ^2", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12.4", - "psr/log": "^1 || ^2 || ^3" - }, - "suggest": { - "psr/log": "Allows logging deprecations via PSR-3 logger implementation" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Deprecations\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", - "homepage": "https://www.doctrine-project.org/", - "support": { - "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.x" - }, - "time": "2025-10-20T16:03:06+00:00" - }, - { - "name": "fakerphp/faker", - "version": "1.24.x-dev", - "source": { - "type": "git", - "url": "https://github.com/FakerPHP/Faker.git", - "reference": "f7ac50712e417f008402c8fc889c964e75eecfe9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/f7ac50712e417f008402c8fc889c964e75eecfe9", - "reference": "f7ac50712e417f008402c8fc889c964e75eecfe9", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0", - "psr/container": "^1.0 || ^2.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "conflict": { - "fzaninotto/faker": "*" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "doctrine/persistence": "^1.3 || ^2.0", - "ext-intl": "*", - "phpunit/phpunit": "^9.5.26", - "symfony/phpunit-bridge": "^5.4.16" - }, - "suggest": { - "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", - "ext-curl": "Required by Faker\\Provider\\Image to download images.", - "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", - "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", - "ext-mbstring": "Required for multibyte Unicode string functionality." - }, - "type": "library", - "autoload": { - "psr-4": { - "Faker\\": "src/Faker/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "François Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ], - "support": { - "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/1.24" - }, - "time": "2025-02-22T09:07:46+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/doctrine-dbal-bulk", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/doctrine-dbal-bulk.git", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/doctrine-dbal-bulk/zipball/54c31aceed84591b55cdc29b97d9ac2a1b813181", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Flow\\Doctrine\\Bulk\\": [ - "src/Flow/Doctrine/Bulk" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Bulk inserts and updates for Doctrine DBAL", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "insert", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/doctrine-dbal-bulk/issues", - "source": "https://github.com/flow-php/doctrine-dbal-bulk/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:57+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-doctrine", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-doctrine.git", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-doctrine/zipball/8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "flow-php/doctrine-dbal-bulk": "self.version", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Doctrine/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Doctrine Dbal", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "etl", - "insert", - "loader", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-doctrine/issues", - "source": "https://github.com/flow-php/etl-adapter-doctrine/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:45+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/588d5ff7035e78cd4f69eb798890749ac4641b30", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "suggest": { - "fig/cache-util": "Provides some useful PSR-6 utilities" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "support": { - "source": "https://github.com/php-fig/cache" - }, - "time": "2025-04-11T19:21:12+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/container", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/707984727bd5b2b670e59559d3ed2500240cf875", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container" - }, - "time": "2023-09-22T11:11:30+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-uuid", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-uuid": "*" - }, - "suggest": { - "ext-uuid": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Uuid\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for uuid functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "symfony/uid", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/uid.git", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2498e9f81b7baa206f44de583f2f48350b90142c", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-uuid": "^1.15" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Uid\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to generate and represent UIDs", - "homepage": "https://symfony.com", - "keywords": [ - "UID", - "ulid", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/uid/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-25T11:02:55+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/doctrine-dbal-bulk": 20, - "flow-php/etl": 20, - "flow-php/etl-adapter-doctrine": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/database_delete/description.md b/examples/topics/data_frame/data_writing/database_delete/description.md deleted file mode 100644 index 5c850ac41e..0000000000 --- a/examples/topics/data_frame/data_writing/database_delete/description.md +++ /dev/null @@ -1,5 +0,0 @@ -# Delete rows from the database that are matching rows in the DataFrame. - -- `to_dbal_table_delete(...)` - - diff --git a/examples/topics/data_frame/data_writing/database_delete/flow_php_example.zip b/examples/topics/data_frame/data_writing/database_delete/flow_php_example.zip deleted file mode 100644 index dd1add66d5..0000000000 Binary files a/examples/topics/data_frame/data_writing/database_delete/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/database_delete/output/.gitignore b/examples/topics/data_frame/data_writing/database_delete/output/.gitignore deleted file mode 100644 index a2dd5c89f8..0000000000 --- a/examples/topics/data_frame/data_writing/database_delete/output/.gitignore +++ /dev/null @@ -1 +0,0 @@ -orders.db \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/database_upsert/code.php b/examples/topics/data_frame/data_writing/database_upsert/code.php deleted file mode 100644 index 64a33c2f01..0000000000 --- a/examples/topics/data_frame/data_writing/database_upsert/code.php +++ /dev/null @@ -1,93 +0,0 @@ - __DIR__ . '/output/orders.db', - 'driver' => 'pdo_sqlite', -]); - -$schemaManager = $connection->createSchemaManager(); - -if (!$schemaManager->tablesExist(['orders'])) { - $schemaManager->createTable(new Table( - $table = 'orders', - [ - new Column('order_id', Type::getType(Types::GUID), ['notnull' => true]), - new Column('created_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => true]), - new Column('updated_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => false]), - new Column('discount', Type::getType(Types::FLOAT), ['notnull' => false]), - new Column('email', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), - new Column('customer', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), - new Column('address', Type::getType(Types::JSON), ['notnull' => true]), - new Column('notes', Type::getType(Types::JSON), ['notnull' => true]), - new Column('items', Type::getType(Types::JSON), ['notnull' => true]), - ], - uniqueConstraints: [ - new UniqueConstraint('orders_order_id', ['order_id']), - ] - )); -} - -$orderIds = [ - 'c0a43894-0102-4a4e-9fcd-393ef9e4f16a', - '83fd51a4-9bd1-4b40-8f6e-6a7cc940bb5a', - '7c65db1a-410f-4e91-8aeb-66fb3f1665f7', - '5af1d56c-a9f7-411e-8738-865942d6c40f', - '3a3ae1a9-debd-425a-8f9d-63c3315bc483', - '27d8ee4d-94cc-47fa-bc14-209a4ab2eb45', - 'cc4fd722-1407-4781-9ad4-fa53966060af', - '718360e1-c4c9-40f4-84e2-6f7898788883', - 'ea7c731c-ce3b-40bb-bbf8-79f1c717b6ca', - '17b0d6c5-dd8f-4d5a-ae06-1df15b67c82c', -]; - -data_frame() - ->read(from_array(generateStaticOrders($orderIds))) - ->write( - to_dbal_table_insert( - DriverManager::getConnection([ - 'path' => __DIR__ . '/output/orders.db', - 'driver' => 'pdo_sqlite', - ]), - 'orders', - sqlite_insert_options(conflict_columns: ['order_id']) - ) - ) - // second insert that normally would fail due to Integrity constraint violation - ->write( - to_dbal_table_insert( - DriverManager::getConnection([ - 'path' => __DIR__ . '/output/orders.db', - 'driver' => 'pdo_sqlite', - ]), - 'orders', - sqlite_insert_options(conflict_columns: ['order_id']) - ) - ) - ->run(); - -data_frame() - ->read( - from_dbal_query( - DriverManager::getConnection([ - 'path' => __DIR__ . '/output/orders.db', - 'driver' => 'pdo_sqlite', - ]), - 'SELECT COUNT(*) as total_rows FROM orders' - ) - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_writing/database_upsert/composer.json b/examples/topics/data_frame/data_writing/database_upsert/composer.json deleted file mode 100644 index b7c6a892b1..0000000000 --- a/examples/topics/data_frame/data_writing/database_upsert/composer.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-doctrine": "1.x-dev", - "flow-php/doctrine-dbal-bulk": "1.x-dev", - "fakerphp/faker": "^1.24", - "symfony/uid": "^7.2" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/database_upsert/composer.lock b/examples/topics/data_frame/data_writing/database_upsert/composer.lock deleted file mode 100644 index 29a990287d..0000000000 --- a/examples/topics/data_frame/data_writing/database_upsert/composer.lock +++ /dev/null @@ -1,1638 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "3d08bdad66f315fdfb7fd54fd5eda9ba", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "doctrine/dbal", - "version": "4.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/dbal.git", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/5e7a0c402ab84b6da62ace07487689d94c57d394", - "reference": "5e7a0c402ab84b6da62ace07487689d94c57d394", - "shasum": "" - }, - "require": { - "doctrine/deprecations": "^1.1.5", - "php": "^8.2", - "psr/cache": "^1|^2|^3", - "psr/log": "^1|^2|^3" - }, - "require-dev": { - "doctrine/coding-standard": "13.0.1", - "fig/log-test": "^1", - "jetbrains/phpstorm-stubs": "2023.2", - "phpstan/phpstan": "2.1.22", - "phpstan/phpstan-phpunit": "2.0.6", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "11.5.23", - "slevomat/coding-standard": "8.16.2", - "squizlabs/php_codesniffer": "3.13.1", - "symfony/cache": "^6.3.8|^7.0", - "symfony/console": "^5.4|^6.3|^7.0" - }, - "suggest": { - "symfony/console": "For helpful console commands such as SQL execution and import of files." - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\DBAL\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", - "homepage": "https://www.doctrine-project.org/projects/dbal.html", - "keywords": [ - "abstraction", - "database", - "db2", - "dbal", - "mariadb", - "mssql", - "mysql", - "oci8", - "oracle", - "pdo", - "pgsql", - "postgresql", - "queryobject", - "sasql", - "sql", - "sqlite", - "sqlserver", - "sqlsrv" - ], - "support": { - "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/4.4.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", - "type": "tidelift" - } - ], - "time": "2025-10-13T12:04:29+00:00" - }, - { - "name": "doctrine/deprecations", - "version": "1.1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "reference": "f2d689fe323089a5ea25893cefe8fd2e82b6b3c3", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<=7.5 || >=13" - }, - "require-dev": { - "doctrine/coding-standard": "^9 || ^12 || ^14", - "phpstan/phpstan": "1.4.10 || 2.1.30", - "phpstan/phpstan-phpunit": "^1.0 || ^2", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12.4", - "psr/log": "^1 || ^2 || ^3" - }, - "suggest": { - "psr/log": "Allows logging deprecations via PSR-3 logger implementation" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Deprecations\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", - "homepage": "https://www.doctrine-project.org/", - "support": { - "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.x" - }, - "time": "2025-10-20T16:03:06+00:00" - }, - { - "name": "fakerphp/faker", - "version": "1.24.x-dev", - "source": { - "type": "git", - "url": "https://github.com/FakerPHP/Faker.git", - "reference": "f7ac50712e417f008402c8fc889c964e75eecfe9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/f7ac50712e417f008402c8fc889c964e75eecfe9", - "reference": "f7ac50712e417f008402c8fc889c964e75eecfe9", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0", - "psr/container": "^1.0 || ^2.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "conflict": { - "fzaninotto/faker": "*" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "doctrine/persistence": "^1.3 || ^2.0", - "ext-intl": "*", - "phpunit/phpunit": "^9.5.26", - "symfony/phpunit-bridge": "^5.4.16" - }, - "suggest": { - "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", - "ext-curl": "Required by Faker\\Provider\\Image to download images.", - "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", - "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", - "ext-mbstring": "Required for multibyte Unicode string functionality." - }, - "type": "library", - "autoload": { - "psr-4": { - "Faker\\": "src/Faker/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "François Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ], - "support": { - "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/1.24" - }, - "time": "2025-02-22T09:07:46+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/doctrine-dbal-bulk", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/doctrine-dbal-bulk.git", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/doctrine-dbal-bulk/zipball/54c31aceed84591b55cdc29b97d9ac2a1b813181", - "reference": "54c31aceed84591b55cdc29b97d9ac2a1b813181", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Flow\\Doctrine\\Bulk\\": [ - "src/Flow/Doctrine/Bulk" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Bulk inserts and updates for Doctrine DBAL", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "insert", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/doctrine-dbal-bulk/issues", - "source": "https://github.com/flow-php/doctrine-dbal-bulk/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:57+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-doctrine", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-doctrine.git", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-doctrine/zipball/8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "reference": "8ad6eab57be94eb8d827c10e086691ddd27ff84b", - "shasum": "" - }, - "require": { - "doctrine/dbal": "^3.6 || ^4.0", - "flow-php/doctrine-dbal-bulk": "self.version", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Doctrine/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Doctrine Dbal", - "keywords": [ - "bulk", - "dbal", - "doctrine", - "etl", - "insert", - "loader", - "upsert" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-doctrine/issues", - "source": "https://github.com/flow-php/etl-adapter-doctrine/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:45+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/588d5ff7035e78cd4f69eb798890749ac4641b30", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "suggest": { - "fig/cache-util": "Provides some useful PSR-6 utilities" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "support": { - "source": "https://github.com/php-fig/cache" - }, - "time": "2025-04-11T19:21:12+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/container", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/707984727bd5b2b670e59559d3ed2500240cf875", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container" - }, - "time": "2023-09-22T11:11:30+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-uuid", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-uuid": "*" - }, - "suggest": { - "ext-uuid": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Uuid\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for uuid functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "symfony/uid", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/uid.git", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2498e9f81b7baa206f44de583f2f48350b90142c", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-uuid": "^1.15" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Uid\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to generate and represent UIDs", - "homepage": "https://symfony.com", - "keywords": [ - "UID", - "ulid", - "uuid" - ], - "support": { - "source": "https://github.com/symfony/uid/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-25T11:02:55+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/doctrine-dbal-bulk": 20, - "flow-php/etl": 20, - "flow-php/etl-adapter-doctrine": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/database_upsert/description.md b/examples/topics/data_frame/data_writing/database_upsert/description.md deleted file mode 100644 index bdd07a2df9..0000000000 --- a/examples/topics/data_frame/data_writing/database_upsert/description.md +++ /dev/null @@ -1,15 +0,0 @@ -# Upsert (insert or update) data into a database - -There are two ways to update data in the database: - -- `to_dbal_table_insert(...)` -- `to_dbal_table_update(...)` - -In order to insert or update data in the database you need to -use InsertOptions which are platform-specific. - -- `MySQLInsertOptions` - `mysql_insert_options(...)` -- `PostgreSQLInsertOptions` - `postgresql_insert_options(...)` -- `SQLiteInsertOptions` - `sqlite_insert_options(...)` - - diff --git a/examples/topics/data_frame/data_writing/database_upsert/flow_php_example.zip b/examples/topics/data_frame/data_writing/database_upsert/flow_php_example.zip deleted file mode 100644 index 1c1eca5f98..0000000000 Binary files a/examples/topics/data_frame/data_writing/database_upsert/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/database_upsert/output.txt b/examples/topics/data_frame/data_writing/database_upsert/output.txt deleted file mode 100644 index 8538dfcf33..0000000000 --- a/examples/topics/data_frame/data_writing/database_upsert/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+------------+ -| total_rows | -+------------+ -| 10 | -+------------+ -1 rows diff --git a/examples/topics/data_frame/data_writing/database_upsert/output/.gitignore b/examples/topics/data_frame/data_writing/database_upsert/output/.gitignore deleted file mode 100644 index a2dd5c89f8..0000000000 --- a/examples/topics/data_frame/data_writing/database_upsert/output/.gitignore +++ /dev/null @@ -1 +0,0 @@ -orders.db \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/elasticsearch/.env.dist b/examples/topics/data_frame/data_writing/elasticsearch/.env.dist deleted file mode 100644 index 68cefadd5f..0000000000 --- a/examples/topics/data_frame/data_writing/elasticsearch/.env.dist +++ /dev/null @@ -1 +0,0 @@ -ELASTICSEARCH_URL=localhost:9200 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/elasticsearch/code.php b/examples/topics/data_frame/data_writing/elasticsearch/code.php deleted file mode 100644 index 852f627324..0000000000 --- a/examples/topics/data_frame/data_writing/elasticsearch/code.php +++ /dev/null @@ -1,57 +0,0 @@ -load(__DIR__ . '/.env'); - -data_frame() - ->read(from_array([ - ['id' => 1, 'text' => 'lorem ipsum'], - ['id' => 2, 'text' => 'lorem ipsum'], - ['id' => 3, 'text' => 'lorem ipsum'], - ['id' => 4, 'text' => 'lorem ipsum'], - ['id' => 5, 'text' => 'lorem ipsum'], - ['id' => 6, 'text' => 'lorem ipsum'], - ])) - ->write( - to_es_bulk_index( - [ - 'hosts' => [$_ENV['ELASTICSEARCH_URL']], - ], - $index = 'test_index', - entry_id_factory('id') - ) - ) - ->run(); - -data_frame() - ->read(from_es( - [ - 'hosts' => [$_ENV['ELASTICSEARCH_URL']], - ], - [ - 'index' => $index, - 'body' => [ - 'query' => [ - 'match_all' => ['boost' => 1.0], - ], - ], - ] - )) - ->write(to_stream(__DIR__ . '/output.raw.txt', truncate: false)) - ->with(es_hits_to_rows()) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_writing/elasticsearch/composer.json b/examples/topics/data_frame/data_writing/elasticsearch/composer.json deleted file mode 100644 index 249aae8537..0000000000 --- a/examples/topics/data_frame/data_writing/elasticsearch/composer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-elasticsearch": "1.x-dev", - "symfony/dotenv": "^7.2" - }, - "minimum-stability": "dev", - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/elasticsearch/composer.lock b/examples/topics/data_frame/data_writing/elasticsearch/composer.lock deleted file mode 100644 index 92bb34e915..0000000000 --- a/examples/topics/data_frame/data_writing/elasticsearch/composer.lock +++ /dev/null @@ -1,2224 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "2b39aa2b5d38f70f4543c0bae54509f5", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "elastic/transport", - "version": "8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/elastic/elastic-transport-php.git", - "reference": "1d476af5dc0b74530d59b67d5dd96ee39768d5a4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/elastic/elastic-transport-php/zipball/1d476af5dc0b74530d59b67d5dd96ee39768d5a4", - "reference": "1d476af5dc0b74530d59b67d5dd96ee39768d5a4", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.0", - "open-telemetry/api": "^1.0", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.14", - "php-http/httplug": "^2.3", - "psr/http-client": "^1.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.0 || ^2.0", - "psr/log": "^1 || ^2 || ^3" - }, - "require-dev": { - "nyholm/psr7": "^1.5", - "open-telemetry/sdk": "^1.0", - "php-http/mock-client": "^1.5", - "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^9.5", - "symfony/http-client": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Elastic\\Transport\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "HTTP transport PHP library for Elastic products", - "keywords": [ - "PSR_17", - "elastic", - "http", - "psr-18", - "psr-7", - "transport" - ], - "support": { - "issues": "https://github.com/elastic/elastic-transport-php/issues", - "source": "https://github.com/elastic/elastic-transport-php/tree/main" - }, - "time": "2025-04-02T08:20:33+00:00" - }, - { - "name": "elasticsearch/elasticsearch", - "version": "8.19.x-dev", - "source": { - "type": "git", - "url": "https://github.com/elastic/elasticsearch-php.git", - "reference": "1771284cb43a7b653634d418b6f5f0ec84ff8a6d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/elastic/elasticsearch-php/zipball/1771284cb43a7b653634d418b6f5f0ec84ff8a6d", - "reference": "1771284cb43a7b653634d418b6f5f0ec84ff8a6d", - "shasum": "" - }, - "require": { - "elastic/transport": "^8.11", - "guzzlehttp/guzzle": "^7.0", - "php": "^7.4 || ^8.0", - "psr/http-client": "^1.0", - "psr/http-message": "^1.1 || ^2.0", - "psr/log": "^1|^2|^3" - }, - "require-dev": { - "ext-yaml": "*", - "ext-zip": "*", - "mockery/mockery": "^1.5", - "nyholm/psr7": "^1.5", - "php-http/mock-client": "^1.5", - "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^9.5", - "psr/http-factory": "^1.0", - "symfony/finder": "~4.0", - "symfony/http-client": "^5.0|^6.0|^7.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Elastic\\Elasticsearch\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP Client for Elasticsearch", - "keywords": [ - "client", - "elastic", - "elasticsearch", - "search" - ], - "support": { - "issues": "https://github.com/elastic/elasticsearch-php/issues", - "source": "https://github.com/elastic/elasticsearch-php/tree/8.19" - }, - "time": "2025-08-06T16:58:06+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-elasticsearch", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-elasticsearch.git", - "reference": "3fdd06d68f6eea1f890b97da8102a56a99d624de" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-elasticsearch/zipball/3fdd06d68f6eea1f890b97da8102a56a99d624de", - "reference": "3fdd06d68f6eea1f890b97da8102a56a99d624de", - "shasum": "" - }, - "require": { - "elasticsearch/elasticsearch": "^7.6|^8.0", - "ext-hash": "*", - "ext-json": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Elasticsearch/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Elasticsearch", - "keywords": [ - "adapter", - "elasticsearch", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-elasticsearch/issues", - "source": "https://github.com/flow-php/etl-adapter-elasticsearch/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:32+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "guzzlehttp/guzzle", - "version": "7.10.x-dev", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", - "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", - "shasum": "" - }, - "require": { - "ext-json": "*", - "guzzlehttp/promises": "^2.3", - "guzzlehttp/psr7": "^2.8", - "php": "^7.2.5 || ^8.0", - "psr/http-client": "^1.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "provide": { - "psr/http-client-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "ext-curl": "*", - "guzzle/client-integration-tests": "3.0.2", - "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.39 || ^9.6.20", - "psr/log": "^1.1 || ^2.0 || ^3.0" - }, - "suggest": { - "ext-curl": "Required for CURL handler support", - "ext-intl": "Required for Internationalized Domain Name (IDN) support", - "psr/log": "Required for using the Log middleware" - }, - "default-branch": true, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "GuzzleHttp\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Jeremy Lindblom", - "email": "jeremeamia@gmail.com", - "homepage": "https://github.com/jeremeamia" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "psr-18", - "psr-7", - "rest", - "web service" - ], - "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.10.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", - "type": "tidelift" - } - ], - "time": "2025-08-23T22:36:01+00:00" - }, - { - "name": "guzzlehttp/promises", - "version": "2.3.x-dev", - "source": { - "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "481557b130ef3790cf82b713667b43030dc9c957" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957", - "reference": "481557b130ef3790cf82b713667b43030dc9c957", - "shasum": "" - }, - "require": { - "php": "^7.2.5 || ^8.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.44 || ^9.6.25" - }, - "default-branch": true, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - } - ], - "description": "Guzzle promises library", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.3.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", - "type": "tidelift" - } - ], - "time": "2025-08-22T14:34:08+00:00" - }, - { - "name": "guzzlehttp/psr7", - "version": "2.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "21dc724a0583619cd1652f673303492272778051" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051", - "reference": "21dc724a0583619cd1652f673303492272778051", - "shasum": "" - }, - "require": { - "php": "^7.2.5 || ^8.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0", - "ralouphie/getallheaders": "^3.0" - }, - "provide": { - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "0.9.0", - "phpunit/phpunit": "^8.5.44 || ^9.6.25" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" - }, - "default-branch": true, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "PSR-7 message implementation that also provides common utility methods", - "keywords": [ - "http", - "message", - "psr-7", - "request", - "response", - "stream", - "uri", - "url" - ], - "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.8.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", - "type": "tidelift" - } - ], - "time": "2025-08-23T21:21:41+00:00" - }, - { - "name": "open-telemetry/api", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/api.git", - "reference": "45bda7efa8fcdd9bdb0daa2f26c8e31f062f49d4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/45bda7efa8fcdd9bdb0daa2f26c8e31f062f49d4", - "reference": "45bda7efa8fcdd9bdb0daa2f26c8e31f062f49d4", - "shasum": "" - }, - "require": { - "open-telemetry/context": "^1.4", - "php": "^8.1", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-php82": "^1.26" - }, - "conflict": { - "open-telemetry/sdk": "<=1.0.8" - }, - "default-branch": true, - "type": "library", - "extra": { - "spi": { - "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\HookManagerInterface": [ - "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\ExtensionHookManager" - ] - }, - "branch-alias": { - "dev-main": "1.8.x-dev" - } - }, - "autoload": { - "files": [ - "Trace/functions.php" - ], - "psr-4": { - "OpenTelemetry\\API\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "API for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "api", - "apm", - "logging", - "opentelemetry", - "otel", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/languages/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2025-10-19T10:49:48+00:00" - }, - { - "name": "open-telemetry/context", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/context.git", - "reference": "d4c4470b541ce72000d18c339cfee633e4c8e0cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/d4c4470b541ce72000d18c339cfee633e4c8e0cf", - "reference": "d4c4470b541ce72000d18c339cfee633e4c8e0cf", - "shasum": "" - }, - "require": { - "php": "^8.1", - "symfony/polyfill-php82": "^1.26" - }, - "suggest": { - "ext-ffi": "To allow context switching in Fibers" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "autoload": { - "files": [ - "fiber/initialize_fiber_handler.php" - ], - "psr-4": { - "OpenTelemetry\\Context\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "Context implementation for OpenTelemetry PHP.", - "keywords": [ - "Context", - "opentelemetry", - "otel" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2025-09-19T00:05:49+00:00" - }, - { - "name": "php-http/discovery", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "sebastian/comparator": "^3.0.5 || ^4.0.8", - "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1" - }, - "default-branch": true, - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.20.0" - }, - "time": "2024-10-02T11:20:13+00:00" - }, - { - "name": "php-http/httplug", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/httplug.git", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/37819ce3c78ed2e7d001de68b38e697bbd525f89", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "php-http/promise": "^1.1", - "psr/http-client": "^1.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", - "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Eric GELOEN", - "email": "geloen.eric@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "HTTPlug, the HTTP client abstraction for PHP", - "homepage": "http://httplug.io", - "keywords": [ - "client", - "http" - ], - "support": { - "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.x" - }, - "time": "2024-09-23T13:25:15+00:00" - }, - { - "name": "php-http/promise", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/promise.git", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/12e12043e9ed9ddc6ea8481593fb230150227416", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", - "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Joel Wurtz", - "email": "joel.wurtz@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Promise used for asynchronous HTTP requests", - "homepage": "http://httplug.io", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.x" - }, - "time": "2024-10-02T11:48:29+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/http-client", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory" - }, - "time": "2024-04-15T12:06:14+00:00" - }, - { - "name": "psr/http-message", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" - }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "ralouphie/getallheaders", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/getallheaders.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" - } - ], - "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" - }, - "time": "2019-03-08T08:55:37+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/dotenv", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/dotenv.git", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/4a53037ff205b68310ea43d4e999dac54375751c", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c", - "shasum": "" - }, - "require": { - "php": ">=8.2" - }, - "conflict": { - "symfony/console": "<6.4", - "symfony/process": "<6.4" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Dotenv\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Registers environment variables from a .env file", - "homepage": "https://symfony.com", - "keywords": [ - "dotenv", - "env", - "environment" - ], - "support": { - "source": "https://github.com/symfony/dotenv/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-08-09T22:28:14+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-php82", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php82.git", - "reference": "5d2ed36f7734637dacc025f179698031951b1692" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/5d2ed36f7734637dacc025f179698031951b1692", - "reference": "5d2ed36f7734637dacc025f179698031951b1692", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php82\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php82/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-elasticsearch": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/elasticsearch/flow_php_example.zip b/examples/topics/data_frame/data_writing/elasticsearch/flow_php_example.zip deleted file mode 100644 index d432760f69..0000000000 Binary files a/examples/topics/data_frame/data_writing/elasticsearch/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/elasticsearch/output.raw.txt b/examples/topics/data_frame/data_writing/elasticsearch/output.raw.txt deleted file mode 100644 index 2c75848147..0000000000 --- a/examples/topics/data_frame/data_writing/elasticsearch/output.raw.txt +++ /dev/null @@ -1,6 +0,0 @@ -+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| took | timed_out | _shards | hits | -+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| 0 | false | {"total":1,"successful":1,"skipped":0,"failed":0} | {"total":{"value":6,"relation":"eq"},"max_score":1,"hits":[{"_index":"test_index","_type":"_doc","_id":"1","_score":1,"_source":{"id":1,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"2","_score":1,"_source":{"id":2,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"3","_score":1,"_source":{"id":3,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"4","_score":1,"_source":{"id":4,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"5","_score":1,"_source":{"id":5,"text":"lorem ipsum"}},{"_index":"test_index","_type":"_doc","_id":"6","_score":1,"_source":{"id":6,"text":"lorem ipsum"}}]} | -+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -1 rows diff --git a/examples/topics/data_frame/data_writing/elasticsearch/output.txt b/examples/topics/data_frame/data_writing/elasticsearch/output.txt deleted file mode 100644 index fe30613a39..0000000000 --- a/examples/topics/data_frame/data_writing/elasticsearch/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -+----+-------------+ -| id | text | -+----+-------------+ -| 1 | lorem ipsum | -| 2 | lorem ipsum | -| 3 | lorem ipsum | -| 4 | lorem ipsum | -| 5 | lorem ipsum | -| 6 | lorem ipsum | -+----+-------------+ -6 rows diff --git a/examples/topics/data_frame/data_writing/jsonl/composer.json b/examples/topics/data_frame/data_writing/jsonl/composer.json deleted file mode 100644 index 084ffb6cf9..0000000000 --- a/examples/topics/data_frame/data_writing/jsonl/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-json": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/jsonl/composer.lock b/examples/topics/data_frame/data_writing/jsonl/composer.lock deleted file mode 100644 index db9e1d8ffb..0000000000 --- a/examples/topics/data_frame/data_writing/jsonl/composer.lock +++ /dev/null @@ -1,1105 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "af6c4391c99415b72b13fff9244b4507", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-json", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-json.git", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-json/zipball/16a33adefb3c47599245fede9653baa8b9336e71", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "halaxa/json-machine": "^1.1", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/JSON/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - JSON", - "keywords": [ - "adapter", - "etl", - "extract", - "json", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-json/issues", - "source": "https://github.com/flow-php/etl-adapter-json/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:22:01+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "halaxa/json-machine", - "version": "1.2.5", - "source": { - "type": "git", - "url": "https://github.com/halaxa/json-machine.git", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/halaxa/json-machine/zipball/d0f84abf79ac98145d478b66d2bcf363d706477c", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c", - "shasum": "" - }, - "require": { - "php": "7.2 - 8.4" - }, - "require-dev": { - "ext-json": "*", - "friendsofphp/php-cs-fixer": "^3.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0" - }, - "suggest": { - "ext-json": "To run JSON Machine out of the box without custom decoders.", - "guzzlehttp/guzzle": "To run example with GuzzleHttp" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "JsonMachine\\": "src/" - }, - "exclude-from-classmap": [ - "src/autoloader.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Filip Halaxa", - "email": "filip@halaxa.cz" - } - ], - "description": "Efficient, easy-to-use and fast JSON pull parser", - "support": { - "issues": "https://github.com/halaxa/json-machine/issues", - "source": "https://github.com/halaxa/json-machine/tree/1.2.5" - }, - "funding": [ - { - "url": "https://ko-fi.com/G2G57KTE4", - "type": "other" - } - ], - "time": "2025-07-07T13:38:34+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-json": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/jsonl/description.md b/examples/topics/data_frame/data_writing/jsonl/description.md deleted file mode 100644 index 8225461642..0000000000 --- a/examples/topics/data_frame/data_writing/jsonl/description.md +++ /dev/null @@ -1,2 +0,0 @@ -Write data to a [json lines](https://jsonlines.org/) formatted file. -Each row will become a vald JSON object. diff --git a/examples/topics/data_frame/data_writing/jsonl/flow_php_example.zip b/examples/topics/data_frame/data_writing/jsonl/flow_php_example.zip deleted file mode 100644 index a0f53c11b7..0000000000 Binary files a/examples/topics/data_frame/data_writing/jsonl/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/jsonl/input/dataset.jsonl b/examples/topics/data_frame/data_writing/jsonl/input/dataset.jsonl deleted file mode 100644 index 97e9c0353e..0000000000 --- a/examples/topics/data_frame/data_writing/jsonl/input/dataset.jsonl +++ /dev/null @@ -1,4 +0,0 @@ -{ "id": "1", "name": "John", "email": "john@email.com", "active": "true" } -{ "id": "2", "name": "Paul", "email": "paul@email.com", "active": "true" } -{ "id": "3", "name": "George", "email": "george@email.com", "active": "false" } -{ "id": "4", "name": "Ringo", "email": "rino@email.com", "active": "true" } diff --git a/examples/topics/data_frame/data_writing/jsonl/output.json b/examples/topics/data_frame/data_writing/jsonl/output.json deleted file mode 100644 index 4c1e10bd47..0000000000 --- a/examples/topics/data_frame/data_writing/jsonl/output.json +++ /dev/null @@ -1,5 +0,0 @@ -{"id":1,"name":"John","age":30} -{"id":2,"name":"Jane","age":25} -{"id":3,"name":"Bob","age":35} -{"id":4,"name":"Alice","age":28} -{"id":5,"name":"Charlie","age":32} diff --git a/examples/topics/data_frame/data_writing/jsonl/priority.txt b/examples/topics/data_frame/data_writing/jsonl/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/data_writing/jsonl/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/overwrite/code.php b/examples/topics/data_frame/data_writing/overwrite/code.php deleted file mode 100644 index c63d29bb21..0000000000 --- a/examples/topics/data_frame/data_writing/overwrite/code.php +++ /dev/null @@ -1,25 +0,0 @@ -read(from_csv(__DIR__ . '/input/file.csv')) - ->saveMode(overwrite()) - ->write(to_csv(__DIR__ . '/output/file.csv')) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); - -data_frame() - ->read(from_csv(__DIR__ . '/output/file.csv')) - ->saveMode(overwrite()) - ->drop('name') - ->write(to_csv(__DIR__ . '/output/file.csv')) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/data_writing/overwrite/composer.json b/examples/topics/data_frame/data_writing/overwrite/composer.json deleted file mode 100644 index f78c03ec13..0000000000 --- a/examples/topics/data_frame/data_writing/overwrite/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/overwrite/composer.lock b/examples/topics/data_frame/data_writing/overwrite/composer.lock deleted file mode 100644 index f3d3b7a7aa..0000000000 --- a/examples/topics/data_frame/data_writing/overwrite/composer.lock +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b28c956d6d21e80a17ea68f1d51a3834", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/083c3c5d490bd0ad33ffbe5b90165a0161190451", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/overwrite/flow_php_example.zip b/examples/topics/data_frame/data_writing/overwrite/flow_php_example.zip deleted file mode 100644 index a30d465a4b..0000000000 Binary files a/examples/topics/data_frame/data_writing/overwrite/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/overwrite/input/file.csv b/examples/topics/data_frame/data_writing/overwrite/input/file.csv deleted file mode 100644 index b3a58a24b3..0000000000 --- a/examples/topics/data_frame/data_writing/overwrite/input/file.csv +++ /dev/null @@ -1,5 +0,0 @@ -id,name -1,"John Doe" -2,"Jane Doe" -3,"Tom Doe" -4,"Jerry Doe" diff --git a/examples/topics/data_frame/data_writing/overwrite/output.txt b/examples/topics/data_frame/data_writing/overwrite/output.txt deleted file mode 100644 index 940c8504f5..0000000000 --- a/examples/topics/data_frame/data_writing/overwrite/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+ -| id | -+----+ -| 1 | -| 2 | -| 3 | -| 4 | -+----+ -4 rows diff --git a/examples/topics/data_frame/data_writing/overwrite/output/.gitignore b/examples/topics/data_frame/data_writing/overwrite/output/.gitignore deleted file mode 100644 index c96a04f008..0000000000 --- a/examples/topics/data_frame/data_writing/overwrite/output/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/parquet/composer.json b/examples/topics/data_frame/data_writing/parquet/composer.json deleted file mode 100644 index 11460984e0..0000000000 --- a/examples/topics/data_frame/data_writing/parquet/composer.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-parquet": "1.x-dev", - "flow-php/parquet": "1.x-dev", - "flow-php/snappy": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/parquet/composer.lock b/examples/topics/data_frame/data_writing/parquet/composer.lock deleted file mode 100644 index 2c079bc2a6..0000000000 --- a/examples/topics/data_frame/data_writing/parquet/composer.lock +++ /dev/null @@ -1,1209 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "2eabf1f65e6473cf400e493cf75a324d", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-parquet.git", - "reference": "30cd4f89fa5c28584924b0fa24b7868946da7f9f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-parquet/zipball/30cd4f89fa5c28584924b0fa24b7868946da7f9f", - "reference": "30cd4f89fa5c28584924b0fa24b7868946da7f9f", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "flow-php/parquet": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Parquet/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Parquet", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-parquet/issues", - "source": "https://github.com/flow-php/etl-adapter-parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:32+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/parquet.git", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/parquet/zipball/0db0c55955b04c31ba1dc190b721e8d4655d48be", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.1", - "ext-bcmath": "*", - "ext-zlib": "*", - "flow-php/filesystem": "self.version", - "flow-php/snappy": "self.version", - "packaged/thrift": "^0.15.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Parquet/functions.php", - "src/stubs.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - library for reading and writing Parquet files", - "keywords": [ - "etl", - "extract", - "filter", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/parquet/issues", - "source": "https://github.com/flow-php/parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:32+00:00" - }, - { - "name": "flow-php/snappy", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/snappy.git", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/snappy/zipball/60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "polyfill.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Google Snappy compression algorithm implementation", - "keywords": [ - "Algorithm", - "compression", - "etl", - "extract", - "filter", - "load", - "snappy", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/snappy/issues", - "source": "https://github.com/flow-php/snappy/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:52:53+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "packaged/thrift", - "version": "0.15.0", - "source": { - "type": "git", - "url": "https://github.com/packaged/thrift.git", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/packaged/thrift/zipball/dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "shasum": "" - }, - "require": { - "php": "^5.5 || ^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Thrift\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Apache Thrift", - "homepage": "http://thrift.apache.org/", - "keywords": [ - "apache", - "thrift" - ], - "support": { - "issues": "https://github.com/packaged/thrift/issues", - "source": "https://github.com/packaged/thrift/tree/0.15.0" - }, - "time": "2021-09-23T10:34:40+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-parquet": 20, - "flow-php/parquet": 20, - "flow-php/snappy": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/parquet/description.md b/examples/topics/data_frame/data_writing/parquet/description.md deleted file mode 100644 index d1ac9555b8..0000000000 --- a/examples/topics/data_frame/data_writing/parquet/description.md +++ /dev/null @@ -1,11 +0,0 @@ -Write data to a parquet file. - -```php -function to_parquet(string|Path $path) : Loader -``` - -Additional options: - -* `withOptions(\Flow\Parquet\Options $options)` - [Options](https://github.com/flow-php/flow/blob/1.x/src/lib/parquet/src/Flow/Parquet/Options.php) for the parquet writer -* `withCompression(Compressions $compression)` - default `Compressions::SNAPPY`, supports one of the following [Compressions](https://github.com/flow-php/flow/blob/1.x/src/lib/parquet/src/Flow/Parquet/ParquetFile/Compressions.php) -* `withSchema(Schema $schema)` - when provided writer will use this instead of inferring schema from each rows batch \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/parquet/flow_php_example.zip b/examples/topics/data_frame/data_writing/parquet/flow_php_example.zip deleted file mode 100644 index 4ad91da4c6..0000000000 Binary files a/examples/topics/data_frame/data_writing/parquet/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/parquet/output.parquet b/examples/topics/data_frame/data_writing/parquet/output.parquet deleted file mode 100644 index 1b7e786085..0000000000 Binary files a/examples/topics/data_frame/data_writing/parquet/output.parquet and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/parquet/priority.txt b/examples/topics/data_frame/data_writing/parquet/priority.txt deleted file mode 100644 index d8263ee986..0000000000 --- a/examples/topics/data_frame/data_writing/parquet/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/priority.txt b/examples/topics/data_frame/data_writing/priority.txt deleted file mode 100644 index d8263ee986..0000000000 --- a/examples/topics/data_frame/data_writing/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/text/composer.json b/examples/topics/data_frame/data_writing/text/composer.json deleted file mode 100644 index b242aae6f6..0000000000 --- a/examples/topics/data_frame/data_writing/text/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-text": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/text/composer.lock b/examples/topics/data_frame/data_writing/text/composer.lock deleted file mode 100644 index e4d200341b..0000000000 --- a/examples/topics/data_frame/data_writing/text/composer.lock +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "5452008d70277cac613e0533d0d60302", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-text", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-text.git", - "reference": "e73c66dfc13c5c32f98c6e68a45d0b7ef8457565" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-text/zipball/e73c66dfc13c5c32f98c6e68a45d0b7ef8457565", - "reference": "e73c66dfc13c5c32f98c6e68a45d0b7ef8457565", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Text/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Text", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "text", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-text/issues", - "source": "https://github.com/flow-php/etl-adapter-text/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:53+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-text": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/text/description.md b/examples/topics/data_frame/data_writing/text/description.md deleted file mode 100644 index aaa3294867..0000000000 --- a/examples/topics/data_frame/data_writing/text/description.md +++ /dev/null @@ -1,2 +0,0 @@ -Write data to text file. -**Important** - writing to file is only possible for rows with one column. \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/text/flow_php_example.zip b/examples/topics/data_frame/data_writing/text/flow_php_example.zip deleted file mode 100644 index 537e5b49b4..0000000000 Binary files a/examples/topics/data_frame/data_writing/text/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/text/input/dataset.jsonl b/examples/topics/data_frame/data_writing/text/input/dataset.jsonl deleted file mode 100644 index 97e9c0353e..0000000000 --- a/examples/topics/data_frame/data_writing/text/input/dataset.jsonl +++ /dev/null @@ -1,4 +0,0 @@ -{ "id": "1", "name": "John", "email": "john@email.com", "active": "true" } -{ "id": "2", "name": "Paul", "email": "paul@email.com", "active": "true" } -{ "id": "3", "name": "George", "email": "george@email.com", "active": "false" } -{ "id": "4", "name": "Ringo", "email": "rino@email.com", "active": "true" } diff --git a/examples/topics/data_frame/data_writing/text/output.txt b/examples/topics/data_frame/data_writing/text/output.txt deleted file mode 100644 index 3cc9fa2b85..0000000000 --- a/examples/topics/data_frame/data_writing/text/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -1_John_30 -2_Jane_25 -3_Bob_35 -4_Alice_28 -5_Charlie_32 diff --git a/examples/topics/data_frame/data_writing/text/priority.txt b/examples/topics/data_frame/data_writing/text/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/data_writing/text/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/xml/composer.json b/examples/topics/data_frame/data_writing/xml/composer.json deleted file mode 100644 index d01a67a69a..0000000000 --- a/examples/topics/data_frame/data_writing/xml/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-xml": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/data_writing/xml/composer.lock b/examples/topics/data_frame/data_writing/xml/composer.lock deleted file mode 100644 index 0c94fb6049..0000000000 --- a/examples/topics/data_frame/data_writing/xml/composer.lock +++ /dev/null @@ -1,1045 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "f5c7db7d6f18fc554f1028691353923a", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-xml", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-xml.git", - "reference": "90fd494dc058c3fa48750ef1d98f9ce3d32d0e3b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-xml/zipball/90fd494dc058c3fa48750ef1d98f9ce3d32d0e3b", - "reference": "90fd494dc058c3fa48750ef1d98f9ce3d32d0e3b", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-xml": "*", - "ext-xmlreader": "*", - "ext-xmlwriter": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/XML/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - XML", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "transform", - "xml" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-xml/issues", - "source": "https://github.com/flow-php/etl-adapter-xml/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-xml": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/data_writing/xml/description.md b/examples/topics/data_frame/data_writing/xml/description.md deleted file mode 100644 index faa1d1f40b..0000000000 --- a/examples/topics/data_frame/data_writing/xml/description.md +++ /dev/null @@ -1 +0,0 @@ -Write data to XML file. \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/xml/flow_php_example.zip b/examples/topics/data_frame/data_writing/xml/flow_php_example.zip deleted file mode 100644 index 530424b804..0000000000 Binary files a/examples/topics/data_frame/data_writing/xml/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/data_frame/data_writing/xml/input/dataset.jsonl b/examples/topics/data_frame/data_writing/xml/input/dataset.jsonl deleted file mode 100644 index 97e9c0353e..0000000000 --- a/examples/topics/data_frame/data_writing/xml/input/dataset.jsonl +++ /dev/null @@ -1,4 +0,0 @@ -{ "id": "1", "name": "John", "email": "john@email.com", "active": "true" } -{ "id": "2", "name": "Paul", "email": "paul@email.com", "active": "true" } -{ "id": "3", "name": "George", "email": "george@email.com", "active": "false" } -{ "id": "4", "name": "Ringo", "email": "rino@email.com", "active": "true" } diff --git a/examples/topics/data_frame/data_writing/xml/output.xml b/examples/topics/data_frame/data_writing/xml/output.xml deleted file mode 100644 index 13b89b466e..0000000000 --- a/examples/topics/data_frame/data_writing/xml/output.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -1John30 -2Jane25 -3Bob35 -4Alice28 -5Charlie32 - \ No newline at end of file diff --git a/examples/topics/data_frame/data_writing/xml/priority.txt b/examples/topics/data_frame/data_writing/xml/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/data_frame/data_writing/xml/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/data_frame/priority.txt b/examples/topics/data_frame/priority.txt deleted file mode 100644 index e440e5c842..0000000000 --- a/examples/topics/data_frame/priority.txt +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/examples/topics/data_frame/transformations/custom/code.php b/examples/topics/data_frame/transformations/custom/code.php deleted file mode 100644 index b1a61fa3d2..0000000000 --- a/examples/topics/data_frame/transformations/custom/code.php +++ /dev/null @@ -1,32 +0,0 @@ -read( - from_array([ - ['id' => 1, 'first_name' => 'John', 'last_name' => 'Doe'], - ['id' => 2, 'first_name' => 'Jane', 'last_name' => 'Smith'], - ['id' => 3, 'first_name' => 'Bob', 'last_name' => 'Johnson'], - ['id' => 4, 'first_name' => 'Alice', 'last_name' => 'Williams'], - ]) - ) - ->with( - /** - * Create new column "name" by concatenating "first_name" and "last_name" columns. - */ - new class implements Transformation { - public function transform(Flow\ETL\DataFrame $dataFrame) : Flow\ETL\DataFrame - { - return $dataFrame->withEntry('name', concat_ws(lit(' '), ref('first_name'), ref('last_name'))); - } - } - ) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/transformations/custom/composer.json b/examples/topics/data_frame/transformations/custom/composer.json deleted file mode 100644 index f6b3c2820b..0000000000 --- a/examples/topics/data_frame/transformations/custom/composer.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/transformations/custom/composer.lock b/examples/topics/data_frame/transformations/custom/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/transformations/custom/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/transformations/custom/description.md b/examples/topics/data_frame/transformations/custom/description.md deleted file mode 100644 index 0104980143..0000000000 --- a/examples/topics/data_frame/transformations/custom/description.md +++ /dev/null @@ -1,11 +0,0 @@ -Transformations are reusable blocks of transformations that can be applied to a data frame. -The main goal of `Transformations` is to a gruop together a set of transformations. - -Transformation needs to implement the `Transformation` interface. - -```php -interface Transformation -{ - public function transform(DataFrame $dataFrame) : DataFrame; -} -``` \ No newline at end of file diff --git a/examples/topics/data_frame/transformations/custom/description.txt b/examples/topics/data_frame/transformations/custom/description.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/examples/topics/data_frame/transformations/custom/output.txt b/examples/topics/data_frame/transformations/custom/output.txt deleted file mode 100644 index 1e90206250..0000000000 --- a/examples/topics/data_frame/transformations/custom/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+------------+-----------+----------------+ -| id | first_name | last_name | name | -+----+------------+-----------+----------------+ -| 1 | John | Doe | John Doe | -| 2 | Jane | Smith | Jane Smith | -| 3 | Bob | Johnson | Bob Johnson | -| 4 | Alice | Williams | Alice Williams | -+----+------------+-----------+----------------+ -4 rows diff --git a/examples/topics/data_frame/transformations/select/code.php b/examples/topics/data_frame/transformations/select/code.php deleted file mode 100644 index 2bba150bcd..0000000000 --- a/examples/topics/data_frame/transformations/select/code.php +++ /dev/null @@ -1,21 +0,0 @@ -read( - from_array([ - ['id' => 1, 'first_name' => 'John', 'last_name' => 'Doe'], - ['id' => 2, 'first_name' => 'Jane', 'last_name' => 'Smith'], - ['id' => 3, 'first_name' => 'Bob', 'last_name' => 'Johnson'], - ['id' => 4, 'first_name' => 'Alice', 'last_name' => 'Williams'], - ]) - ) - ->with(select('id')) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/data_frame/transformations/select/composer.json b/examples/topics/data_frame/transformations/select/composer.json deleted file mode 100644 index f6b3c2820b..0000000000 --- a/examples/topics/data_frame/transformations/select/composer.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/data_frame/transformations/select/composer.lock b/examples/topics/data_frame/transformations/select/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/data_frame/transformations/select/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/data_frame/transformations/select/description.md b/examples/topics/data_frame/transformations/select/description.md deleted file mode 100644 index a944b59ace..0000000000 --- a/examples/topics/data_frame/transformations/select/description.md +++ /dev/null @@ -1,3 +0,0 @@ -There are also several predefined transformations, like for example `select`. -Select is also available directly through `DataFrame::select()` API. -Transformations are also great way for improving data processing pipelines readability. \ No newline at end of file diff --git a/examples/topics/data_frame/transformations/select/output.txt b/examples/topics/data_frame/transformations/select/output.txt deleted file mode 100644 index 940c8504f5..0000000000 --- a/examples/topics/data_frame/transformations/select/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+ -| id | -+----+ -| 1 | -| 2 | -| 3 | -| 4 | -+----+ -4 rows diff --git a/examples/topics/filesystem/.gitignore b/examples/topics/filesystem/.gitignore deleted file mode 100644 index 845959db09..0000000000 --- a/examples/topics/filesystem/.gitignore +++ /dev/null @@ -1 +0,0 @@ -**/.env \ No newline at end of file diff --git a/examples/topics/filesystem/azure/.env.dist b/examples/topics/filesystem/azure/.env.dist deleted file mode 100644 index 42b9bdec64..0000000000 --- a/examples/topics/filesystem/azure/.env.dist +++ /dev/null @@ -1,3 +0,0 @@ -AZURE_ACCOUNT="xxx" -AZURE_ACCOUNT_KEY="xxxx" -AZURE_CONTAINER="xxx" \ No newline at end of file diff --git a/examples/topics/filesystem/azure/code.php b/examples/topics/filesystem/azure/code.php deleted file mode 100644 index 90ca1a3d24..0000000000 --- a/examples/topics/filesystem/azure/code.php +++ /dev/null @@ -1,53 +0,0 @@ -load(__DIR__ . '/.env'); - -$config = config_builder() - ->mount( - azure_filesystem( - azure_blob_service( - azure_blob_service_config( - $_ENV['AZURE_ACCOUNT'], - $_ENV['AZURE_CONTAINER'] - ), - azure_shared_key_authorization_factory( - $_ENV['AZURE_ACCOUNT'], - $_ENV['AZURE_ACCOUNT_KEY'] - ), - ) - ) - ); - -data_frame($config) - ->read(from_array([ - ['id' => 1, 'name' => 'test'], - ['id' => 2, 'name' => 'test'], - ['id' => 3, 'name' => 'test'], - ['id' => 4, 'name' => 'test'], - ])) - ->saveMode(overwrite()) - ->write(to_parquet(path('azure-blob://test.parquet'))) - ->run(); - -data_frame($config) - ->read(from_parquet(path('azure-blob://test.parquet'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/filesystem/azure/composer.json b/examples/topics/filesystem/azure/composer.json deleted file mode 100644 index 52adcca4b0..0000000000 --- a/examples/topics/filesystem/azure/composer.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "symfony/dotenv": "^7.2", - "flow-php/filesystem-azure-bridge": "1.x-dev", - "flow-php/etl-adapter-parquet": "1.x-dev", - "flow-php/filesystem": "1.x-dev", - "flow-php/snappy": "1.x-dev", - "flow-php/parquet": "1.x-dev", - "nyholm/psr7": "^1.8", - "php-http/curl-client": "^2.3" - }, - "minimum-stability": "dev", - "config": { - "allow-plugins": { - "php-http/discovery": false - } - }, - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/filesystem/azure/composer.lock b/examples/topics/filesystem/azure/composer.lock deleted file mode 100644 index dc07a43a36..0000000000 --- a/examples/topics/filesystem/azure/composer.lock +++ /dev/null @@ -1,2173 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "f41321fecebce13f2684c25b8957eb2c", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "clue/stream-filter", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/clue/stream-filter.git", - "reference": "b2eb64756f9f66292c2043f4021f4205839ad5ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/clue/stream-filter/zipball/b2eb64756f9f66292c2043f4021f4205839ad5ed", - "reference": "b2eb64756f9f66292c2043f4021f4205839ad5ed", - "shasum": "" - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "Clue\\StreamFilter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - } - ], - "description": "A simple and modern approach to stream filtering in PHP", - "homepage": "https://github.com/clue/stream-filter", - "keywords": [ - "bucket brigade", - "callback", - "filter", - "php_user_filter", - "stream", - "stream_filter_append", - "stream_filter_register" - ], - "support": { - "issues": "https://github.com/clue/stream-filter/issues", - "source": "https://github.com/clue/stream-filter/tree/1.x" - }, - "funding": [ - { - "url": "https://clue.engineering/support", - "type": "custom" - }, - { - "url": "https://github.com/clue", - "type": "github" - } - ], - "time": "2025-07-21T18:15:30+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/azure-sdk", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/azure-sdk.git", - "reference": "aa798a69332d216b796096adc15f41a867496a7f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/azure-sdk/zipball/aa798a69332d216b796096adc15f41a867496a7f", - "reference": "aa798a69332d216b796096adc15f41a867496a7f", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "php-http/discovery": "^1.0", - "psr/http-client": "^1.0", - "psr/log": "^2.0 || ^3.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Azure/SDK/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/azure-sdk/issues", - "source": "https://github.com/flow-php/azure-sdk/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:30+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-parquet.git", - "reference": "30cd4f89fa5c28584924b0fa24b7868946da7f9f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-parquet/zipball/30cd4f89fa5c28584924b0fa24b7868946da7f9f", - "reference": "30cd4f89fa5c28584924b0fa24b7868946da7f9f", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "flow-php/parquet": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Parquet/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Parquet", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-parquet/issues", - "source": "https://github.com/flow-php/etl-adapter-parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:32+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/filesystem-azure-bridge", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem-azure-bridge.git", - "reference": "7c03de0d37fbfa593ea70a5d42867fc13c3463c6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem-azure-bridge/zipball/7c03de0d37fbfa593ea70a5d42867fc13c3463c6", - "reference": "7c03de0d37fbfa593ea70a5d42867fc13c3463c6", - "shasum": "" - }, - "require": { - "flow-php/azure-sdk": "self.version", - "flow-php/filesystem": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/Bridge/Azure/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Flow Filesystem Azure Bridge", - "keywords": [ - "azure", - "blob", - "cloud", - "filesystem", - "range", - "read", - "remote", - "storage", - "stream" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem-azure-bridge/issues", - "source": "https://github.com/flow-php/filesystem-azure-bridge/tree/0.22.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-07-20T12:35:08+00:00" - }, - { - "name": "flow-php/parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/parquet.git", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/parquet/zipball/0db0c55955b04c31ba1dc190b721e8d4655d48be", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.1", - "ext-bcmath": "*", - "ext-zlib": "*", - "flow-php/filesystem": "self.version", - "flow-php/snappy": "self.version", - "packaged/thrift": "^0.15.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Parquet/functions.php", - "src/stubs.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - library for reading and writing Parquet files", - "keywords": [ - "etl", - "extract", - "filter", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/parquet/issues", - "source": "https://github.com/flow-php/parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:32+00:00" - }, - { - "name": "flow-php/snappy", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/snappy.git", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/snappy/zipball/60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "polyfill.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Google Snappy compression algorithm implementation", - "keywords": [ - "Algorithm", - "compression", - "etl", - "extract", - "filter", - "load", - "snappy", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/snappy/issues", - "source": "https://github.com/flow-php/snappy/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:52:53+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "nyholm/psr7", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/Nyholm/psr7.git", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "shasum": "" - }, - "require": { - "php": ">=7.2", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0", - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "php-http/message-factory": "^1.0", - "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "symfony/error-handler": "^4.4" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Nyholm\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com" - }, - { - "name": "Martijn van der Ven", - "email": "martijn@vanderven.se" - } - ], - "description": "A fast PHP7 implementation of PSR-7", - "homepage": "https://tnyholm.se", - "keywords": [ - "psr-17", - "psr-7" - ], - "support": { - "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.8.2" - }, - "funding": [ - { - "url": "https://github.com/Zegnat", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2024-09-09T07:06:30+00:00" - }, - { - "name": "packaged/thrift", - "version": "0.15.0", - "source": { - "type": "git", - "url": "https://github.com/packaged/thrift.git", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/packaged/thrift/zipball/dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "shasum": "" - }, - "require": { - "php": "^5.5 || ^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Thrift\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Apache Thrift", - "homepage": "http://thrift.apache.org/", - "keywords": [ - "apache", - "thrift" - ], - "support": { - "issues": "https://github.com/packaged/thrift/issues", - "source": "https://github.com/packaged/thrift/tree/0.15.0" - }, - "time": "2021-09-23T10:34:40+00:00" - }, - { - "name": "php-http/curl-client", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/curl-client.git", - "reference": "f3eb48d266341afec0229a7a37a03521d3646b81" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/curl-client/zipball/f3eb48d266341afec0229a7a37a03521d3646b81", - "reference": "f3eb48d266341afec0229a7a37a03521d3646b81", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.6", - "php-http/httplug": "^2.0", - "php-http/message": "^1.2", - "psr/http-client": "^1.0", - "psr/http-factory-implementation": "^1.0", - "symfony/options-resolver": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "provide": { - "php-http/async-client-implementation": "1.0", - "php-http/client-implementation": "1.0", - "psr/http-client-implementation": "1.0" - }, - "require-dev": { - "guzzlehttp/psr7": "^2.0", - "laminas/laminas-diactoros": "^2.0 || ^3.0", - "php-http/client-integration-tests": "^3.0", - "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^7.5 || ^9.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\Curl\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Михаил Красильников", - "email": "m.krasilnikov@yandex.ru" - } - ], - "description": "PSR-18 and HTTPlug Async client with cURL", - "homepage": "http://php-http.org", - "keywords": [ - "curl", - "http", - "psr-18" - ], - "support": { - "issues": "https://github.com/php-http/curl-client/issues", - "source": "https://github.com/php-http/curl-client/tree/2.3.3" - }, - "time": "2024-10-31T07:36:58+00:00" - }, - { - "name": "php-http/discovery", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "sebastian/comparator": "^3.0.5 || ^4.0.8", - "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1" - }, - "default-branch": true, - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.20.0" - }, - "time": "2024-10-02T11:20:13+00:00" - }, - { - "name": "php-http/httplug", - "version": "2.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/httplug.git", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/37819ce3c78ed2e7d001de68b38e697bbd525f89", - "reference": "37819ce3c78ed2e7d001de68b38e697bbd525f89", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "php-http/promise": "^1.1", - "psr/http-client": "^1.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", - "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Eric GELOEN", - "email": "geloen.eric@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "HTTPlug, the HTTP client abstraction for PHP", - "homepage": "http://httplug.io", - "keywords": [ - "client", - "http" - ], - "support": { - "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.x" - }, - "time": "2024-09-23T13:25:15+00:00" - }, - { - "name": "php-http/message", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/message.git", - "reference": "a1c3b1e24d07f986c6867bf632ffa168e4eeaaef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/message/zipball/a1c3b1e24d07f986c6867bf632ffa168e4eeaaef", - "reference": "a1c3b1e24d07f986c6867bf632ffa168e4eeaaef", - "shasum": "" - }, - "require": { - "clue/stream-filter": "^1.5", - "php": "^7.2 || ^8.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.6", - "ext-zlib": "*", - "guzzlehttp/psr7": "^1.0 || ^2.0", - "laminas/laminas-diactoros": "^2.0 || ^3.0", - "php-http/message-factory": "^1.0.2", - "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", - "slim/slim": "^3.0" - }, - "suggest": { - "ext-zlib": "Used with compressor/decompressor streams", - "guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories", - "laminas/laminas-diactoros": "Used with Diactoros Factories", - "slim/slim": "Used with Slim Framework PSR-7 implementation" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/filters.php" - ], - "psr-4": { - "Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "HTTP Message related tools", - "homepage": "http://php-http.org", - "keywords": [ - "http", - "message", - "psr-7" - ], - "support": { - "issues": "https://github.com/php-http/message/issues", - "source": "https://github.com/php-http/message/tree/1.x" - }, - "time": "2025-02-16T16:17:27+00:00" - }, - { - "name": "php-http/promise", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/php-http/promise.git", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/12e12043e9ed9ddc6ea8481593fb230150227416", - "reference": "12e12043e9ed9ddc6ea8481593fb230150227416", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", - "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Http\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Joel Wurtz", - "email": "joel.wurtz@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Promise used for asynchronous HTTP requests", - "homepage": "http://httplug.io", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.x" - }, - "time": "2024-10-02T11:48:29+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/http-client", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory" - }, - "time": "2024-04-15T12:06:14+00:00" - }, - { - "name": "psr/http-message", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" - }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/dotenv", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/dotenv.git", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/4a53037ff205b68310ea43d4e999dac54375751c", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c", - "shasum": "" - }, - "require": { - "php": ">=8.2" - }, - "conflict": { - "symfony/console": "<6.4", - "symfony/process": "<6.4" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Dotenv\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Registers environment variables from a .env file", - "homepage": "https://symfony.com", - "keywords": [ - "dotenv", - "env", - "environment" - ], - "support": { - "source": "https://github.com/symfony/dotenv/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-08-09T22:28:14+00:00" - }, - { - "name": "symfony/options-resolver", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/options-resolver.git", - "reference": "3324bca1ff334c8807a3968882edb76ea708b955" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/3324bca1ff334c8807a3968882edb76ea708b955", - "reference": "3324bca1ff334c8807a3968882edb76ea708b955", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\OptionsResolver\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an improved replacement for the array_replace PHP function", - "homepage": "https://symfony.com", - "keywords": [ - "config", - "configuration", - "options" - ], - "support": { - "source": "https://github.com/symfony/options-resolver/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-08-13T16:46:49+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-parquet": 20, - "flow-php/filesystem": 20, - "flow-php/filesystem-azure-bridge": 20, - "flow-php/parquet": 20, - "flow-php/snappy": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/filesystem/azure/flow_php_example.zip b/examples/topics/filesystem/azure/flow_php_example.zip deleted file mode 100644 index 4f14c4f36d..0000000000 Binary files a/examples/topics/filesystem/azure/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/filesystem/azure/output.txt b/examples/topics/filesystem/azure/output.txt deleted file mode 100644 index 29132f0a0c..0000000000 --- a/examples/topics/filesystem/azure/output.txt +++ /dev/null @@ -1,24 +0,0 @@ -+----+------+ -| id | name | -+----+------+ -| 1 | test | -+----+------+ -1 rows -+----+------+ -| id | name | -+----+------+ -| 2 | test | -+----+------+ -1 rows -+----+------+ -| id | name | -+----+------+ -| 3 | test | -+----+------+ -1 rows -+----+------+ -| id | name | -+----+------+ -| 4 | test | -+----+------+ -1 rows diff --git a/examples/topics/filesystem/azure/priority.txt b/examples/topics/filesystem/azure/priority.txt deleted file mode 100644 index d8263ee986..0000000000 --- a/examples/topics/filesystem/azure/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/examples/topics/filesystem/local/composer.json b/examples/topics/filesystem/local/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/filesystem/local/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/filesystem/local/composer.lock b/examples/topics/filesystem/local/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/filesystem/local/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/filesystem/local/description.md b/examples/topics/filesystem/local/description.md deleted file mode 100644 index 31a359b923..0000000000 --- a/examples/topics/filesystem/local/description.md +++ /dev/null @@ -1,46 +0,0 @@ -Flow is based on a dedicated file system library that provides a clear -separation between reading/writing streams. - -Filesystem component is available as a standalone package; - -``` -composer require flow-php/filesystem -``` - -It was inspired by a linux FStab, and similarly to it to start -using a filesystem it needs to be first mounted. -By default `fstab()` function registers two default filesystems: - -- local native filesystem -- stdout write-only filesystem - -All filesystems supports listing files and opening streams -into which you can read or write data. - -## Listing Files ---- - -To list files use `Filesystem::list(Path $path)` method -which also supports `glob` pattern. - -List method returns and generator of `FileStatus` objects. - -Alternatively to check if a single file exists, use `Filesystem::status(Path $path) : ?FileStatus` - -## Reading Data ---- - -Reading data from a filesystem is done by opening a stream -and deciding if you want to read it at once or in chunks. - -Additionally, you can read a part of a file from a specific offset. - -## Writing Data ---- - -Writing data to a filesystem is done by opening a stream throught -one of two methods: - -- `appendTo(Path $path) : DestinationStream` -- `writeTo(Path $path) : DestinationStream` - diff --git a/examples/topics/filesystem/local/flow_php_example.zip b/examples/topics/filesystem/local/flow_php_example.zip deleted file mode 100644 index 94b3467e32..0000000000 Binary files a/examples/topics/filesystem/local/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/filesystem/local/output.txt b/examples/topics/filesystem/local/output.txt deleted file mode 100644 index 76af001e8d..0000000000 --- a/examples/topics/filesystem/local/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -Files List - -File: code.php -File: composer.json -File: composer.lock -File: description.md -File: flow_php_example.zip -File: output.txt -File: priority.txt diff --git a/examples/topics/filesystem/local/priority.txt b/examples/topics/filesystem/local/priority.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/filesystem/local/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/filesystem/priority.txt b/examples/topics/filesystem/priority.txt deleted file mode 100644 index bf0d87ab1b..0000000000 --- a/examples/topics/filesystem/priority.txt +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/examples/topics/filesystem/s3/.env.dist b/examples/topics/filesystem/s3/.env.dist deleted file mode 100644 index 5370f2892d..0000000000 --- a/examples/topics/filesystem/s3/.env.dist +++ /dev/null @@ -1,4 +0,0 @@ -AWS_S3_KEY="xxx" -AWS_S3_SECRET="xxx" -AWS_S3_BUCKET="xxx" -AWS_S3_REGION="xxx" \ No newline at end of file diff --git a/examples/topics/filesystem/s3/.gitignore b/examples/topics/filesystem/s3/.gitignore deleted file mode 100644 index db27dc8011..0000000000 --- a/examples/topics/filesystem/s3/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.env -vendor \ No newline at end of file diff --git a/examples/topics/filesystem/s3/code.php b/examples/topics/filesystem/s3/code.php deleted file mode 100644 index 6bfb70062b..0000000000 --- a/examples/topics/filesystem/s3/code.php +++ /dev/null @@ -1,58 +0,0 @@ -load(__DIR__ . '/.env'); - -$config = config_builder() - ->mount( - aws_s3_filesystem( - $_ENV['AWS_S3_BUCKET'], - aws_s3_client([ - 'region' => $_ENV['AWS_S3_REGION'], - 'accessKeyId' => $_ENV['AWS_S3_KEY'], - 'accessKeySecret' => $_ENV['AWS_S3_SECRET'], - ]) - ) - ); - -data_frame($config) - ->read(from_array([ - ['id' => 1, 'name' => 'test'], - ['id' => 2, 'name' => 'test'], - ['id' => 3, 'name' => 'test'], - ['id' => 4, 'name' => 'test'], - ])) - ->saveMode(overwrite()) - ->write(to_parquet(path('aws-s3://test.parquet'))) - ->write(to_csv(path('aws-s3://test.csv'))) - ->write(to_xml(path('aws-s3://test.xml'))) - ->write(to_json(path('aws-s3://test.json'))) - ->withEntry('line', ref('id')->concat(lit('_'), ref('name'))) - ->drop('id', 'name') - ->write(to_text(path('aws-s3://test.txt'))) - ->run(); - -data_frame($config) - ->read(from_parquet(path('aws-s3://test.parquet'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/filesystem/s3/composer.json b/examples/topics/filesystem/s3/composer.json deleted file mode 100644 index 514f3b0254..0000000000 --- a/examples/topics/filesystem/s3/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "flow-php/etl": "1.x-dev", - "symfony/dotenv": "^7.2", - "flow-php/filesystem-async-aws-bridge": "1.x-dev", - "flow-php/etl-adapter-parquet": "1.x-dev", - "flow-php/etl-adapter-text": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev", - "flow-php/etl-adapter-xml": "1.x-dev", - "flow-php/etl-adapter-json": "1.x-dev", - "flow-php/filesystem": "1.x-dev", - "flow-php/snappy": "1.x-dev", - "flow-php/parquet": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/filesystem/s3/composer.lock b/examples/topics/filesystem/s3/composer.lock deleted file mode 100644 index 54e363c3b0..0000000000 --- a/examples/topics/filesystem/s3/composer.lock +++ /dev/null @@ -1,2307 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "9d08820b55af90084eeedc184c1e0f83", - "packages": [ - { - "name": "async-aws/core", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/async-aws/core.git", - "reference": "fbab1ff21be283c1e9d02618ad53c38153da15a5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/async-aws/core/zipball/fbab1ff21be283c1e9d02618ad53c38153da15a5", - "reference": "fbab1ff21be283c1e9d02618ad53c38153da15a5", - "shasum": "" - }, - "require": { - "ext-hash": "*", - "ext-json": "*", - "ext-simplexml": "*", - "php": "^8.2", - "psr/cache": "^1.0 || ^2.0 || ^3.0", - "psr/log": "^1.0 || ^2.0 || ^3.0", - "symfony/deprecation-contracts": "^2.1 || ^3.0", - "symfony/http-client": "^4.4.16 || ^5.1.7 || ^6.0 || ^7.0 || ^8.0", - "symfony/http-client-contracts": "^1.1.8 || ^2.0 || ^3.0", - "symfony/service-contracts": "^1.0 || ^2.0 || ^3.0" - }, - "conflict": { - "async-aws/s3": "<1.1", - "symfony/http-client": "5.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^11.5.42", - "symfony/error-handler": "^7.3.2 || ^8.0", - "symfony/phpunit-bridge": "^7.3.2 || ^8.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.28-dev" - } - }, - "autoload": { - "psr-4": { - "AsyncAws\\Core\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Core package to integrate with AWS. This is a lightweight AWS SDK provider by AsyncAws.", - "keywords": [ - "amazon", - "async-aws", - "aws", - "sdk", - "sts" - ], - "support": { - "source": "https://github.com/async-aws/core/tree/master" - }, - "funding": [ - { - "url": "https://github.com/jderusse", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2025-10-30T02:31:11+00:00" - }, - { - "name": "async-aws/s3", - "version": "2.10.0", - "source": { - "type": "git", - "url": "https://github.com/async-aws/s3.git", - "reference": "9c826ab620dbdc99528f0ad0b728ef9d478714db" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/async-aws/s3/zipball/9c826ab620dbdc99528f0ad0b728ef9d478714db", - "reference": "9c826ab620dbdc99528f0ad0b728ef9d478714db", - "shasum": "" - }, - "require": { - "async-aws/core": "^1.22", - "ext-dom": "*", - "ext-filter": "*", - "ext-hash": "*", - "ext-simplexml": "*", - "php": "^7.2.5 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.10-dev" - } - }, - "autoload": { - "psr-4": { - "AsyncAws\\S3\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "S3 client, part of the AWS SDK provided by AsyncAws.", - "keywords": [ - "amazon", - "async-aws", - "aws", - "s3", - "sdk" - ], - "support": { - "source": "https://github.com/async-aws/s3/tree/2.10.0" - }, - "funding": [ - { - "url": "https://github.com/jderusse", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2025-08-11T10:03:27+00:00" - }, - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "4eb3ff9c54262cae33f5d7f17bfbb094233ce442" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/4eb3ff9c54262cae33f5d7f17bfbb094233ce442", - "reference": "4eb3ff9c54262cae33f5d7f17bfbb094233ce442", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-29T12:40:29+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "935f8fb543249c6bda3edfbbfad33f670e63af24" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/935f8fb543249c6bda3edfbbfad33f670e63af24", - "reference": "935f8fb543249c6bda3edfbbfad33f670e63af24", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-27T17:41:39+00:00" - }, - { - "name": "flow-php/etl-adapter-json", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-json.git", - "reference": "52feff240341ac4bb2554622abd41da092efeb2b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-json/zipball/52feff240341ac4bb2554622abd41da092efeb2b", - "reference": "52feff240341ac4bb2554622abd41da092efeb2b", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "halaxa/json-machine": "^1.1", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/JSON/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - JSON", - "keywords": [ - "adapter", - "etl", - "extract", - "json", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-json/issues", - "source": "https://github.com/flow-php/etl-adapter-json/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-27T17:41:43+00:00" - }, - { - "name": "flow-php/etl-adapter-parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-parquet.git", - "reference": "b812a7154bddb94ce12bfcc8eef53f447a257918" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-parquet/zipball/b812a7154bddb94ce12bfcc8eef53f447a257918", - "reference": "b812a7154bddb94ce12bfcc8eef53f447a257918", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "flow-php/parquet": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Parquet/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Parquet", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-parquet/issues", - "source": "https://github.com/flow-php/etl-adapter-parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-27T17:41:25+00:00" - }, - { - "name": "flow-php/etl-adapter-text", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-text.git", - "reference": "74d0b2e029407f6229ce819626814d1d3889d5b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-text/zipball/74d0b2e029407f6229ce819626814d1d3889d5b6", - "reference": "74d0b2e029407f6229ce819626814d1d3889d5b6", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/Text/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - Text", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "text", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-text/issues", - "source": "https://github.com/flow-php/etl-adapter-text/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-27T17:41:23+00:00" - }, - { - "name": "flow-php/etl-adapter-xml", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-xml.git", - "reference": "aa85c080a0428924ec0aa225bcca890caa0bc940" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-xml/zipball/aa85c080a0428924ec0aa225bcca890caa0bc940", - "reference": "aa85c080a0428924ec0aa225bcca890caa0bc940", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-xml": "*", - "ext-xmlreader": "*", - "ext-xmlwriter": "*", - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/XML/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - XML", - "keywords": [ - "adapter", - "etl", - "extract", - "load", - "transform", - "xml" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-xml/issues", - "source": "https://github.com/flow-php/etl-adapter-xml/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-27T17:42:16+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "2a1ddd915fe091692b90f6b469f8a158869723ba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/2a1ddd915fe091692b90f6b469f8a158869723ba", - "reference": "2a1ddd915fe091692b90f6b469f8a158869723ba", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-28T18:55:28+00:00" - }, - { - "name": "flow-php/filesystem-async-aws-bridge", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem-async-aws-bridge.git", - "reference": "0a92af87a73ef922b850d3b6e19883323f6794a5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem-async-aws-bridge/zipball/0a92af87a73ef922b850d3b6e19883323f6794a5", - "reference": "0a92af87a73ef922b850d3b6e19883323f6794a5", - "shasum": "" - }, - "require": { - "async-aws/s3": "^2.6", - "flow-php/filesystem": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/Bridge/AsyncAWS/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Flow Filesystem Async AWS Bridge", - "keywords": [ - "aws", - "cloud", - "filesystem", - "range", - "read", - "remote", - "s3", - "storage", - "stream" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem-async-aws-bridge/issues", - "source": "https://github.com/flow-php/filesystem-async-aws-bridge/tree/0.26.1" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:40+00:00" - }, - { - "name": "flow-php/parquet", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/parquet.git", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/parquet/zipball/0db0c55955b04c31ba1dc190b721e8d4655d48be", - "reference": "0db0c55955b04c31ba1dc190b721e8d4655d48be", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.1", - "ext-bcmath": "*", - "ext-zlib": "*", - "flow-php/filesystem": "self.version", - "flow-php/snappy": "self.version", - "packaged/thrift": "^0.15.0", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Parquet/functions.php", - "src/stubs.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - library for reading and writing Parquet files", - "keywords": [ - "etl", - "extract", - "filter", - "load", - "parquet", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/parquet/issues", - "source": "https://github.com/flow-php/parquet/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:32+00:00" - }, - { - "name": "flow-php/snappy", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/snappy.git", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/snappy/zipball/60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "reference": "60f3d112496b56aae3deff6b46d1a40ea7a5f251", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "polyfill.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Google Snappy compression algorithm implementation", - "keywords": [ - "Algorithm", - "compression", - "etl", - "extract", - "filter", - "load", - "snappy", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/snappy/issues", - "source": "https://github.com/flow-php/snappy/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:52:53+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "0710e5728d977fd7399d7c129df1955e3f9901a3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/0710e5728d977fd7399d7c129df1955e3f9901a3", - "reference": "0710e5728d977fd7399d7c129df1955e3f9901a3", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-29T12:40:43+00:00" - }, - { - "name": "halaxa/json-machine", - "version": "1.2.5", - "source": { - "type": "git", - "url": "https://github.com/halaxa/json-machine.git", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/halaxa/json-machine/zipball/d0f84abf79ac98145d478b66d2bcf363d706477c", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c", - "shasum": "" - }, - "require": { - "php": "7.2 - 8.4" - }, - "require-dev": { - "ext-json": "*", - "friendsofphp/php-cs-fixer": "^3.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0" - }, - "suggest": { - "ext-json": "To run JSON Machine out of the box without custom decoders.", - "guzzlehttp/guzzle": "To run example with GuzzleHttp" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "JsonMachine\\": "src/" - }, - "exclude-from-classmap": [ - "src/autoloader.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Filip Halaxa", - "email": "filip@halaxa.cz" - } - ], - "description": "Efficient, easy-to-use and fast JSON pull parser", - "support": { - "issues": "https://github.com/halaxa/json-machine/issues", - "source": "https://github.com/halaxa/json-machine/tree/1.2.5" - }, - "funding": [ - { - "url": "https://ko-fi.com/G2G57KTE4", - "type": "other" - } - ], - "time": "2025-07-07T13:38:34+00:00" - }, - { - "name": "packaged/thrift", - "version": "0.15.0", - "source": { - "type": "git", - "url": "https://github.com/packaged/thrift.git", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/packaged/thrift/zipball/dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "reference": "dbf4e5ff5c85d56ccae62265ed25424b366ce269", - "shasum": "" - }, - "require": { - "php": "^5.5 || ^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Thrift\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Apache Thrift", - "homepage": "http://thrift.apache.org/", - "keywords": [ - "apache", - "thrift" - ], - "support": { - "issues": "https://github.com/packaged/thrift/issues", - "source": "https://github.com/packaged/thrift/tree/0.15.0" - }, - "time": "2021-09-23T10:34:40+00:00" - }, - { - "name": "psr/cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/588d5ff7035e78cd4f69eb798890749ac4641b30", - "reference": "588d5ff7035e78cd4f69eb798890749ac4641b30", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "suggest": { - "fig/cache-util": "Provides some useful PSR-6 utilities" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "support": { - "source": "https://github.com/php-fig/cache" - }, - "time": "2025-04-11T19:21:12+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/container", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/707984727bd5b2b670e59559d3ed2500240cf875", - "reference": "707984727bd5b2b670e59559d3ed2500240cf875", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container" - }, - "time": "2023-09-22T11:11:30+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/dotenv", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/dotenv.git", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/4a53037ff205b68310ea43d4e999dac54375751c", - "reference": "4a53037ff205b68310ea43d4e999dac54375751c", - "shasum": "" - }, - "require": { - "php": ">=8.2" - }, - "conflict": { - "symfony/console": "<6.4", - "symfony/process": "<6.4" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Dotenv\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Registers environment variables from a .env file", - "homepage": "https://symfony.com", - "keywords": [ - "dotenv", - "env", - "environment" - ], - "support": { - "source": "https://github.com/symfony/dotenv/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-08-09T22:28:14+00:00" - }, - { - "name": "symfony/http-client", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-client.git", - "reference": "3fccf1d31b5db97f9a07d00ca3f1feb07b366f25" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/3fccf1d31b5db97f9a07d00ca3f1feb07b366f25", - "reference": "3fccf1d31b5db97f9a07d00ca3f1feb07b366f25", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/http-client-contracts": "~3.4.4|^3.5.2", - "symfony/polyfill-php83": "^1.29", - "symfony/service-contracts": "^2.5|^3" - }, - "conflict": { - "amphp/amp": "<2.5", - "amphp/socket": "<1.1", - "php-http/discovery": "<1.15", - "symfony/http-foundation": "<6.4" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "1.0", - "symfony/http-client-implementation": "3.0" - }, - "require-dev": { - "amphp/http-client": "^4.2.1|^5.0", - "amphp/http-tunnel": "^1.0|^2.0", - "guzzlehttp/promises": "^1.4|^2.0", - "nyholm/psr7": "^1.0", - "php-http/httplug": "^1.0|^2.0", - "psr/http-client": "^1.0", - "symfony/amphp-http-client-meta": "^1.0|^2.0", - "symfony/cache": "^6.4|^7.0|^8.0", - "symfony/dependency-injection": "^6.4|^7.0|^8.0", - "symfony/http-kernel": "^6.4|^7.0|^8.0", - "symfony/messenger": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0", - "symfony/rate-limiter": "^6.4|^7.0|^8.0", - "symfony/stopwatch": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpClient\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", - "homepage": "https://symfony.com", - "keywords": [ - "http" - ], - "support": { - "source": "https://github.com/symfony/http-client/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-10-28T16:29:27+00:00" - }, - { - "name": "symfony/http-client-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "75d7043853a42837e68111812f4d964b01e5101c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/75d7043853a42837e68111812f4d964b01e5101c", - "reference": "75d7043853a42837e68111812f4d964b01e5101c", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\HttpClient\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to HTTP clients", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-04-29T11:18:49+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/polyfill-php83", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "17f6f9a6b1735c0f163024d959f700cfbc5155e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/17f6f9a6b1735c0f163024d959f700cfbc5155e5", - "reference": "17f6f9a6b1735c0f163024d959f700cfbc5155e5", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php83\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-07-08T02:45:35+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43", - "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0", - "symfony/deprecation-contracts": "^2.5|^3" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/main" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-07-15T11:30:57+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20, - "flow-php/etl-adapter-json": 20, - "flow-php/etl-adapter-parquet": 20, - "flow-php/etl-adapter-text": 20, - "flow-php/etl-adapter-xml": 20, - "flow-php/filesystem": 20, - "flow-php/filesystem-async-aws-bridge": 20, - "flow-php/parquet": 20, - "flow-php/snappy": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/filesystem/s3/flow_php_example.zip b/examples/topics/filesystem/s3/flow_php_example.zip deleted file mode 100644 index afc76b2c64..0000000000 Binary files a/examples/topics/filesystem/s3/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/filesystem/s3/output.txt b/examples/topics/filesystem/s3/output.txt deleted file mode 100644 index 29132f0a0c..0000000000 --- a/examples/topics/filesystem/s3/output.txt +++ /dev/null @@ -1,24 +0,0 @@ -+----+------+ -| id | name | -+----+------+ -| 1 | test | -+----+------+ -1 rows -+----+------+ -| id | name | -+----+------+ -| 2 | test | -+----+------+ -1 rows -+----+------+ -| id | name | -+----+------+ -| 3 | test | -+----+------+ -1 rows -+----+------+ -| id | name | -+----+------+ -| 4 | test | -+----+------+ -1 rows diff --git a/examples/topics/filesystem/s3/priority.txt b/examples/topics/filesystem/s3/priority.txt deleted file mode 100644 index e440e5c842..0000000000 --- a/examples/topics/filesystem/s3/priority.txt +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/examples/topics/filesystem/stdout/composer.json b/examples/topics/filesystem/stdout/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/filesystem/stdout/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/filesystem/stdout/composer.lock b/examples/topics/filesystem/stdout/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/filesystem/stdout/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/filesystem/stdout/description.md b/examples/topics/filesystem/stdout/description.md deleted file mode 100644 index 41b4699fd3..0000000000 --- a/examples/topics/filesystem/stdout/description.md +++ /dev/null @@ -1,6 +0,0 @@ -Stdout is a special type of filesystem allowing to -write straight to stdout of the process. - -`Stdout is a write-only filesystem. It is not possible to read from it.` - -Its main purpose is to allow web servers to stream data to the client without buffering it in memory. \ No newline at end of file diff --git a/examples/topics/filesystem/stdout/flow_php_example.zip b/examples/topics/filesystem/stdout/flow_php_example.zip deleted file mode 100644 index f0aa509568..0000000000 Binary files a/examples/topics/filesystem/stdout/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/filesystem/stdout/priority.txt b/examples/topics/filesystem/stdout/priority.txt deleted file mode 100644 index 7813681f5b..0000000000 --- a/examples/topics/filesystem/stdout/priority.txt +++ /dev/null @@ -1 +0,0 @@ -5 \ No newline at end of file diff --git a/examples/topics/join/join/code.php b/examples/topics/join/join/code.php deleted file mode 100644 index bb07e3ef52..0000000000 --- a/examples/topics/join/join/code.php +++ /dev/null @@ -1,32 +0,0 @@ - 1, 'name' => 'John'], - ['id' => 2, 'name' => 'Jane'], - ['id' => 3, 'name' => 'Doe'], - ['id' => 4, 'name' => 'Bruno'], -]; - -$emails = [ - ['id' => 2, 'email' => 'john@email.com'], - ['id' => 3, 'email' => 'jane@emial.com'], - ['id' => 4, 'email' => 'bruno@email.com'], -]; - -data_frame() - ->read(from_array($users)) - ->join( - data_frame()->read(from_array($emails)), - join_on(['id' => 'id'], join_prefix: 'joined_'), - Join::left - ) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/join/join/composer.json b/examples/topics/join/join/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/join/join/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/join/join/composer.lock b/examples/topics/join/join/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/join/join/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/join/join/description.md b/examples/topics/join/join/description.md deleted file mode 100644 index ddbb0820a2..0000000000 --- a/examples/topics/join/join/description.md +++ /dev/null @@ -1,11 +0,0 @@ -Join allows you to combine two data frames into one, similarly to how SQL JOIN works. -The first data source is the main one (left), and the second one is joined (right) to it. The join is done based on the specified columns. - -The following types of joins are supported: - -* `inner` - only rows with matching keys in both data sources are included in the result -* `left` - all rows from the left data source are included, and matching rows from the right data source are added -* `right` - all rows from the right data source are included, and matching rows from the left data source are added -* `left_anti` - only rows from the left data source that do not have a match in the right data source are included - -If joined (right) data frame is too large to fit into memory, consider using [joinEach](/join/join_each/#example) instead. \ No newline at end of file diff --git a/examples/topics/join/join/flow_php_example.zip b/examples/topics/join/join/flow_php_example.zip deleted file mode 100644 index 5be9e82226..0000000000 Binary files a/examples/topics/join/join/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/join/join/output.txt b/examples/topics/join/join/output.txt deleted file mode 100644 index 74df498d81..0000000000 --- a/examples/topics/join/join/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+-------+-----------+-----------------+ -| id | name | joined_id | joined_email | -+----+-------+-----------+-----------------+ -| 1 | John | | | -| 2 | Jane | 2 | john@email.com | -| 3 | Doe | 3 | jane@emial.com | -| 4 | Bruno | 4 | bruno@email.com | -+----+-------+-----------+-----------------+ -4 rows diff --git a/examples/topics/join/join_each/code.php b/examples/topics/join/join_each/code.php deleted file mode 100644 index 6d83251b0b..0000000000 --- a/examples/topics/join/join_each/code.php +++ /dev/null @@ -1,56 +0,0 @@ -process($this->findRowsInDatabase($rows)); - } - - private function findRowsInDatabase(Rows $rows) : Rows - { - // Lets pretend there are 10k more entries in the DB - $rowsFromDb = \array_map( - static fn (int $id) : Row => row(int_entry('id', $id), str_entry('sku', 'PRODUCT' . $id)), - \range(1, 10_000) - ); - - return (new Rows(...$rowsFromDb)) - // this would be a database SQL query in real life - ->filter(static fn (Row $row) => \in_array($row->valueOf('id'), $rows->reduceToArray('id'), true)); - } -}; - -data_frame() - ->extract($apiExtractor) - ->joinEach( - $dbDataFrameFactory, - join_on(equal('id', 'id')), // by using compare_all() or compare_any(), more than one entry can be used to prepare the condition - Join::left_anti - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/join/join_each/composer.json b/examples/topics/join/join_each/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/join/join_each/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/join/join_each/composer.lock b/examples/topics/join/join_each/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/join/join_each/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/join/join_each/description.md b/examples/topics/join/join_each/description.md deleted file mode 100644 index 4e5026fcd3..0000000000 --- a/examples/topics/join/join_each/description.md +++ /dev/null @@ -1,11 +0,0 @@ -The main difference between [join](/join/join/#example) and `joinEach` is that `joinEach` is designed to handle large data frames that do not fit into memory. -Instead of loading entire `data_frame` into memory, joinEach expects an implementation of [DataFrameFactory](https://github.com/flow-php/flow/blob/1.x/src/core/etl/src/Flow/ETL/DataFrameFactory.php) -which will be used to load only specific rows from a source based on passed Rows. - -`joinEach` in some cases might become more optimal choice, especially when right size is much bigger then a left side. -In that case it's better to reduce the ride side by fetching from the storage only what is relevant for the left side. - -To maximize performance, you should adjust `DataFrame::batchSize(int $size)`, the default value is 1 which might result -in a large number of calls to `DataFrameFactory::from` method. - -The rule of thumb is to set the batch size to the number of rows that DataFrameFactory can safely and quickly load into memory. \ No newline at end of file diff --git a/examples/topics/join/join_each/flow_php_example.zip b/examples/topics/join/join_each/flow_php_example.zip deleted file mode 100644 index ad7af17789..0000000000 Binary files a/examples/topics/join/join_each/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/join/join_each/output.txt b/examples/topics/join/join_each/output.txt deleted file mode 100644 index dc5cccc730..0000000000 --- a/examples/topics/join/join_each/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -+-------+---------------+ -| id | sku | -+-------+---------------+ -| 10001 | PRODUCT10_001 | -| 10002 | PRODUCT10_002 | -| 10003 | PRODUCT10_003 | -+-------+---------------+ -3 rows diff --git a/examples/topics/join/priority.txt b/examples/topics/join/priority.txt deleted file mode 100644 index c7930257df..0000000000 --- a/examples/topics/join/priority.txt +++ /dev/null @@ -1 +0,0 @@ -7 \ No newline at end of file diff --git a/examples/topics/partitioning/partition_pruning/code.php b/examples/topics/partitioning/partition_pruning/code.php deleted file mode 100644 index 615ccb6d9d..0000000000 --- a/examples/topics/partitioning/partition_pruning/code.php +++ /dev/null @@ -1,15 +0,0 @@ -read(from_csv(__DIR__ . '/input/color=*/sku=*/*.csv')) - ->filterPartitions(ref('color')->notEquals(lit('green'))) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/partitioning/partition_pruning/composer.json b/examples/topics/partitioning/partition_pruning/composer.json deleted file mode 100644 index f78c03ec13..0000000000 --- a/examples/topics/partitioning/partition_pruning/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/partitioning/partition_pruning/composer.lock b/examples/topics/partitioning/partition_pruning/composer.lock deleted file mode 100644 index f3d3b7a7aa..0000000000 --- a/examples/topics/partitioning/partition_pruning/composer.lock +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b28c956d6d21e80a17ea68f1d51a3834", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/083c3c5d490bd0ad33ffbe5b90165a0161190451", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/partitioning/partition_pruning/flow_php_example.zip b/examples/topics/partitioning/partition_pruning/flow_php_example.zip deleted file mode 100644 index 4cc1312ae2..0000000000 Binary files a/examples/topics/partitioning/partition_pruning/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/partitioning/partition_pruning/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv b/examples/topics/partitioning/partition_pruning/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv deleted file mode 100644 index 545a74d478..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -7,blue,PRODUCT01 diff --git a/examples/topics/partitioning/partition_pruning/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv b/examples/topics/partitioning/partition_pruning/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv deleted file mode 100644 index 33873a6e6a..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -8,blue,PRODUCT02 diff --git a/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv b/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv deleted file mode 100644 index 342be95a4f..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -4,green,PRODUCT01 diff --git a/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv b/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv deleted file mode 100644 index df1fb1e1a7..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -5,green,PRODUCT02 diff --git a/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv b/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv deleted file mode 100644 index ae63c7bde0..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -6,green,PRODUCT03 diff --git a/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv b/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv deleted file mode 100644 index 46a4be882b..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -1,red,PRODUCT01 diff --git a/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv b/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv deleted file mode 100644 index 308dda75c1..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -2,red,PRODUCT02 diff --git a/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv b/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv deleted file mode 100644 index 31b889e3e3..0000000000 --- a/examples/topics/partitioning/partition_pruning/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -3,red,PRODUCT03 diff --git a/examples/topics/partitioning/partition_pruning/output.txt b/examples/topics/partitioning/partition_pruning/output.txt deleted file mode 100644 index 4aba311829..0000000000 --- a/examples/topics/partitioning/partition_pruning/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 7 | blue | PRODUCT01 | -| 8 | blue | PRODUCT02 | -| 1 | red | PRODUCT01 | -| 2 | red | PRODUCT02 | -| 3 | red | PRODUCT03 | -+----+-------+-----------+ -5 rows diff --git a/examples/topics/partitioning/partitioning/composer.json b/examples/topics/partitioning/partitioning/composer.json deleted file mode 100644 index f78c03ec13..0000000000 --- a/examples/topics/partitioning/partitioning/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/partitioning/partitioning/composer.lock b/examples/topics/partitioning/partitioning/composer.lock deleted file mode 100644 index f3d3b7a7aa..0000000000 --- a/examples/topics/partitioning/partitioning/composer.lock +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b28c956d6d21e80a17ea68f1d51a3834", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/083c3c5d490bd0ad33ffbe5b90165a0161190451", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/partitioning/partitioning/description.md b/examples/topics/partitioning/partitioning/description.md deleted file mode 100644 index 6389f05b27..0000000000 --- a/examples/topics/partitioning/partitioning/description.md +++ /dev/null @@ -1,27 +0,0 @@ -Partitioning is a technique to divide a large dataset into smaller, more manageable parts. -When you partition a dataset and write it to any file-based destination Flow will follow Hive partitioning convention. -The partitioning is done by creating a directory structure where each directory represents a partition. -The directory name is in the format of `column=value`. - -```bash -output -├── color=blue -│ ├── sku=PRODUCT01 -│ │ └── products.csv -│ └── sku=PRODUCT02 -│ └── products.csv -├── color=green -│ ├── sku=PRODUCT01 -│ │ └── products.csv -│ ├── sku=PRODUCT02 -│ │ └── products.csv -│ └── sku=PRODUCT03 -│ └── products.csv -└── color=red - ├── sku=PRODUCT01 - │ └── products.csv - ├── sku=PRODUCT02 - │ └── products.csv - └── sku=PRODUCT03 - └── products.csv -``` diff --git a/examples/topics/partitioning/partitioning/flow_php_example.zip b/examples/topics/partitioning/partitioning/flow_php_example.zip deleted file mode 100644 index ac309541d3..0000000000 Binary files a/examples/topics/partitioning/partitioning/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/partitioning/partitioning/output.txt b/examples/topics/partitioning/partitioning/output.txt deleted file mode 100644 index 7d4e3a5c7d..0000000000 --- a/examples/topics/partitioning/partitioning/output.txt +++ /dev/null @@ -1,22 +0,0 @@ -output -├── color=blue -│ ├── sku=PRODUCT01 -│ │ └── products.csv -│ └── sku=PRODUCT02 -│ └── products.csv -├── color=green -│ ├── sku=PRODUCT01 -│ │ └── products.csv -│ ├── sku=PRODUCT02 -│ │ └── products.csv -│ └── sku=PRODUCT03 -│ └── products.csv -└── color=red - ├── sku=PRODUCT01 - │ └── products.csv - ├── sku=PRODUCT02 - │ └── products.csv - └── sku=PRODUCT03 - └── products.csv - -12 directories, 8 files \ No newline at end of file diff --git a/examples/topics/partitioning/partitioning/output/.gitignore b/examples/topics/partitioning/partitioning/output/.gitignore deleted file mode 100644 index d6b7ef32c8..0000000000 --- a/examples/topics/partitioning/partitioning/output/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/examples/topics/partitioning/partitioning/priority.txt b/examples/topics/partitioning/partitioning/priority.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/partitioning/partitioning/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/partitioning/path_partitions/code.php b/examples/topics/partitioning/path_partitions/code.php deleted file mode 100644 index a9ae0ddb3e..0000000000 --- a/examples/topics/partitioning/path_partitions/code.php +++ /dev/null @@ -1,14 +0,0 @@ -read(from_path_partitions(__DIR__ . '/input/color=*/sku=*/*.csv')) - ->withEntry('path', ref('path')->strReplace(__DIR__, '/__ABSOLUTE_PATH__')) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/partitioning/path_partitions/composer.json b/examples/topics/partitioning/path_partitions/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/partitioning/path_partitions/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/partitioning/path_partitions/composer.lock b/examples/topics/partitioning/path_partitions/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/partitioning/path_partitions/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/partitioning/path_partitions/flow_php_example.zip b/examples/topics/partitioning/path_partitions/flow_php_example.zip deleted file mode 100644 index 758667c965..0000000000 Binary files a/examples/topics/partitioning/path_partitions/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/partitioning/path_partitions/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv b/examples/topics/partitioning/path_partitions/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv deleted file mode 100644 index 545a74d478..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -7,blue,PRODUCT01 diff --git a/examples/topics/partitioning/path_partitions/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv b/examples/topics/partitioning/path_partitions/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv deleted file mode 100644 index 33873a6e6a..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -8,blue,PRODUCT02 diff --git a/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv b/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv deleted file mode 100644 index 342be95a4f..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -4,green,PRODUCT01 diff --git a/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv b/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv deleted file mode 100644 index df1fb1e1a7..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -5,green,PRODUCT02 diff --git a/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv b/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv deleted file mode 100644 index ae63c7bde0..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -6,green,PRODUCT03 diff --git a/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv b/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv deleted file mode 100644 index 46a4be882b..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -1,red,PRODUCT01 diff --git a/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv b/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv deleted file mode 100644 index 308dda75c1..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -2,red,PRODUCT02 diff --git a/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv b/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv deleted file mode 100644 index 31b889e3e3..0000000000 --- a/examples/topics/partitioning/path_partitions/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -3,red,PRODUCT03 diff --git a/examples/topics/partitioning/path_partitions/output.txt b/examples/topics/partitioning/path_partitions/output.txt deleted file mode 100644 index 2677500745..0000000000 --- a/examples/topics/partitioning/path_partitions/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -+-------------------------------------------------------------------------------------+-------------------------------------+ -| path | partitions | -+-------------------------------------------------------------------------------------+-------------------------------------+ -| file://__ABSOLUTE_PATH__/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv | {"color":"blue","sku":"PRODUCT01"} | -| file://__ABSOLUTE_PATH__/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv | {"color":"blue","sku":"PRODUCT02"} | -| file://__ABSOLUTE_PATH__/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv | {"color":"green","sku":"PRODUCT01"} | -| file://__ABSOLUTE_PATH__/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv | {"color":"green","sku":"PRODUCT02"} | -| file://__ABSOLUTE_PATH__/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv | {"color":"green","sku":"PRODUCT03"} | -| file://__ABSOLUTE_PATH__/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv | {"color":"red","sku":"PRODUCT01"} | -| file://__ABSOLUTE_PATH__/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv | {"color":"red","sku":"PRODUCT02"} | -| file://__ABSOLUTE_PATH__/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv | {"color":"red","sku":"PRODUCT03"} | -+-------------------------------------------------------------------------------------+-------------------------------------+ -8 rows diff --git a/examples/topics/partitioning/priority.txt b/examples/topics/partitioning/priority.txt deleted file mode 100644 index 62f9457511..0000000000 --- a/examples/topics/partitioning/priority.txt +++ /dev/null @@ -1 +0,0 @@ -6 \ No newline at end of file diff --git a/examples/topics/partitioning/reading/code.php b/examples/topics/partitioning/reading/code.php deleted file mode 100644 index fa60aa1e8a..0000000000 --- a/examples/topics/partitioning/reading/code.php +++ /dev/null @@ -1,13 +0,0 @@ -read(from_csv(__DIR__ . '/input/color=*/sku=*/*.csv')) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/partitioning/reading/composer.json b/examples/topics/partitioning/reading/composer.json deleted file mode 100644 index f78c03ec13..0000000000 --- a/examples/topics/partitioning/reading/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/partitioning/reading/composer.lock b/examples/topics/partitioning/reading/composer.lock deleted file mode 100644 index f3d3b7a7aa..0000000000 --- a/examples/topics/partitioning/reading/composer.lock +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b28c956d6d21e80a17ea68f1d51a3834", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/083c3c5d490bd0ad33ffbe5b90165a0161190451", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/partitioning/reading/flow_php_example.zip b/examples/topics/partitioning/reading/flow_php_example.zip deleted file mode 100644 index bf459d60b7..0000000000 Binary files a/examples/topics/partitioning/reading/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/partitioning/reading/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv b/examples/topics/partitioning/reading/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv deleted file mode 100644 index 545a74d478..0000000000 --- a/examples/topics/partitioning/reading/input/color=blue/sku=PRODUCT01/65c7e9bc4460a568233195.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -7,blue,PRODUCT01 diff --git a/examples/topics/partitioning/reading/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv b/examples/topics/partitioning/reading/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv deleted file mode 100644 index 33873a6e6a..0000000000 --- a/examples/topics/partitioning/reading/input/color=blue/sku=PRODUCT02/65c7e9bc446c2326068326.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -8,blue,PRODUCT02 diff --git a/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv b/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv deleted file mode 100644 index 342be95a4f..0000000000 --- a/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT01/65c7e9bc44305321518126.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -4,green,PRODUCT01 diff --git a/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv b/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv deleted file mode 100644 index df1fb1e1a7..0000000000 --- a/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT02/65c7e9bc44421020940545.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -5,green,PRODUCT02 diff --git a/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv b/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv deleted file mode 100644 index ae63c7bde0..0000000000 --- a/examples/topics/partitioning/reading/input/color=green/sku=PRODUCT03/65c7e9bc44515031584752.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -6,green,PRODUCT03 diff --git a/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv b/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv deleted file mode 100644 index 46a4be882b..0000000000 --- a/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT01/65c7e9bc4386f958078278.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -1,red,PRODUCT01 diff --git a/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv b/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv deleted file mode 100644 index 308dda75c1..0000000000 --- a/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT02/65c7e9bc440fa083889144.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -2,red,PRODUCT02 diff --git a/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv b/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv deleted file mode 100644 index 31b889e3e3..0000000000 --- a/examples/topics/partitioning/reading/input/color=red/sku=PRODUCT03/65c7e9bc44209401416287.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,color,sku -3,red,PRODUCT03 diff --git a/examples/topics/partitioning/reading/output.txt b/examples/topics/partitioning/reading/output.txt deleted file mode 100644 index ac2f084343..0000000000 --- a/examples/topics/partitioning/reading/output.txt +++ /dev/null @@ -1,72 +0,0 @@ -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 7 | blue | PRODUCT01 | -+----+-------+-----------+ -Partitions: - - color=blue - - sku=PRODUCT01 -1 rows -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 8 | blue | PRODUCT02 | -+----+-------+-----------+ -Partitions: - - color=blue - - sku=PRODUCT02 -1 rows -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 4 | green | PRODUCT01 | -+----+-------+-----------+ -Partitions: - - color=green - - sku=PRODUCT01 -1 rows -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 5 | green | PRODUCT02 | -+----+-------+-----------+ -Partitions: - - color=green - - sku=PRODUCT02 -1 rows -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 6 | green | PRODUCT03 | -+----+-------+-----------+ -Partitions: - - color=green - - sku=PRODUCT03 -1 rows -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 1 | red | PRODUCT01 | -+----+-------+-----------+ -Partitions: - - color=red - - sku=PRODUCT01 -1 rows -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 2 | red | PRODUCT02 | -+----+-------+-----------+ -Partitions: - - color=red - - sku=PRODUCT02 -1 rows -+----+-------+-----------+ -| id | color | sku | -+----+-------+-----------+ -| 3 | red | PRODUCT03 | -+----+-------+-----------+ -Partitions: - - color=red - - sku=PRODUCT03 -1 rows diff --git a/examples/topics/partitioning/reading/priority.txt b/examples/topics/partitioning/reading/priority.txt deleted file mode 100644 index d8263ee986..0000000000 --- a/examples/topics/partitioning/reading/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/examples/topics/schema/apply/code.php b/examples/topics/schema/apply/code.php deleted file mode 100644 index 2824831441..0000000000 --- a/examples/topics/schema/apply/code.php +++ /dev/null @@ -1,27 +0,0 @@ -add('key', 'value')), -); - -data_frame() - ->read( - from_array([ - ['id' => 1, 'name' => 'Product 1', 'active' => true], - ['id' => 2, 'name' => 'Product 2', 'active' => false], - ['id' => 3, 'name' => 'Product 3', 'active' => true], - ])->withSchema($schema) - ) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false, output: Output::schema)) - ->run(); diff --git a/examples/topics/schema/apply/composer.json b/examples/topics/schema/apply/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/schema/apply/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/schema/apply/composer.lock b/examples/topics/schema/apply/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/schema/apply/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/schema/apply/description.md b/examples/topics/schema/apply/description.md deleted file mode 100644 index 7162991ae8..0000000000 --- a/examples/topics/schema/apply/description.md +++ /dev/null @@ -1,8 +0,0 @@ -While iterating through dataset that comes from a source which does not -support strict schema, like CSV/XML/JSON, you can tell the extractor -what schema to apply to each read column. - -Otherwise, DataFrame will try to guess the schema based on the data in the column. -It might be problematic if the first rows would be empty or null. -If the first row is a null, entry factory (mechanism responsible for creating entries) -will assume that the column is of type `string`. \ No newline at end of file diff --git a/examples/topics/schema/apply/flow_php_example.zip b/examples/topics/schema/apply/flow_php_example.zip deleted file mode 100644 index f7ca91bab2..0000000000 Binary files a/examples/topics/schema/apply/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/schema/apply/output.txt b/examples/topics/schema/apply/output.txt deleted file mode 100644 index 1897e76597..0000000000 --- a/examples/topics/schema/apply/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -schema -|-- id: integer -|-- name: string -|-- active: boolean diff --git a/examples/topics/schema/apply/priority.txt b/examples/topics/schema/apply/priority.txt deleted file mode 100644 index d8263ee986..0000000000 --- a/examples/topics/schema/apply/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/examples/topics/schema/display/code.php b/examples/topics/schema/display/code.php deleted file mode 100644 index 1701c9b9e4..0000000000 --- a/examples/topics/schema/display/code.php +++ /dev/null @@ -1,19 +0,0 @@ -read(from_array([ - ['id' => 1, 'name' => 'Product 1', 'active' => true, 'tags' => ['tag1', 'tag2']], - ['id' => 2, 'name' => 'Product 2', 'active' => false, 'address' => ['city' => 'London', 'country' => 'UK']], - ['id' => 3, 'name' => 'Product 3', 'active' => true, 'tags' => ['tag1', 'tag2']], - ['id' => 3, 'name' => 'Product 3', 'active' => true], - ])) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false, output: Output::schema)) - ->run(); diff --git a/examples/topics/schema/display/composer.json b/examples/topics/schema/display/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/schema/display/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/schema/display/composer.lock b/examples/topics/schema/display/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/schema/display/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/schema/display/flow_php_example.zip b/examples/topics/schema/display/flow_php_example.zip deleted file mode 100644 index 51e6ca5771..0000000000 Binary files a/examples/topics/schema/display/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/schema/display/output.txt b/examples/topics/schema/display/output.txt deleted file mode 100644 index 5677d1ef26..0000000000 --- a/examples/topics/schema/display/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -schema -|-- id: integer -|-- name: string -|-- active: boolean -|-- tags: ?list -|-- address: ?map diff --git a/examples/topics/schema/inferring/code.php b/examples/topics/schema/inferring/code.php deleted file mode 100644 index 2a49b596dd..0000000000 --- a/examples/topics/schema/inferring/code.php +++ /dev/null @@ -1,29 +0,0 @@ -read(from_csv(__DIR__ . '/input/dataset.csv')) - ->limit(100) // Limiting the number of rows to read will speed up the process but might bring less accurate results - ->autoCast() - ->schema(); - - \file_put_contents(__DIR__ . '/output/schema.json', schema_to_json($schema)); -} else { - /* @phpstan-ignore-next-line */ - $schema = schema_from_json(\file_get_contents(__DIR__ . '/output/schema.json')); -} - -// Reading schemaless data formats with predefined schema can significantly improve performance -data_frame() - ->read(from_csv(__DIR__ . '/input/dataset.csv', schema: $schema)) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false, output: Output::rows_and_schema)) - ->run(); diff --git a/examples/topics/schema/inferring/composer.json b/examples/topics/schema/inferring/composer.json deleted file mode 100644 index 9c2242b1e8..0000000000 --- a/examples/topics/schema/inferring/composer.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev", - "flow-php/etl-adapter-csv": "1.x-dev", - "flow-php/etl-adapter-json": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/schema/inferring/composer.lock b/examples/topics/schema/inferring/composer.lock deleted file mode 100644 index 4ae947a40b..0000000000 --- a/examples/topics/schema/inferring/composer.lock +++ /dev/null @@ -1,1165 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "f050c5c18faac512c946a9c42ab76a86", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/etl-adapter-csv", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-csv.git", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-csv/zipball/083c3c5d490bd0ad33ffbe5b90165a0161190451", - "reference": "083c3c5d490bd0ad33ffbe5b90165a0161190451", - "shasum": "" - }, - "require": { - "flow-php/etl": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/CSV/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - CSV", - "keywords": [ - "adapter", - "csv", - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-csv/issues", - "source": "https://github.com/flow-php/etl-adapter-csv/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:51+00:00" - }, - { - "name": "flow-php/etl-adapter-json", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl-adapter-json.git", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl-adapter-json/zipball/16a33adefb3c47599245fede9653baa8b9336e71", - "reference": "16a33adefb3c47599245fede9653baa8b9336e71", - "shasum": "" - }, - "require": { - "ext-json": "*", - "flow-php/etl": "self.version", - "halaxa/json-machine": "^1.1", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/Adapter/JSON/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Adapter - JSON", - "keywords": [ - "adapter", - "etl", - "extract", - "json", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl-adapter-json/issues", - "source": "https://github.com/flow-php/etl-adapter-json/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:22:01+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "halaxa/json-machine", - "version": "1.2.5", - "source": { - "type": "git", - "url": "https://github.com/halaxa/json-machine.git", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/halaxa/json-machine/zipball/d0f84abf79ac98145d478b66d2bcf363d706477c", - "reference": "d0f84abf79ac98145d478b66d2bcf363d706477c", - "shasum": "" - }, - "require": { - "php": "7.2 - 8.4" - }, - "require-dev": { - "ext-json": "*", - "friendsofphp/php-cs-fixer": "^3.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0" - }, - "suggest": { - "ext-json": "To run JSON Machine out of the box without custom decoders.", - "guzzlehttp/guzzle": "To run example with GuzzleHttp" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "JsonMachine\\": "src/" - }, - "exclude-from-classmap": [ - "src/autoloader.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Filip Halaxa", - "email": "filip@halaxa.cz" - } - ], - "description": "Efficient, easy-to-use and fast JSON pull parser", - "support": { - "issues": "https://github.com/halaxa/json-machine/issues", - "source": "https://github.com/halaxa/json-machine/tree/1.2.5" - }, - "funding": [ - { - "url": "https://ko-fi.com/G2G57KTE4", - "type": "other" - } - ], - "time": "2025-07-07T13:38:34+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20, - "flow-php/etl-adapter-csv": 20, - "flow-php/etl-adapter-json": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/schema/inferring/description.md b/examples/topics/schema/inferring/description.md deleted file mode 100644 index 33361f52fc..0000000000 --- a/examples/topics/schema/inferring/description.md +++ /dev/null @@ -1,5 +0,0 @@ -Schema inferring is a process of generating a schema from a whole or part of the dataset. -Once schema is inferred, it can be saved and used to speed up next dataset processing. - -All Extractors will try to auto-detect schema however, providing schema explicitly is always a good practice -since it can significantly speed up an extraction process by avoiding expensive schema detection. \ No newline at end of file diff --git a/examples/topics/schema/inferring/flow_php_example.zip b/examples/topics/schema/inferring/flow_php_example.zip deleted file mode 100644 index 306d35b6e7..0000000000 Binary files a/examples/topics/schema/inferring/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/schema/inferring/input/dataset.csv b/examples/topics/schema/inferring/input/dataset.csv deleted file mode 100644 index fb7d4947fc..0000000000 --- a/examples/topics/schema/inferring/input/dataset.csv +++ /dev/null @@ -1,21 +0,0 @@ -Index,Organization Id,Name,Website,Country,Description,Founded,Industry,Number of employees -1,8cC6B5992C0309c,Acevedo LLC,https://www.donovan.com/,Holy See (Vatican City State),Multi-channeled bottom-line core,2019,Graphic Design / Web Design,7070 -2,ec094061FeaF7Bc,Walls-Mcdonald,http://arias-willis.net/,Lithuania,Compatible encompassing groupware,2005,Utilities,8156 -3,DAcC5dbc58946A7,Gregory PLC,http://www.lynch-hoover.net/,Tokelau,Multi-channeled intangible help-desk,2019,Leisure / Travel,6121 -4,8Dd7beDa37FbeD0,"Byrd, Patterson and Knox",https://www.james-velez.net/,Netherlands,Pre-emptive national function,1982,Furniture,3494 -5,a3b5c54AEC163e4,Mcdowell-Hopkins,http://fuentes.com/,Mayotte,Cloned bifurcated solution,2016,Online Publishing,36 -6,fDfEBeFDaEb59Af,Hayden and Sons,https://www.shaw-mooney.info/,Belize,Persistent mobile task-force,1978,Insurance,7010 -7,752ef90Eae1f7f5,Castro LLC,http://wilkinson.com/,Jamaica,Advanced value-added definition,2008,Outsourcing / Offshoring,2526 -8,B1D4c5CA34f9992,"Barajas, Baird and Shaw",http://www.jordan-harvey.com/,United States of America,Stand-alone bandwidth-monitored algorithm,2000,Wholesale,4478 -9,Cfa1a44106faD4B,"Lucas, Galloway and Benjamin",http://silva.info/,Western Sahara,Persevering leadingedge ability,1990,Retail Industry,8223 -10,C08fcf292AB17DF,"Barker, Hubbard and Bennett",http://www.allen.biz/,Mauritania,Decentralized fault-tolerant functionalities,2014,Museums / Institutions,7716 -11,94B9bEedc626820,Underwood-Mitchell,https://www.leonard.com/,Italy,Compatible dynamic support,1992,Fine Art,4564 -12,FE42dEd40f5DfD8,"Lester, Ochoa and Franco",http://www.munoz.com/,Timor-Leste,Vision-oriented dynamic conglomeration,2014,Motion Pictures / Film,8075 -13,1F861fAbeDdCFea,"Arias, Jackson and Hester",https://hardin-thompson.com/,Algeria,Switchable maximized synergy,1980,Utilities,1319 -14,456de7dE1ab18ca,Riggs and Sons,http://klein-benton.info/,Czech Republic,Object-based discrete orchestration,2012,Law Enforcement,4946 -15,457bcfFF18A7DD2,Stanley LLC,https://bowman.com/,Eritrea,Self-enabling 24/7 groupware,1984,Executive Office,4980 -16,5B5ea5aea34dc5F,Page-Ware,http://lam-soto.com/,Togo,Realigned mobile groupware,1991,Entertainment / Movie Production,1307 -17,A66F35C298Dfd82,"Garner, Melton and Burgess",https://mathews-knox.com/,Guinea-Bissau,Automated 5thgeneration complexity,2003,E - Learning,9038 -18,EdAC2EF13734E0B,Andersen-Fuentes,http://www.mann.com/,Oman,Ameliorated coherent database,1991,Textiles,6436 -19,dD1612190b24B12,Ford-Rice,https://peterson-irwin.com/,Turks and Caicos Islands,Sharable intangible leverage,1971,Computer / Network Security,3038 -20,992CAdffccEebEa,Collins-Figueroa,http://www.holt-bartlett.info/,Mongolia,Realigned multi-state installation,1985,Aviation / Aerospace,9420 \ No newline at end of file diff --git a/examples/topics/schema/inferring/output.txt b/examples/topics/schema/inferring/output.txt deleted file mode 100644 index 967572c3df..0000000000 --- a/examples/topics/schema/inferring/output.txt +++ /dev/null @@ -1,36 +0,0 @@ -+-------+-----------------+------------------------------+--------------------------------+-------------------------------+----------------------------------------------+---------+----------------------------------+---------------------+ -| Index | Organization Id | Name | Website | Country | Description | Founded | Industry | Number of employees | -+-------+-----------------+------------------------------+--------------------------------+-------------------------------+----------------------------------------------+---------+----------------------------------+---------------------+ -| 1 | 8cC6B5992C0309c | Acevedo LLC | https://www.donovan.com/ | Holy See (Vatican City State) | Multi-channeled bottom-line core | 2019 | Graphic Design / Web Design | 7070 | -| 2 | ec094061FeaF7Bc | Walls-Mcdonald | http://arias-willis.net/ | Lithuania | Compatible encompassing groupware | 2005 | Utilities | 8156 | -| 3 | DAcC5dbc58946A7 | Gregory PLC | http://www.lynch-hoover.net/ | Tokelau | Multi-channeled intangible help-desk | 2019 | Leisure / Travel | 6121 | -| 4 | 8Dd7beDa37FbeD0 | Byrd, Patterson and Knox | https://www.james-velez.net/ | Netherlands | Pre-emptive national function | 1982 | Furniture | 3494 | -| 5 | a3b5c54AEC163e4 | Mcdowell-Hopkins | http://fuentes.com/ | Mayotte | Cloned bifurcated solution | 2016 | Online Publishing | 36 | -| 6 | fDfEBeFDaEb59Af | Hayden and Sons | https://www.shaw-mooney.info/ | Belize | Persistent mobile task-force | 1978 | Insurance | 7010 | -| 7 | 752ef90Eae1f7f5 | Castro LLC | http://wilkinson.com/ | Jamaica | Advanced value-added definition | 2008 | Outsourcing / Offshoring | 2526 | -| 8 | B1D4c5CA34f9992 | Barajas, Baird and Shaw | http://www.jordan-harvey.com/ | United States of America | Stand-alone bandwidth-monitored algorithm | 2000 | Wholesale | 4478 | -| 9 | Cfa1a44106faD4B | Lucas, Galloway and Benjamin | http://silva.info/ | Western Sahara | Persevering leadingedge ability | 1990 | Retail Industry | 8223 | -| 10 | C08fcf292AB17DF | Barker, Hubbard and Bennett | http://www.allen.biz/ | Mauritania | Decentralized fault-tolerant functionalities | 2014 | Museums / Institutions | 7716 | -| 11 | 94B9bEedc626820 | Underwood-Mitchell | https://www.leonard.com/ | Italy | Compatible dynamic support | 1992 | Fine Art | 4564 | -| 12 | FE42dEd40f5DfD8 | Lester, Ochoa and Franco | http://www.munoz.com/ | Timor-Leste | Vision-oriented dynamic conglomeration | 2014 | Motion Pictures / Film | 8075 | -| 13 | 1F861fAbeDdCFea | Arias, Jackson and Hester | https://hardin-thompson.com/ | Algeria | Switchable maximized synergy | 1980 | Utilities | 1319 | -| 14 | 456de7dE1ab18ca | Riggs and Sons | http://klein-benton.info/ | Czech Republic | Object-based discrete orchestration | 2012 | Law Enforcement | 4946 | -| 15 | 457bcfFF18A7DD2 | Stanley LLC | https://bowman.com/ | Eritrea | Self-enabling 24/7 groupware | 1984 | Executive Office | 4980 | -| 16 | 5B5ea5aea34dc5F | Page-Ware | http://lam-soto.com/ | Togo | Realigned mobile groupware | 1991 | Entertainment / Movie Production | 1307 | -| 17 | A66F35C298Dfd82 | Garner, Melton and Burgess | https://mathews-knox.com/ | Guinea-Bissau | Automated 5thgeneration complexity | 2003 | E - Learning | 9038 | -| 18 | EdAC2EF13734E0B | Andersen-Fuentes | http://www.mann.com/ | Oman | Ameliorated coherent database | 1991 | Textiles | 6436 | -| 19 | dD1612190b24B12 | Ford-Rice | https://peterson-irwin.com/ | Turks and Caicos Islands | Sharable intangible leverage | 1971 | Computer / Network Security | 3038 | -| 20 | 992CAdffccEebEa | Collins-Figueroa | http://www.holt-bartlett.info/ | Mongolia | Realigned multi-state installation | 1985 | Aviation / Aerospace | 9420 | -+-------+-----------------+------------------------------+--------------------------------+-------------------------------+----------------------------------------------+---------+----------------------------------+---------------------+ -20 rows - -schema -|-- Index: integer -|-- Organization Id: string -|-- Name: string -|-- Website: string -|-- Country: string -|-- Description: string -|-- Founded: integer -|-- Industry: string -|-- Number of employees: integer diff --git a/examples/topics/schema/inferring/output/.gitignore b/examples/topics/schema/inferring/output/.gitignore deleted file mode 100644 index c96a04f008..0000000000 --- a/examples/topics/schema/inferring/output/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore \ No newline at end of file diff --git a/examples/topics/schema/priority.txt b/examples/topics/schema/priority.txt deleted file mode 100644 index 7813681f5b..0000000000 --- a/examples/topics/schema/priority.txt +++ /dev/null @@ -1 +0,0 @@ -5 \ No newline at end of file diff --git a/examples/topics/schema/validate/code.php b/examples/topics/schema/validate/code.php deleted file mode 100644 index 12637bfe61..0000000000 --- a/examples/topics/schema/validate/code.php +++ /dev/null @@ -1,26 +0,0 @@ -add('key', 'value')), -); - -data_frame() - ->read(from_array([ - ['id' => 1, 'name' => 'Product 1', 'active' => true], - ['id' => 2, 'name' => 'Product 2', 'active' => false], - ['id' => 3, 'name' => 'Product 3', 'active' => true], - ])) - ->validate($schema) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false, output: Output::rows_and_schema)) - ->run(); diff --git a/examples/topics/schema/validate/composer.json b/examples/topics/schema/validate/composer.json deleted file mode 100644 index 17f1f79578..0000000000 --- a/examples/topics/schema/validate/composer.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev" -} diff --git a/examples/topics/schema/validate/composer.lock b/examples/topics/schema/validate/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/schema/validate/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/schema/validate/flow_php_example.zip b/examples/topics/schema/validate/flow_php_example.zip deleted file mode 100644 index 4c99972245..0000000000 Binary files a/examples/topics/schema/validate/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/schema/validate/output.txt b/examples/topics/schema/validate/output.txt deleted file mode 100644 index 2edcab6177..0000000000 --- a/examples/topics/schema/validate/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -+----+-----------+--------+ -| id | name | active | -+----+-----------+--------+ -| 1 | Product 1 | true | -| 2 | Product 2 | false | -| 3 | Product 3 | true | -+----+-----------+--------+ -3 rows - -schema -|-- id: integer -|-- name: string -|-- active: boolean diff --git a/examples/topics/schema/validate/priority.txt b/examples/topics/schema/validate/priority.txt deleted file mode 100644 index 56a6051ca2..0000000000 --- a/examples/topics/schema/validate/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/examples/topics/transformations/array/expand/code.php b/examples/topics/transformations/array/expand/code.php deleted file mode 100644 index 65a808d67b..0000000000 --- a/examples/topics/transformations/array/expand/code.php +++ /dev/null @@ -1,24 +0,0 @@ -read(from_rows(rows( - row(int_entry('id', 1), json_entry('array', ['a' => 1, 'b' => 2, 'c' => 3])), - ))) - ->withEntry('expanded', array_expand(ref('array'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/array/expand/composer.json b/examples/topics/transformations/array/expand/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/array/expand/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/array/expand/composer.lock b/examples/topics/transformations/array/expand/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/array/expand/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/array/expand/flow_php_example.zip b/examples/topics/transformations/array/expand/flow_php_example.zip deleted file mode 100644 index a96555a69e..0000000000 Binary files a/examples/topics/transformations/array/expand/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/array/expand/output.txt b/examples/topics/transformations/array/expand/output.txt deleted file mode 100644 index ccb027ada4..0000000000 --- a/examples/topics/transformations/array/expand/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -+----+---------------------+----------+ -| id | array | expanded | -+----+---------------------+----------+ -| 1 | {"a":1,"b":2,"c":3} | 1 | -| 1 | {"a":1,"b":2,"c":3} | 2 | -| 1 | {"a":1,"b":2,"c":3} | 3 | -+----+---------------------+----------+ -3 rows diff --git a/examples/topics/transformations/array/unpack/code.php b/examples/topics/transformations/array/unpack/code.php deleted file mode 100644 index 2f4c25b88c..0000000000 --- a/examples/topics/transformations/array/unpack/code.php +++ /dev/null @@ -1,16 +0,0 @@ -read(from_rows(rows( - row(int_entry('id', 1), json_entry('array', ['a' => 1, 'b' => 2, 'c' => 3])), - row(int_entry('id', 2), json_entry('array', ['d' => 4, 'e' => 5, 'f' => 6])), - ))) - ->withEntry('unpacked', ref('array')->unpack()) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/array/unpack/composer.json b/examples/topics/transformations/array/unpack/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/array/unpack/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/array/unpack/composer.lock b/examples/topics/transformations/array/unpack/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/array/unpack/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/array/unpack/flow_php_example.zip b/examples/topics/transformations/array/unpack/flow_php_example.zip deleted file mode 100644 index f5809ecb79..0000000000 Binary files a/examples/topics/transformations/array/unpack/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/array/unpack/output.txt b/examples/topics/transformations/array/unpack/output.txt deleted file mode 100644 index ddc50249b3..0000000000 --- a/examples/topics/transformations/array/unpack/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -+----+---------------------+------------+------------+------------+------------+------------+------------+ -| id | array | unpacked.a | unpacked.b | unpacked.c | unpacked.d | unpacked.e | unpacked.f | -+----+---------------------+------------+------------+------------+------------+------------+------------+ -| 1 | {"a":1,"b":2,"c":3} | 1 | 2 | 3 | | | | -| 2 | {"d":4,"e":5,"f":6} | | | | 4 | 5 | 6 | -+----+---------------------+------------+------------+------------+------------+------------+------------+ -2 rows diff --git a/examples/topics/transformations/call/code.php b/examples/topics/transformations/call/code.php deleted file mode 100644 index 9583403d8c..0000000000 --- a/examples/topics/transformations/call/code.php +++ /dev/null @@ -1,29 +0,0 @@ -read( - from_array( - [ - ['integers' => '1,2,3'], - ['integers' => '5,7'], - ['integers' => '0,2,4'], - ] - ) - ) - ->withEntry( - 'integers', - ref('integers')->call(lit('explode'), ['separator' => ','], refAlias: 'string', returnType: type_list(type_integer())) - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/call/composer.json b/examples/topics/transformations/call/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/call/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/call/composer.lock b/examples/topics/transformations/call/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/call/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/call/description.md b/examples/topics/transformations/call/description.md deleted file mode 100644 index a2ef27c929..0000000000 --- a/examples/topics/transformations/call/description.md +++ /dev/null @@ -1,10 +0,0 @@ -The easiest way to `call` any callable. Whenever you need to apply a function or method to a column or a value, -and there is no existing scalar function available, you can use the `call` scalar function. - -There are two ways to use it: - -- `ref('column')->call()` -- `\Flow\ETL\DSL\call()` - -The main difference is that the first one will always pass the column value as argument. -When passing additional arguments, it might be necessary to use `refAlias` to provide a argument name for column value. \ No newline at end of file diff --git a/examples/topics/transformations/call/flow_php_example.zip b/examples/topics/transformations/call/flow_php_example.zip deleted file mode 100644 index ef72b77ba4..0000000000 Binary files a/examples/topics/transformations/call/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/call/output.txt b/examples/topics/transformations/call/output.txt deleted file mode 100644 index 9aa63a75c5..0000000000 --- a/examples/topics/transformations/call/output.txt +++ /dev/null @@ -1,18 +0,0 @@ -+----------+ -| integers | -+----------+ -| [1,2,3] | -+----------+ -1 rows -+----------+ -| integers | -+----------+ -| [5,7] | -+----------+ -1 rows -+----------+ -| integers | -+----------+ -| [0,2,4] | -+----------+ -1 rows diff --git a/examples/topics/transformations/filtering/basic/code.php b/examples/topics/transformations/filtering/basic/code.php deleted file mode 100644 index e659b237f7..0000000000 --- a/examples/topics/transformations/filtering/basic/code.php +++ /dev/null @@ -1,20 +0,0 @@ -read(from_array([ - ['id' => 1, 'name' => 'Alice', 'age' => 25, 'active' => true], - ['id' => 2, 'name' => 'Bob', 'age' => 32, 'active' => false], - ['id' => 3, 'name' => 'Charlie', 'age' => 28, 'active' => true], - ['id' => 4, 'name' => 'Diana', 'age' => 35, 'active' => true], - ['id' => 5, 'name' => 'Eve', 'age' => 22, 'active' => false], - ])) - ->collect() - ->filter(ref('active')->isTrue()) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/filtering/basic/composer.json b/examples/topics/transformations/filtering/basic/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/filtering/basic/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/filtering/basic/composer.lock b/examples/topics/transformations/filtering/basic/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/filtering/basic/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/filtering/basic/description.md b/examples/topics/transformations/filtering/basic/description.md deleted file mode 100644 index 5538c83e5b..0000000000 --- a/examples/topics/transformations/filtering/basic/description.md +++ /dev/null @@ -1,15 +0,0 @@ -Basic data filtering using the `filter()` method. - -The `filter()` method allows you to remove rows from your dataset based on conditions. Only rows that match the condition will be kept in the result. - -```php -filter(BooleanExpression $condition): DataFrame -``` - -In this example, we filter the dataset to keep only rows where the `active` column is `true`. This is one of the most common operations in data processing - selecting a subset of data that meets specific criteria. - -The filter expression uses Flow's DSL to reference columns and apply conditions: -- `ref('active')` - References the 'active' column -- `isTrue()` - Checks if the value is true - -After filtering, only the active users (Alice, Charlie, and Diana) remain in the output. diff --git a/examples/topics/transformations/filtering/basic/flow_php_example.zip b/examples/topics/transformations/filtering/basic/flow_php_example.zip deleted file mode 100644 index f9575c8142..0000000000 Binary files a/examples/topics/transformations/filtering/basic/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/filtering/basic/output.txt b/examples/topics/transformations/filtering/basic/output.txt deleted file mode 100644 index 16db21d4d0..0000000000 --- a/examples/topics/transformations/filtering/basic/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -+----+---------+-----+--------+ -| id | name | age | active | -+----+---------+-----+--------+ -| 1 | Alice | 25 | true | -| 3 | Charlie | 28 | true | -| 4 | Diana | 35 | true | -+----+---------+-----+--------+ -3 rows diff --git a/examples/topics/transformations/filtering/basic/priority.txt b/examples/topics/transformations/filtering/basic/priority.txt deleted file mode 100644 index d00491fd7e..0000000000 --- a/examples/topics/transformations/filtering/basic/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/examples/topics/transformations/filtering/divide/code.php b/examples/topics/transformations/filtering/divide/code.php deleted file mode 100644 index f6b733c49b..0000000000 --- a/examples/topics/transformations/filtering/divide/code.php +++ /dev/null @@ -1,17 +0,0 @@ -read(from_rows(rows( - row(int_entry('a', 100), int_entry('b', 100)), - row(int_entry('a', 100), int_entry('b', 200)) - ))) - ->filter(ref('b')->divide(lit(2))->same(ref('a'))) - ->withEntry('new_b', ref('b')->multiply(lit(2))->multiply(lit(5))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/filtering/divide/composer.json b/examples/topics/transformations/filtering/divide/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/filtering/divide/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/filtering/divide/composer.lock b/examples/topics/transformations/filtering/divide/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/filtering/divide/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/filtering/divide/flow_php_example.zip b/examples/topics/transformations/filtering/divide/flow_php_example.zip deleted file mode 100644 index 38d36a174f..0000000000 Binary files a/examples/topics/transformations/filtering/divide/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/filtering/divide/output.txt b/examples/topics/transformations/filtering/divide/output.txt deleted file mode 100644 index 6fe6a565b1..0000000000 --- a/examples/topics/transformations/filtering/divide/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+-----+-----+-------+ -| a | b | new_b | -+-----+-----+-------+ -| 100 | 200 | 2000 | -+-----+-----+-------+ -1 rows diff --git a/examples/topics/transformations/filtering/mod/code.php b/examples/topics/transformations/filtering/mod/code.php deleted file mode 100644 index 50b880be84..0000000000 --- a/examples/topics/transformations/filtering/mod/code.php +++ /dev/null @@ -1,16 +0,0 @@ -read(from_rows(rows( - row(int_entry('a', 4), int_entry('b', 5)), - row(int_entry('a', 3), int_entry('b', 6)) - ))) - ->filter(ref('b')->mod(lit(2))->equals(lit(0))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/filtering/mod/composer.json b/examples/topics/transformations/filtering/mod/composer.json deleted file mode 100644 index 17f1f79578..0000000000 --- a/examples/topics/transformations/filtering/mod/composer.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev" -} diff --git a/examples/topics/transformations/filtering/mod/composer.lock b/examples/topics/transformations/filtering/mod/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/filtering/mod/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/filtering/mod/flow_php_example.zip b/examples/topics/transformations/filtering/mod/flow_php_example.zip deleted file mode 100644 index dbad4604f1..0000000000 Binary files a/examples/topics/transformations/filtering/mod/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/filtering/mod/output.txt b/examples/topics/transformations/filtering/mod/output.txt deleted file mode 100644 index 50ae40c9b7..0000000000 --- a/examples/topics/transformations/filtering/mod/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+---+---+ -| a | b | -+---+---+ -| 3 | 6 | -+---+---+ -1 rows diff --git a/examples/topics/transformations/literals/code.php b/examples/topics/transformations/literals/code.php deleted file mode 100644 index f3e666a628..0000000000 --- a/examples/topics/transformations/literals/code.php +++ /dev/null @@ -1,15 +0,0 @@ -read(from_rows(rows( - row(str_entry('name', 'Norbert')) - ))) - ->withEntry('number', lit(1)) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/literals/composer.json b/examples/topics/transformations/literals/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/literals/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/literals/composer.lock b/examples/topics/transformations/literals/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/literals/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/literals/flow_php_example.zip b/examples/topics/transformations/literals/flow_php_example.zip deleted file mode 100644 index 4f46df9c18..0000000000 Binary files a/examples/topics/transformations/literals/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/literals/output.txt b/examples/topics/transformations/literals/output.txt deleted file mode 100644 index 82b3bd0474..0000000000 --- a/examples/topics/transformations/literals/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+---------+--------+ -| name | number | -+---------+--------+ -| Norbert | 1 | -+---------+--------+ -1 rows diff --git a/examples/topics/transformations/match/code.php b/examples/topics/transformations/match/code.php deleted file mode 100644 index 7f41311545..0000000000 --- a/examples/topics/transformations/match/code.php +++ /dev/null @@ -1,45 +0,0 @@ -read( - from_rows( - rows( - row(string_entry('string', 'string-with-dashes')), - row(string_entry('string', '123')), - row(string_entry('string', '14%')), - row(string_entry('string', '+14')), - row(string_entry('string', '')) - ) - ) - ) - ->withEntry( - 'string', - match_cases( - [ - match_condition(ref('string')->contains('-'), ref('string')->strReplace('-', ' ')), - match_condition(ref('string')->call('is_numeric'), ref('string')->cast(type_integer())), - match_condition(ref('string')->endsWith('%'), ref('string')->strReplace('%', '')->cast(type_integer())), - match_condition(ref('string')->startsWith('+'), ref('string')->strReplace('+', '')->cast(type_integer())), - ], - default: lit('DEFAULT') - ) - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/match/composer.json b/examples/topics/transformations/match/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/match/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/match/composer.lock b/examples/topics/transformations/match/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/match/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/match/flow_php_example.zip b/examples/topics/transformations/match/flow_php_example.zip deleted file mode 100644 index b8b7fc2a3b..0000000000 Binary files a/examples/topics/transformations/match/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/match/output.txt b/examples/topics/transformations/match/output.txt deleted file mode 100644 index bdac460011..0000000000 --- a/examples/topics/transformations/match/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -+--------------------+ -| string | -+--------------------+ -| string with dashes | -| 123 | -| 14 | -| 14 | -| DEFAULT | -+--------------------+ -5 rows diff --git a/examples/topics/transformations/math/code.php b/examples/topics/transformations/math/code.php deleted file mode 100644 index f3d9428633..0000000000 --- a/examples/topics/transformations/math/code.php +++ /dev/null @@ -1,15 +0,0 @@ -read(from_rows(rows( - row(int_entry('a', 100), int_entry('b', 200)) - ))) - ->withEntry('d', ref('b')->minus(ref('a'))) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/math/composer.json b/examples/topics/transformations/math/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/math/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/math/composer.lock b/examples/topics/transformations/math/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/math/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/math/flow_php_example.zip b/examples/topics/transformations/math/flow_php_example.zip deleted file mode 100644 index 05b57df0d7..0000000000 Binary files a/examples/topics/transformations/math/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/math/output.txt b/examples/topics/transformations/math/output.txt deleted file mode 100644 index cba9590e03..0000000000 --- a/examples/topics/transformations/math/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+-----+-----+-----+ -| a | b | d | -+-----+-----+-----+ -| 100 | 200 | 100 | -+-----+-----+-----+ -1 rows diff --git a/examples/topics/transformations/priority.txt b/examples/topics/transformations/priority.txt deleted file mode 100644 index e440e5c842..0000000000 --- a/examples/topics/transformations/priority.txt +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/examples/topics/transformations/size/code.php b/examples/topics/transformations/size/code.php deleted file mode 100644 index 31c47ca352..0000000000 --- a/examples/topics/transformations/size/code.php +++ /dev/null @@ -1,15 +0,0 @@ -read(from_rows(rows( - row(int_entry('id', 1), json_entry('array', ['a' => 1, 'b' => 2, 'c' => 3])), - ))) - ->withEntry('array_size', ref('array')->size()) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/size/composer.json b/examples/topics/transformations/size/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/size/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/size/composer.lock b/examples/topics/transformations/size/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/size/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/size/flow_php_example.zip b/examples/topics/transformations/size/flow_php_example.zip deleted file mode 100644 index 2532d16aee..0000000000 Binary files a/examples/topics/transformations/size/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/size/output.txt b/examples/topics/transformations/size/output.txt deleted file mode 100644 index a587320787..0000000000 --- a/examples/topics/transformations/size/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -+----+---------------------+------------+ -| id | array | array_size | -+----+---------------------+------------+ -| 1 | {"a":1,"b":2,"c":3} | 3 | -+----+---------------------+------------+ -1 rows diff --git a/examples/topics/transformations/sort/code.php b/examples/topics/transformations/sort/code.php deleted file mode 100644 index 88439370d6..0000000000 --- a/examples/topics/transformations/sort/code.php +++ /dev/null @@ -1,14 +0,0 @@ -read(from_sequence_number('id', 0, 10)) - ->sortBy(ref('id')->desc()) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/sort/composer.json b/examples/topics/transformations/sort/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/sort/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/sort/composer.lock b/examples/topics/transformations/sort/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/sort/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/sort/flow_php_example.zip b/examples/topics/transformations/sort/flow_php_example.zip deleted file mode 100644 index aeed97e22b..0000000000 Binary files a/examples/topics/transformations/sort/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/sort/output.txt b/examples/topics/transformations/sort/output.txt deleted file mode 100644 index c54f35f1cc..0000000000 --- a/examples/topics/transformations/sort/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -+----+ -| id | -+----+ -| 10 | -| 9 | -| 8 | -| 7 | -| 6 | -| 5 | -| 4 | -| 3 | -| 2 | -| 1 | -| 0 | -+----+ -11 rows diff --git a/examples/topics/transformations/when/basic/code.php b/examples/topics/transformations/when/basic/code.php deleted file mode 100644 index 117fa641bd..0000000000 --- a/examples/topics/transformations/when/basic/code.php +++ /dev/null @@ -1,25 +0,0 @@ -read(from_array([ - ['id' => 1, 'email' => 'user01@flow-php.com', 'active' => true, 'tags' => ['foo', 'bar']], - ['id' => 2, 'email' => 'user02@flow-php.com', 'active' => false, 'tags' => ['biz', 'bar']], - ['id' => 3, 'email' => 'user03@flow-php.com', 'active' => true, 'tags' => ['bar', 'baz']], - ])) - ->collect() - ->withEntry( - 'is_special', - when( - ref('active')->isTrue()->and(ref('tags')->contains('foo')), - lit(true), - lit(false) - ) - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/when/basic/composer.json b/examples/topics/transformations/when/basic/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/when/basic/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/when/basic/composer.lock b/examples/topics/transformations/when/basic/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/when/basic/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/when/basic/description.md b/examples/topics/transformations/when/basic/description.md deleted file mode 100644 index 11437087ce..0000000000 --- a/examples/topics/transformations/when/basic/description.md +++ /dev/null @@ -1,13 +0,0 @@ -Basic usage of the `when` transformation function. - -The `when` function provides conditional logic within data transformations. It evaluates a condition and returns different values based on whether the condition is true or false. - -```php -when( - condition: BooleanExpression, - then: mixed, - else: mixed -): mixed -``` - -In this example, we use `when` to add a new entry `is_special` that checks if a row is both active AND contains the 'foo' tag. diff --git a/examples/topics/transformations/when/basic/flow_php_example.zip b/examples/topics/transformations/when/basic/flow_php_example.zip deleted file mode 100644 index 6c5bc1b5ab..0000000000 Binary files a/examples/topics/transformations/when/basic/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/when/basic/output.txt b/examples/topics/transformations/when/basic/output.txt deleted file mode 100644 index 930660f033..0000000000 --- a/examples/topics/transformations/when/basic/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -+----+---------------------+--------+---------------+------------+ -| id | email | active | tags | is_special | -+----+---------------------+--------+---------------+------------+ -| 1 | user01@flow-php.com | true | ["foo","bar"] | true | -| 2 | user02@flow-php.com | false | ["biz","bar"] | false | -| 3 | user03@flow-php.com | true | ["bar","baz"] | false | -+----+---------------------+--------+---------------+------------+ -3 rows diff --git a/examples/topics/transformations/when/basic/priority.txt b/examples/topics/transformations/when/basic/priority.txt deleted file mode 100644 index d00491fd7e..0000000000 --- a/examples/topics/transformations/when/basic/priority.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/examples/topics/transformations/when/else_when/code.php b/examples/topics/transformations/when/else_when/code.php deleted file mode 100644 index d09904813d..0000000000 --- a/examples/topics/transformations/when/else_when/code.php +++ /dev/null @@ -1,34 +0,0 @@ -read(from_array([ - ['id' => 1, 'score' => 95, 'email' => 'user01@flow-php.com'], - ['id' => 2, 'score' => 75, 'email' => 'user02@flow-php.com'], - ['id' => 3, 'score' => 55, 'email' => 'user03@flow-php.com'], - ['id' => 4, 'score' => 30, 'email' => 'user04@flow-php.com'], - ])) - ->collect() - ->withEntry( - 'grade', - when( - ref('score')->greaterThanEqual(lit(90)), - lit('A'), - when( - ref('score')->greaterThanEqual(lit(70)), - lit('B'), - when( - ref('score')->greaterThanEqual(lit(50)), - lit('C'), - lit('F') - ) - ) - ) - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/when/else_when/composer.json b/examples/topics/transformations/when/else_when/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/when/else_when/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/when/else_when/composer.lock b/examples/topics/transformations/when/else_when/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/when/else_when/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/when/else_when/description.md b/examples/topics/transformations/when/else_when/description.md deleted file mode 100644 index 9f099dee39..0000000000 --- a/examples/topics/transformations/when/else_when/description.md +++ /dev/null @@ -1,11 +0,0 @@ -Using `when` with nested `else_when` conditions for multi-tier logic. - -This example demonstrates how to nest multiple `when` functions to create complex conditional logic, similar to if-elseif-elseif-else chains in traditional programming. - -The pattern evaluates conditions in order: -1. If score >= 90, grade is 'A' -2. Else if score >= 70, grade is 'B' -3. Else if score >= 50, grade is 'C' -4. Else grade is 'F' - -This approach is useful for categorizing data into multiple levels or implementing grading systems, priority levels, or status determination based on multiple criteria. diff --git a/examples/topics/transformations/when/else_when/flow_php_example.zip b/examples/topics/transformations/when/else_when/flow_php_example.zip deleted file mode 100644 index 6af11ff3bf..0000000000 Binary files a/examples/topics/transformations/when/else_when/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/when/else_when/output.txt b/examples/topics/transformations/when/else_when/output.txt deleted file mode 100644 index 115ffab8c9..0000000000 --- a/examples/topics/transformations/when/else_when/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+----+-------+---------------------+-------+ -| id | score | email | grade | -+----+-------+---------------------+-------+ -| 1 | 95 | user01@flow-php.com | A | -| 2 | 75 | user02@flow-php.com | B | -| 3 | 55 | user03@flow-php.com | C | -| 4 | 30 | user04@flow-php.com | F | -+----+-------+---------------------+-------+ -4 rows diff --git a/examples/topics/transformations/when/else_when/priority.txt b/examples/topics/transformations/when/else_when/priority.txt deleted file mode 100644 index 0cfbf08886..0000000000 --- a/examples/topics/transformations/when/else_when/priority.txt +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/examples/topics/transformations/when/null/code.php b/examples/topics/transformations/when/null/code.php deleted file mode 100644 index 084cbd1503..0000000000 --- a/examples/topics/transformations/when/null/code.php +++ /dev/null @@ -1,22 +0,0 @@ -read(from_rows(rows( - row(int_entry('id', 1), int_entry('value', 1)), - row(int_entry('id', 2), int_entry('value', 1)), - row(int_entry('id', 3), int_entry('value', null)), - row(int_entry('id', 4), int_entry('value', 1)), - row(int_entry('id', 5), int_entry('value', null)), - ))) - ->withEntry( - 'value', - when(ref('value')->isNull(), then: lit(0)) - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/when/null/composer.json b/examples/topics/transformations/when/null/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/when/null/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/when/null/composer.lock b/examples/topics/transformations/when/null/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/when/null/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/when/null/flow_php_example.zip b/examples/topics/transformations/when/null/flow_php_example.zip deleted file mode 100644 index 49d8a25c6d..0000000000 Binary files a/examples/topics/transformations/when/null/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/when/null/output.txt b/examples/topics/transformations/when/null/output.txt deleted file mode 100644 index 56b27e0245..0000000000 --- a/examples/topics/transformations/when/null/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -+----+-------+ -| id | value | -+----+-------+ -| 1 | | -| 2 | | -| 3 | 0 | -| 4 | | -| 5 | 0 | -+----+-------+ -5 rows diff --git a/examples/topics/transformations/when/odd/code.php b/examples/topics/transformations/when/odd/code.php deleted file mode 100644 index ce32890409..0000000000 --- a/examples/topics/transformations/when/odd/code.php +++ /dev/null @@ -1,21 +0,0 @@ -read(from_sequence_number('number', 1, 100)) - ->collect() - ->withEntry( - 'type', - when( - ref('number')->isOdd(), - then: lit('odd'), - else: lit('even') - ) - ) - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/transformations/when/odd/composer.json b/examples/topics/transformations/when/odd/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/transformations/when/odd/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/transformations/when/odd/composer.lock b/examples/topics/transformations/when/odd/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/transformations/when/odd/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/transformations/when/odd/flow_php_example.zip b/examples/topics/transformations/when/odd/flow_php_example.zip deleted file mode 100644 index 4862623bbc..0000000000 Binary files a/examples/topics/transformations/when/odd/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/transformations/when/odd/output.txt b/examples/topics/transformations/when/odd/output.txt deleted file mode 100644 index fe59e3b651..0000000000 --- a/examples/topics/transformations/when/odd/output.txt +++ /dev/null @@ -1,105 +0,0 @@ -+--------+------+ -| number | type | -+--------+------+ -| 1 | odd | -| 2 | even | -| 3 | odd | -| 4 | even | -| 5 | odd | -| 6 | even | -| 7 | odd | -| 8 | even | -| 9 | odd | -| 10 | even | -| 11 | odd | -| 12 | even | -| 13 | odd | -| 14 | even | -| 15 | odd | -| 16 | even | -| 17 | odd | -| 18 | even | -| 19 | odd | -| 20 | even | -| 21 | odd | -| 22 | even | -| 23 | odd | -| 24 | even | -| 25 | odd | -| 26 | even | -| 27 | odd | -| 28 | even | -| 29 | odd | -| 30 | even | -| 31 | odd | -| 32 | even | -| 33 | odd | -| 34 | even | -| 35 | odd | -| 36 | even | -| 37 | odd | -| 38 | even | -| 39 | odd | -| 40 | even | -| 41 | odd | -| 42 | even | -| 43 | odd | -| 44 | even | -| 45 | odd | -| 46 | even | -| 47 | odd | -| 48 | even | -| 49 | odd | -| 50 | even | -| 51 | odd | -| 52 | even | -| 53 | odd | -| 54 | even | -| 55 | odd | -| 56 | even | -| 57 | odd | -| 58 | even | -| 59 | odd | -| 60 | even | -| 61 | odd | -| 62 | even | -| 63 | odd | -| 64 | even | -| 65 | odd | -| 66 | even | -| 67 | odd | -| 68 | even | -| 69 | odd | -| 70 | even | -| 71 | odd | -| 72 | even | -| 73 | odd | -| 74 | even | -| 75 | odd | -| 76 | even | -| 77 | odd | -| 78 | even | -| 79 | odd | -| 80 | even | -| 81 | odd | -| 82 | even | -| 83 | odd | -| 84 | even | -| 85 | odd | -| 86 | even | -| 87 | odd | -| 88 | even | -| 89 | odd | -| 90 | even | -| 91 | odd | -| 92 | even | -| 93 | odd | -| 94 | even | -| 95 | odd | -| 96 | even | -| 97 | odd | -| 98 | even | -| 99 | odd | -| 100 | even | -+--------+------+ -100 rows diff --git a/examples/topics/types/assertions/code.php b/examples/topics/types/assertions/code.php deleted file mode 100644 index 06e3557f90..0000000000 --- a/examples/topics/types/assertions/code.php +++ /dev/null @@ -1,21 +0,0 @@ -assert($input); -// at this point static analysis tools knows that $string is type string -generateOutput($string); diff --git a/examples/topics/types/assertions/composer.json b/examples/topics/types/assertions/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/types/assertions/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/types/assertions/composer.lock b/examples/topics/types/assertions/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/types/assertions/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/types/assertions/flow_php_example.zip b/examples/topics/types/assertions/flow_php_example.zip deleted file mode 100644 index dc5818c344..0000000000 Binary files a/examples/topics/types/assertions/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/types/structures/code.php b/examples/topics/types/structures/code.php deleted file mode 100644 index 5613c6c7d5..0000000000 --- a/examples/topics/types/structures/code.php +++ /dev/null @@ -1,40 +0,0 @@ - type_integer(), - 'name' => type_string(), - 'active' => type_boolean(), -]); - -$userListType = type_list($userType); - -$data = [ - ['id' => 1, 'name' => 'John', 'active' => true], - ['id' => 2, 'name' => 'Rick', 'active' => true], - ['id' => 3, 'name' => 'Albert', 'active' => false], -]; - -/** - * @param array{id:int,name:string,active:bool} $userData - */ -function printUser(array $userData) : void -{ - file_put_contents(__DIR__ . '/output.txt', \json_encode($userData) . "\n", FILE_APPEND); -} - -if ($userListType->isValid($data)) { - foreach ($data as $userData) { - // at this point static analysis knows the shape of each element of $data array - printUser($userData); - } -} diff --git a/examples/topics/types/structures/composer.json b/examples/topics/types/structures/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/types/structures/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/types/structures/composer.lock b/examples/topics/types/structures/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/types/structures/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/types/structures/flow_php_example.zip b/examples/topics/types/structures/flow_php_example.zip deleted file mode 100644 index 9b418b76fa..0000000000 Binary files a/examples/topics/types/structures/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/types/structures/output.txt b/examples/topics/types/structures/output.txt deleted file mode 100644 index e22a270272..0000000000 --- a/examples/topics/types/structures/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -{"id":1,"name":"John","active":true} -{"id":2,"name":"Rick","active":true} -{"id":3,"name":"Albert","active":false} diff --git a/examples/topics/window_functions/dens_rank/code.php b/examples/topics/window_functions/dens_rank/code.php deleted file mode 100644 index 66b1140ff3..0000000000 --- a/examples/topics/window_functions/dens_rank/code.php +++ /dev/null @@ -1,24 +0,0 @@ -read( - from_array([ - ['id' => 1, 'name' => 'Greg', 'department' => 'IT', 'salary' => 6000], - ['id' => 2, 'name' => 'Michal', 'department' => 'IT', 'salary' => 5000], - ['id' => 3, 'name' => 'Tomas', 'department' => 'Finances', 'salary' => 11_000], - ['id' => 4, 'name' => 'John', 'department' => 'Finances', 'salary' => 9000], - ['id' => 5, 'name' => 'Jane', 'department' => 'Finances', 'salary' => 14_000], - ['id' => 6, 'name' => 'Janet', 'department' => 'Finances', 'salary' => 4000], - ]) - ) - ->withEntry('rank', dense_rank()->over(window()->partitionBy(ref('department'))->orderBy(ref('salary')->desc()))) - ->sortBy(ref('department'), ref('rank')) - ->collect() - ->write(to_stream(__DIR__ . '/output.txt', truncate: false)) - ->run(); diff --git a/examples/topics/window_functions/dens_rank/composer.json b/examples/topics/window_functions/dens_rank/composer.json deleted file mode 100644 index e3987f1b0b..0000000000 --- a/examples/topics/window_functions/dens_rank/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "flow-php/examples", - "description": "Flow PHP - Examples", - "license": "MIT", - "type": "library", - "require": { - "flow-php/etl": "1.x-dev" - }, - "minimum-stability": "dev", - "archive": { - "exclude": [ - ".env", - "vendor" - ] - } -} diff --git a/examples/topics/window_functions/dens_rank/composer.lock b/examples/topics/window_functions/dens_rank/composer.lock deleted file mode 100644 index 73ee4808ab..0000000000 --- a/examples/topics/window_functions/dens_rank/composer.lock +++ /dev/null @@ -1,981 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "696ec504c9dcc3657f8d6774b4e7c553", - "packages": [ - { - "name": "brick/math", - "version": "0.14.0", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", - "shasum": "" - }, - "require": { - "php": "^8.2" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.0" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - } - ], - "time": "2025-08-29T12:40:03+00:00" - }, - { - "name": "flow-php/array-dot", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/array-dot.git", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/array-dot/zipball/37c0dd8ce3464097d41eed659776ba16373b7a20", - "reference": "37c0dd8ce3464097d41eed659776ba16373b7a20", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ArrayDot/array_dot.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Array Dot functions", - "keywords": [ - "array", - "dot", - "etl", - "extract", - "filter", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/array-dot/issues", - "source": "https://github.com/flow-php/array-dot/tree/0.23.0" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-06-25T17:53:02+00:00" - }, - { - "name": "flow-php/etl", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/etl.git", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/etl/zipball/663ec1b6a3abe169497cca919418211dc4aa0037", - "reference": "663ec1b6a3abe169497cca919418211dc4aa0037", - "shasum": "" - }, - "require": { - "brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14", - "ext-json": "*", - "ext-mbstring": "*", - "flow-php/array-dot": "self.version", - "flow-php/filesystem": "self.version", - "flow-php/types": "self.version", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "psr/clock": "^1.0", - "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", - "symfony/string": "^5.4 || ^6.4 || ^7.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "require-dev": { - "ramsey/uuid": "^4.5", - "symfony/uid": "^6.3 || ^7.0" - }, - "suggest": { - "ext-bcmath": "BCMath extension for PHP for more precise calculations" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/ETL/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Extract Transform Load - Abstraction", - "keywords": [ - "etl", - "extract", - "load", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/etl/issues", - "source": "https://github.com/flow-php/etl/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:59+00:00" - }, - { - "name": "flow-php/filesystem", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/filesystem.git", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/filesystem/zipball/6fca263e996e4a06544c40bc958b72657d6b6821", - "reference": "6fca263e996e4a06544c40bc958b72657d6b6821", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "webmozart/glob": "^3.0 || ^4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Filesystem/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP ETL - Filesystem abstraction", - "keywords": [ - "aws", - "azure", - "etl", - "extract", - "filesystem", - "gcp", - "load", - "remote", - "transform" - ], - "support": { - "issues": "https://github.com/flow-php/filesystem/issues", - "source": "https://github.com/flow-php/filesystem/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:21:54+00:00" - }, - { - "name": "flow-php/types", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/flow-php/types.git", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flow-php/types/zipball/17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "reference": "17cfa6fe119aab0c8b6f1fe311f65e1a576ae4ea", - "shasum": "" - }, - "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "src/Flow/Types/DSL/functions.php" - ], - "psr-4": { - "Flow\\": [ - "src/Flow" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extended types for PHP aligned with modern static analysis tools to provide better type safety.", - "keywords": [ - "php", - "types" - ], - "support": { - "issues": "https://github.com/flow-php/types/issues", - "source": "https://github.com/flow-php/types/tree/1.x" - }, - "funding": [ - { - "url": "https://flow-php.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/norberttech", - "type": "github" - } - ], - "time": "2025-10-21T12:20:33+00:00" - }, - { - "name": "psr/clock", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Clock\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", - "keywords": [ - "clock", - "now", - "psr", - "psr-20", - "time" - ], - "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" - }, - "time": "2022-11-25T14:36:26+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "reference": "2d280c2aaa23a120f35d55cfde8581954a8e77fa", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2022-04-08T16:41:45+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.6-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-25T14:21:43+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", - "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-27T09:58:17+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-12-23T08:48:59+00:00" - }, - { - "name": "symfony/string", - "version": "7.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "reference": "bc7852160e1f18ce249c3daaba3b26cf5425a34d", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/7.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-09-11T14:37:11+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "reference": "6712c9c4a8b0f6f629303bd1b26b9f88339d901e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symfony/filesystem": "^5.3" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.8.x" - }, - "time": "2024-08-06T15:56:59+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "flow-php/etl": 20 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/examples/topics/window_functions/dens_rank/flow_php_example.zip b/examples/topics/window_functions/dens_rank/flow_php_example.zip deleted file mode 100644 index a3db29faac..0000000000 Binary files a/examples/topics/window_functions/dens_rank/flow_php_example.zip and /dev/null differ diff --git a/examples/topics/window_functions/dens_rank/output.txt b/examples/topics/window_functions/dens_rank/output.txt deleted file mode 100644 index 88af42ba0f..0000000000 --- a/examples/topics/window_functions/dens_rank/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -+----+--------+------------+--------+------+ -| id | name | department | salary | rank | -+----+--------+------------+--------+------+ -| 5 | Jane | Finances | 14000 | 1 | -| 3 | Tomas | Finances | 11000 | 2 | -| 4 | John | Finances | 9000 | 3 | -| 6 | Janet | Finances | 4000 | 4 | -| 1 | Greg | IT | 6000 | 1 | -| 2 | Michal | IT | 5000 | 2 | -+----+--------+------------+--------+------+ -6 rows diff --git a/web/landing/assets/controllers/horizontal_scroll_controller.js b/web/landing/assets/controllers/horizontal_scroll_controller.js new file mode 100644 index 0000000000..bfd9e9bca2 --- /dev/null +++ b/web/landing/assets/controllers/horizontal_scroll_controller.js @@ -0,0 +1,51 @@ +import { Controller } from "@hotwired/stimulus" + +export default class extends Controller { + static targets = ["container", "leftArrow", "rightArrow"] + + #scrollAmount = 200 + + connect() { + this.#updateArrowVisibility() + this.boundUpdateVisibility = this.#updateArrowVisibility.bind(this) + this.containerTarget.addEventListener('scroll', this.boundUpdateVisibility) + window.addEventListener('resize', this.boundUpdateVisibility) + } + + disconnect() { + this.containerTarget.removeEventListener('scroll', this.boundUpdateVisibility) + window.removeEventListener('resize', this.boundUpdateVisibility) + } + + scrollLeft(event) { + event.preventDefault() + this.containerTarget.scrollBy({ + left: -this.#scrollAmount, + behavior: 'smooth' + }) + } + + scrollRight(event) { + event.preventDefault() + this.containerTarget.scrollBy({ + left: this.#scrollAmount, + behavior: 'smooth' + }) + } + + #updateArrowVisibility() { + const container = this.containerTarget + const canScrollLeft = container.scrollLeft > 0 + const canScrollRight = container.scrollLeft < (container.scrollWidth - container.clientWidth - 1) + + if (this.hasLeftArrowTarget) { + this.leftArrowTarget.classList.toggle('opacity-0', !canScrollLeft) + this.leftArrowTarget.classList.toggle('pointer-events-none', !canScrollLeft) + } + + if (this.hasRightArrowTarget) { + this.rightArrowTarget.classList.toggle('opacity-0', !canScrollRight) + this.rightArrowTarget.classList.toggle('pointer-events-none', !canScrollRight) + } + } +} diff --git a/web/landing/assets/controllers/playground_controller.js b/web/landing/assets/controllers/playground_controller.js index 89a0969eb5..3456eea4bf 100644 --- a/web/landing/assets/controllers/playground_controller.js +++ b/web/landing/assets/controllers/playground_controller.js @@ -5,7 +5,8 @@ export default class extends Controller { static targets = ["loadingMessage", "loadingBar", "loadingPercent", "navigation", "editor", "outputContainer", "storageIndicator", "actionSpinner"] static values = { packageIcon: String, - linkIcon: String + linkIcon: String, + exampleIcon: String } connect() { @@ -49,6 +50,11 @@ export default class extends Controller { this.#showIndicator('storage') } + onExampleLoaded(event) { + this.#log('Code loaded from example') + this.#showIndicator('example') + } + onUrlLoaded(event) { this.#log('Code loaded from URL') this.#showIndicator('url') @@ -157,12 +163,14 @@ export default class extends Controller { const icons = { storage: ``, - url: `` + url: ``, + example: `` } const labels = { storage: 'Loaded from local storage', - url: 'Loaded from snippet' + url: 'Loaded from snippet', + example: 'Loaded from example' } this.storageIndicatorTarget.innerHTML = icons[source] + '' + labels[source] + '' diff --git a/web/landing/assets/controllers/playground_share_controller.js b/web/landing/assets/controllers/playground_share_controller.js index a1043c783a..caed0228d2 100644 --- a/web/landing/assets/controllers/playground_share_controller.js +++ b/web/landing/assets/controllers/playground_share_controller.js @@ -5,7 +5,8 @@ export default class extends Controller { static outlets = ["code-editor", "wasm", "turnstile", "playground-upload"] static values = { apiUrl: String, - snippetsUrl: String + snippetsUrl: String, + isExample: { type: Boolean, default: false } } #debug = false #snippetLoaded = false @@ -13,6 +14,8 @@ export default class extends Controller { #wasmResourcesLoaded = false #pendingSnippetLoad = false #defaultFingerprint = null + #exampleCodeModified = false + #boundHandleExampleLoaded = null connect() { this.#debug = this.application.debug @@ -21,12 +24,25 @@ export default class extends Controller { this.#boundHandleCodeChanged = this.#handleCodeChanged.bind(this) this.element.addEventListener('code-editor:code-changed', this.#boundHandleCodeChanged) + + this.#boundHandleExampleLoaded = this.#handleExampleLoaded.bind(this) + this.element.addEventListener('playground-storage:loaded-from-example', this.#boundHandleExampleLoaded) } disconnect() { if (this.#boundHandleCodeChanged) { this.element.removeEventListener('code-editor:code-changed', this.#boundHandleCodeChanged) } + if (this.#boundHandleExampleLoaded) { + this.element.removeEventListener('playground-storage:loaded-from-example', this.#boundHandleExampleLoaded) + } + } + + #handleExampleLoaded() { + // Reset the modified flag when example is initially loaded + // This prevents the initial setCode() call from marking example as modified + this.#exampleCodeModified = false + this.#log('Example loaded, reset exampleCodeModified flag') } async onWasmResourcesLoaded() { @@ -228,17 +244,29 @@ export default class extends Controller { this.dispatch('action-started', { bubbles: true }) try { + // First, wait only for code-editor and wasm (NOT turnstile yet) await Promise.all([ this.codeEditorOutlet.onLoad(), - this.wasmOutlet.onLoad(), - this.turnstileOutlet.onLoad() + this.wasmOutlet.onLoad() ]) + const files = await this.#collectUploadedFiles() + + // Check for unmodified example BEFORE requiring Turnstile + if (this.isExampleValue && !this.#exampleCodeModified && files.length === 0) { + const exampleUrl = `${window.location.origin}${window.location.pathname}` + await this.#copyToClipboard(exampleUrl) + this.#showNotification('Example link copied to clipboard!', 'success', exampleUrl) + return + } + + // Only now wait for Turnstile (upload path) + await this.turnstileOutlet.onLoad() + const code = this.codeEditorOutlet.getCode() await this.wasmOutlet.writeFile('/workspace/code.php', code) - const files = await this.#collectUploadedFiles() const fileBlobs = files.map(f => f.blob) const fingerprint = await createFingerprint(code, fileBlobs) @@ -263,17 +291,8 @@ export default class extends Controller { this.#snippetLoaded = true } - if (navigator.clipboard && navigator.clipboard.writeText) { - try { - await navigator.clipboard.writeText(shareUrl) - this.#showNotification('Snippet already exists! Link copied to clipboard.', 'success', shareUrl) - } catch (clipboardError) { - this.#log('Clipboard write failed:', clipboardError) - this.#showNotification(`Snippet already exists: ${shareUrl}`, 'success', shareUrl) - } - } else { - prompt('Copy this link:', shareUrl) - } + await this.#copyToClipboard(shareUrl) + this.#showNotification('Snippet already exists! Link copied to clipboard.', 'success', shareUrl) return } @@ -335,17 +354,8 @@ export default class extends Controller { this.#snippetLoaded = true } - if (navigator.clipboard && navigator.clipboard.writeText) { - try { - await navigator.clipboard.writeText(shareUrl) - this.#showNotification('Share link copied to clipboard!', 'success', shareUrl) - } catch (clipboardError) { - this.#log('Clipboard write failed (document not focused):', clipboardError) - this.#showNotification(`Share link created: ${shareUrl}`, 'success', shareUrl) - } - } else { - prompt('Copy this link:', shareUrl) - } + await this.#copyToClipboard(shareUrl) + this.#showNotification('Share link copied to clipboard!', 'success', shareUrl) } catch (error) { console.error('[ShareCode] Upload error:', error) throw error @@ -369,6 +379,11 @@ export default class extends Controller { } #handleCodeChanged() { + // Mark example as modified when code changes + if (this.isExampleValue) { + this.#exampleCodeModified = true + } + if (this.#snippetLoaded) { this.#log('Code changed, clearing snippet URL from browser') const cleanUrl = `${window.location.origin}${window.location.pathname}` @@ -402,6 +417,19 @@ export default class extends Controller { return files } + async #copyToClipboard(url) { + if (navigator.clipboard && navigator.clipboard.writeText) { + try { + await navigator.clipboard.writeText(url) + } catch (clipboardError) { + this.#log('Clipboard write failed:', clipboardError) + prompt('Copy this link:', url) + } + } else { + prompt('Copy this link:', url) + } + } + #showNotification(message, type = 'info', link = null) { this.dispatch('notification', { detail: { message, type, link }, diff --git a/web/landing/assets/controllers/playground_storage_controller.js b/web/landing/assets/controllers/playground_storage_controller.js index 6a0bce61de..deba12bc80 100644 --- a/web/landing/assets/controllers/playground_storage_controller.js +++ b/web/landing/assets/controllers/playground_storage_controller.js @@ -3,7 +3,8 @@ import { Controller } from '@hotwired/stimulus' export default class extends Controller { static outlets = ['code-editor', 'wasm'] static values = { - storageKey: { type: String, default: 'flow-playground-code' } + storageKey: { type: String, default: 'flow-playground-code' }, + initialCode: { type: String, default: '' } } #wasmResourcesLoaded = false @@ -36,23 +37,32 @@ export default class extends Controller { console.warn('Code editor outlet not available') return } - if (!this.hasWasmOutlet) { - console.warn('WASM outlet not available') - return - } + if (!this.hasWasmOutlet) { + console.warn('WASM outlet not available') + return + } - await Promise.all([ - this.codeEditorOutlet.onLoad(), - this.wasmOutlet.onLoad() - ]) + await Promise.all([ + this.codeEditorOutlet.onLoad(), + this.wasmOutlet.onLoad() + ]) - const result = await this.wasmOutlet.readFile('/workspace/code.php') - if (result.success && result.content) { - this.codeEditorOutlet.setCode(result.content) - this.dispatch('loaded', { detail: { codeLength: result.content.length }, bubbles: true }) - } else { - console.warn('Failed to read /workspace/code.php:', result) - } + // If initial code is provided (from example), use that + if (this.hasInitialCodeValue && this.initialCodeValue) { + this.codeEditorOutlet.setCode(this.initialCodeValue) + await this.wasmOutlet.writeFile('/workspace/code.php', this.initialCodeValue) + this.dispatch('loaded-from-example', { detail: { codeLength: this.initialCodeValue.length }, bubbles: true }) + return + } + + // Otherwise, load from WASM default + const result = await this.wasmOutlet.readFile('/workspace/code.php') + if (result.success && result.content) { + this.codeEditorOutlet.setCode(result.content) + this.dispatch('loaded', { detail: { codeLength: result.content.length }, bubbles: true }) + } else { + console.warn('Failed to read /workspace/code.php:', result) + } } catch (error) { console.error('Error in loadCode:', error) } diff --git a/web/landing/assets/images/icons/arrow-left.svg b/web/landing/assets/images/icons/arrow-left.svg new file mode 100644 index 0000000000..5d3a565fd8 --- /dev/null +++ b/web/landing/assets/images/icons/arrow-left.svg @@ -0,0 +1,5 @@ + + + + diff --git a/web/landing/assets/styles/app.css b/web/landing/assets/styles/app.css index 996d4e31e5..89004d2bf0 100644 --- a/web/landing/assets/styles/app.css +++ b/web/landing/assets/styles/app.css @@ -138,7 +138,7 @@ code { #documentation-page { - @apply pb-5 px-2 sm:px-4 mx-auto max-w-screen-2xl; + @apply pb-5; } #documentation-page a { @@ -315,8 +315,18 @@ code { display: none; } +/* Hide scrollbar for horizontal scroll navigation while keeping scroll functionality */ +[data-controller="horizontal-scroll"] [data-horizontal-scroll-target="container"] { + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE/Edge */ +} + +[data-controller="horizontal-scroll"] [data-horizontal-scroll-target="container"]::-webkit-scrollbar { + display: none; /* Chrome, Safari */ +} + #playground { - @apply py-10 px-2 sm:px-4 mx-auto max-w-screen-2xl; + @apply py-10 px-4 lg:px-8 xl:px-12; .playground-header { @apply mb-6; @@ -328,6 +338,14 @@ code { .help-trigger { @apply cursor-pointer border-0 bg-transparent p-0 ml-2 transition-opacity hover:opacity-70 inline-block align-middle; } + + .back-link { + @apply inline-flex items-center gap-2 ml-4 text-sm text-stone-400 hover:text-white transition-colors no-underline; + + img { + @apply inline-block; + } + } } #help-section { @@ -424,9 +442,18 @@ code { } div.editor { - @apply grid gap-6 grid-cols-1 lg:grid-cols-12 mb-6; + @apply grid gap-6 grid-cols-1; display: none; /* Hidden by default, shown by Stimulus */ + @screen lg { + grid-template-columns: 16rem 1fr; /* 256px | fluid */ + align-items: stretch; /* File browser matches height of editor-main */ + } + + @screen xl { + grid-template-columns: 18rem 1fr; /* 288px | fluid */ + } + div.file-browser-mobile { @apply grid grid-cols-[auto_1fr] items-center gap-4; @@ -454,7 +481,7 @@ code { div.file-browser { @apply rounded p-4 overflow-auto shadow-2xl shadow-gray border-gray border-2 - lg:col-span-2 bg-transparent; + bg-transparent; display: none; @screen lg { @@ -515,7 +542,7 @@ code { div.code-container { @apply rounded overflow-hidden shadow-2xl shadow-gray rounded border-gray border-2 - col-span-10 flex flex-col; + min-w-0 flex flex-col; .tab-bar { @apply flex items-center border-b border-gray bg-stone-900 px-2; @@ -547,13 +574,21 @@ code { } } } + + div.editor-main { + @apply flex flex-col min-w-0; + gap: 2rem; /* More space between editor and output */ + } + + div.dsl-sidebar { + display: none; + } } div.output-container { @apply rounded p-4 overflow-auto shadow-2xl shadow-gray rounded border-gray border-2 min-h-[100px] ; - display: none; /* Hidden by default, shown by Stimulus */ pre { @apply w-full h-full resize-none outline-none p-4; diff --git a/web/landing/assets/wasm/tools/flow.phar b/web/landing/assets/wasm/tools/flow.phar index 7cd336f1c3..aa4285f605 100755 Binary files a/web/landing/assets/wasm/tools/flow.phar and b/web/landing/assets/wasm/tools/flow.phar differ diff --git a/web/landing/bin/migrate-examples.php b/web/landing/bin/migrate-examples.php new file mode 100755 index 0000000000..15e7b39ad7 --- /dev/null +++ b/web/landing/bin/migrate-examples.php @@ -0,0 +1,159 @@ +#!/usr/bin/env php +from(from_rows(rows( + row(int_entry('a', 100)), + row(int_entry('a', 100)), + row(int_entry('a', 200)), + row(int_entry('a', 400)), + row(int_entry('a', 400)) + ))) + ->aggregate(average(ref('a'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/average/documentation.md b/web/landing/content/examples/topics/aggregations/aggregating_functions/average/documentation.md new file mode 100644 index 0000000000..6847dd9451 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/average/documentation.md @@ -0,0 +1 @@ +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/first/_meta.yaml b/web/landing/content/examples/topics/aggregations/aggregating_functions/first/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/first/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/first/code.php b/web/landing/content/examples/topics/aggregations/aggregating_functions/first/code.php new file mode 100644 index 0000000000..f5469127db --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/first/code.php @@ -0,0 +1,19 @@ +from(from_rows(rows( + row(int_entry('a', 100)), + row(int_entry('a', 100)), + row(int_entry('a', 200)), + row(int_entry('a', 400)), + row(int_entry('a', 400)) + ))) + ->aggregate(first(ref('a'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/first/documentation.md b/web/landing/content/examples/topics/aggregations/aggregating_functions/first/documentation.md new file mode 100644 index 0000000000..6847dd9451 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/first/documentation.md @@ -0,0 +1 @@ +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/last/_meta.yaml b/web/landing/content/examples/topics/aggregations/aggregating_functions/last/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/last/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/last/code.php b/web/landing/content/examples/topics/aggregations/aggregating_functions/last/code.php new file mode 100644 index 0000000000..8074f8641d --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/last/code.php @@ -0,0 +1,19 @@ +from(from_rows(rows( + row(int_entry('a', 100)), + row(int_entry('a', 100)), + row(int_entry('a', 200)), + row(int_entry('a', 400)), + row(int_entry('a', 400)) + ))) + ->aggregate(last(ref('a'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/last/documentation.md b/web/landing/content/examples/topics/aggregations/aggregating_functions/last/documentation.md new file mode 100644 index 0000000000..6847dd9451 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/last/documentation.md @@ -0,0 +1 @@ +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/max/_meta.yaml b/web/landing/content/examples/topics/aggregations/aggregating_functions/max/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/max/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/max/code.php b/web/landing/content/examples/topics/aggregations/aggregating_functions/max/code.php new file mode 100644 index 0000000000..07e8ad7759 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/max/code.php @@ -0,0 +1,19 @@ +from(from_rows(rows( + row(int_entry('a', 100)), + row(int_entry('a', 100)), + row(int_entry('a', 200)), + row(int_entry('a', 400)), + row(int_entry('a', 400)) + ))) + ->aggregate(max(ref('a'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/max/documentation.md b/web/landing/content/examples/topics/aggregations/aggregating_functions/max/documentation.md new file mode 100644 index 0000000000..6847dd9451 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/max/documentation.md @@ -0,0 +1 @@ +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/min/_meta.yaml b/web/landing/content/examples/topics/aggregations/aggregating_functions/min/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/min/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/min/code.php b/web/landing/content/examples/topics/aggregations/aggregating_functions/min/code.php new file mode 100644 index 0000000000..ca02321aab --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/min/code.php @@ -0,0 +1,19 @@ +from(from_rows(rows( + row(int_entry('a', 100)), + row(int_entry('a', 100)), + row(int_entry('a', 200)), + row(int_entry('a', 400)), + row(int_entry('a', 400)) + ))) + ->aggregate(min(ref('a'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/min/documentation.md b/web/landing/content/examples/topics/aggregations/aggregating_functions/min/documentation.md new file mode 100644 index 0000000000..6847dd9451 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/min/documentation.md @@ -0,0 +1 @@ +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/_meta.yaml b/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/code.php b/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/code.php new file mode 100644 index 0000000000..b70834361f --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/code.php @@ -0,0 +1,19 @@ +from(from_rows(rows( + row(int_entry('a', 100)), + row(int_entry('a', 100)), + row(int_entry('a', 200)), + row(int_entry('a', 400)), + row(int_entry('a', 400)) + ))) + ->aggregate(sum(ref('a'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/documentation.md b/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/documentation.md new file mode 100644 index 0000000000..6847dd9451 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/aggregating_functions/sum/documentation.md @@ -0,0 +1 @@ +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/grouping/_meta.yaml b/web/landing/content/examples/topics/aggregations/grouping/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/grouping/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/grouping/group_by/_meta.yaml b/web/landing/content/examples/topics/aggregations/grouping/group_by/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/grouping/group_by/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/grouping/group_by/code.php b/web/landing/content/examples/topics/aggregations/grouping/group_by/code.php new file mode 100644 index 0000000000..b0aa759835 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/grouping/group_by/code.php @@ -0,0 +1,25 @@ +read(from_array([ + ['id' => 1, 'group' => 'A'], + ['id' => 2, 'group' => 'B'], + ['id' => 3, 'group' => 'A'], + ['id' => 4, 'group' => 'B'], + ['id' => 5, 'group' => 'A'], + ['id' => 6, 'group' => 'B'], + ['id' => 7, 'group' => 'A'], + ['id' => 8, 'group' => 'B'], + ['id' => 9, 'group' => 'A'], + ['id' => 10, 'group' => 'B'], + ])) + ->groupBy(ref('group')) + ->aggregate(count(ref('group'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/grouping/group_by/documentation.md b/web/landing/content/examples/topics/aggregations/grouping/group_by/documentation.md new file mode 100644 index 0000000000..3f5c0cf9c9 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/grouping/group_by/documentation.md @@ -0,0 +1,2 @@ +- [Group By](/documentation/components/core/group-by) +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/_meta.yaml b/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/code.php b/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/code.php new file mode 100644 index 0000000000..96cfe49d5f --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/code.php @@ -0,0 +1,25 @@ +read(from_array([ + ['id' => 1, 'group' => 'A', 'value' => 100], + ['id' => 2, 'group' => 'B', 'value' => 200], + ['id' => 3, 'group' => 'A', 'value' => 300], + ['id' => 4, 'group' => 'B', 'value' => 100], + ['id' => 5, 'group' => 'A', 'value' => 200], + ['id' => 6, 'group' => 'B', 'value' => 100], + ['id' => 7, 'group' => 'A', 'value' => 400], + ['id' => 8, 'group' => 'B', 'value' => 20], + ['id' => 9, 'group' => 'A', 'value' => 800], + ['id' => 10, 'group' => 'B', 'value' => 40], + ])) + ->groupBy(ref('group')) + ->aggregate(sum(ref('value'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/documentation.md b/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/documentation.md new file mode 100644 index 0000000000..3f5c0cf9c9 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/grouping/group_by_sum/documentation.md @@ -0,0 +1,2 @@ +- [Group By](/documentation/components/core/group-by) +- [Aggregations](/documentation/components/core/aggregations) diff --git a/web/landing/content/examples/topics/aggregations/window_functions/_meta.yaml b/web/landing/content/examples/topics/aggregations/window_functions/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/_meta.yaml b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/code.php b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/code.php new file mode 100644 index 0000000000..3dc34b5835 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/code.php @@ -0,0 +1,24 @@ +read( + from_array([ + ['id' => 1, 'name' => 'Greg', 'department' => 'IT', 'salary' => 6000], + ['id' => 2, 'name' => 'Michal', 'department' => 'IT', 'salary' => 5000], + ['id' => 3, 'name' => 'Tomas', 'department' => 'Finances', 'salary' => 11_000], + ['id' => 4, 'name' => 'John', 'department' => 'Finances', 'salary' => 9000], + ['id' => 5, 'name' => 'Jane', 'department' => 'Finances', 'salary' => 14_000], + ['id' => 6, 'name' => 'Janet', 'department' => 'Finances', 'salary' => 9000], + ]) + ) + ->withEntry('dense_rank', dense_rank()->over(window()->partitionBy(ref('department'))->orderBy(ref('salary')->desc()))) + ->sortBy(ref('department'), ref('dense_rank')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/description.md b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/description.md new file mode 100644 index 0000000000..14a0d0e670 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/description.md @@ -0,0 +1,3 @@ +The `dense_rank()` function assigns a rank to each row within a partition, without gaps in ranking when there are ties. If two rows have the same value, they get the same rank, but the next rank is consecutive (no gaps). + +For example, if two employees have the same salary and both get rank 2, the next employee gets rank 3 (not 4 like with regular `rank()`). diff --git a/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/documentation.md b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/documentation.md new file mode 100644 index 0000000000..fdb037670b --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/dense_rank/documentation.md @@ -0,0 +1 @@ +[Window Functions](https://flow-php.com/documentation/components/core/dataframe/window-functions) diff --git a/web/landing/content/examples/topics/aggregations/window_functions/description.md b/web/landing/content/examples/topics/aggregations/window_functions/description.md new file mode 100644 index 0000000000..cea93b3522 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/description.md @@ -0,0 +1,3 @@ +Window functions perform calculations across a set of rows that are related to the current row. Unlike regular aggregations, window functions don't collapse rows - each row retains its identity while gaining access to aggregate information about its "window" of related rows. + +Use `window()` to define partitions and ordering, then apply window functions like `rank()`, `dense_rank()`, or `row_number()` to compute values within each partition. diff --git a/web/landing/content/examples/topics/aggregations/window_functions/rank/_meta.yaml b/web/landing/content/examples/topics/aggregations/window_functions/rank/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/rank/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/window_functions/rank/code.php b/web/landing/content/examples/topics/aggregations/window_functions/rank/code.php new file mode 100644 index 0000000000..f264d051ea --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/rank/code.php @@ -0,0 +1,24 @@ +read( + from_array([ + ['id' => 1, 'name' => 'Greg', 'department' => 'IT', 'salary' => 6000], + ['id' => 2, 'name' => 'Michal', 'department' => 'IT', 'salary' => 5000], + ['id' => 3, 'name' => 'Tomas', 'department' => 'Finances', 'salary' => 11_000], + ['id' => 4, 'name' => 'John', 'department' => 'Finances', 'salary' => 9000], + ['id' => 5, 'name' => 'Jane', 'department' => 'Finances', 'salary' => 14_000], + ['id' => 6, 'name' => 'Janet', 'department' => 'Finances', 'salary' => 9000], + ]) + ) + ->withEntry('rank', rank()->over(window()->partitionBy(ref('department'))->orderBy(ref('salary')->desc()))) + ->sortBy(ref('department'), ref('rank')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/window_functions/rank/description.md b/web/landing/content/examples/topics/aggregations/window_functions/rank/description.md new file mode 100644 index 0000000000..bb24ee5aac --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/rank/description.md @@ -0,0 +1,3 @@ +The `rank()` function assigns a rank to each row within a partition, with gaps in ranking when there are ties. If two rows have the same value, they get the same rank, and the next rank is skipped. + +For example, if two employees have the same salary and both get rank 2, the next employee gets rank 4 (rank 3 is skipped). diff --git a/web/landing/content/examples/topics/aggregations/window_functions/rank/documentation.md b/web/landing/content/examples/topics/aggregations/window_functions/rank/documentation.md new file mode 100644 index 0000000000..fdb037670b --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/rank/documentation.md @@ -0,0 +1 @@ +[Window Functions](https://flow-php.com/documentation/components/core/dataframe/window-functions) diff --git a/web/landing/content/examples/topics/aggregations/window_functions/row_number/_meta.yaml b/web/landing/content/examples/topics/aggregations/window_functions/row_number/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/row_number/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/aggregations/window_functions/row_number/code.php b/web/landing/content/examples/topics/aggregations/window_functions/row_number/code.php new file mode 100644 index 0000000000..b1efd646b9 --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/row_number/code.php @@ -0,0 +1,24 @@ +read( + from_array([ + ['id' => 1, 'name' => 'Greg', 'department' => 'IT', 'salary' => 6000], + ['id' => 2, 'name' => 'Michal', 'department' => 'IT', 'salary' => 5000], + ['id' => 3, 'name' => 'Tomas', 'department' => 'Finances', 'salary' => 11_000], + ['id' => 4, 'name' => 'John', 'department' => 'Finances', 'salary' => 9000], + ['id' => 5, 'name' => 'Jane', 'department' => 'Finances', 'salary' => 14_000], + ['id' => 6, 'name' => 'Janet', 'department' => 'Finances', 'salary' => 9000], + ]) + ) + ->withEntry('row_num', row_number()->over(window()->partitionBy(ref('department'))->orderBy(ref('salary')->desc()))) + ->sortBy(ref('department'), ref('row_num')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/aggregations/window_functions/row_number/description.md b/web/landing/content/examples/topics/aggregations/window_functions/row_number/description.md new file mode 100644 index 0000000000..6957c56e3c --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/row_number/description.md @@ -0,0 +1,3 @@ +The `row_number()` function assigns a unique sequential number to each row within a partition, starting at 1. Unlike `rank()` and `dense_rank()`, `row_number()` always assigns different numbers to each row, even when values are tied. + +This is useful for pagination, selecting top N rows per group, or creating unique identifiers within partitions. diff --git a/web/landing/content/examples/topics/aggregations/window_functions/row_number/documentation.md b/web/landing/content/examples/topics/aggregations/window_functions/row_number/documentation.md new file mode 100644 index 0000000000..fdb037670b --- /dev/null +++ b/web/landing/content/examples/topics/aggregations/window_functions/row_number/documentation.md @@ -0,0 +1 @@ +[Window Functions](https://flow-php.com/documentation/components/core/dataframe/window-functions) diff --git a/web/landing/content/examples/topics/data_frame/_meta.yaml b/web/landing/content/examples/topics/data_frame/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/batch_by/_meta.yaml b/web/landing/content/examples/topics/data_frame/batch_by/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_by/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/batch_by/code.php b/web/landing/content/examples/topics/data_frame/batch_by/code.php new file mode 100644 index 0000000000..ec869cf1ec --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_by/code.php @@ -0,0 +1,20 @@ +read(from_array([ + ['order_id' => 1, 'item' => 'Widget', 'qty' => 2], + ['order_id' => 1, 'item' => 'Gadget', 'qty' => 1], + ['order_id' => 2, 'item' => 'Widget', 'qty' => 5], + ['order_id' => 2, 'item' => 'Gizmo', 'qty' => 3], + ['order_id' => 3, 'item' => 'Widget', 'qty' => 1], + ])) + ->constrain(constraint_sorted_by(ref('order_id'))) + ->batchBy('order_id') + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/batch_by/description.md b/web/landing/content/examples/topics/data_frame/batch_by/description.md new file mode 100644 index 0000000000..0176669956 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_by/description.md @@ -0,0 +1,3 @@ +Group rows based on column values, ensuring related records stay together in the same batch. This is useful when processing hierarchical data (like orders with line items) where splitting related records would cause integrity issues. + +**Important:** Data must be sorted by the grouping column before using batch_by. diff --git a/web/landing/content/examples/topics/data_frame/batch_by/documentation.md b/web/landing/content/examples/topics/data_frame/batch_by/documentation.md new file mode 100644 index 0000000000..ee0de2d78d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_by/documentation.md @@ -0,0 +1 @@ +- [Batch Processing](/documentation/components/core/batch-processing) diff --git a/web/landing/content/examples/topics/data_frame/batch_size/_meta.yaml b/web/landing/content/examples/topics/data_frame/batch_size/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/batch_size/collect/_meta.yaml b/web/landing/content/examples/topics/data_frame/batch_size/collect/_meta.yaml new file mode 100644 index 0000000000..76b24de0b7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/collect/_meta.yaml @@ -0,0 +1,2 @@ +priority: 5 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/batch_size/collect/code.php b/web/landing/content/examples/topics/data_frame/batch_size/collect/code.php new file mode 100644 index 0000000000..b853834c9a --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/collect/code.php @@ -0,0 +1,19 @@ +read(from_array([ + ['id' => 1, 'name' => 'John'], + ['id' => 2, 'name' => 'Doe'], + ['id' => 3, 'name' => 'Jane'], + ['id' => 4, 'name' => 'Smith'], + ['id' => 5, 'name' => 'Alice'], + ])) + ->collect() // alternatively we can also use ->batchSize(-1) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/batch_size/collect/description.md b/web/landing/content/examples/topics/data_frame/batch_size/collect/description.md new file mode 100644 index 0000000000..aaa95a30e2 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/collect/description.md @@ -0,0 +1,3 @@ +Load all rows into memory and process them at once. This is useful for debugging and working with small datasets. + +**Warning:** Avoid using collect with large datasets as it loads everything into memory. For controlled memory consumption, use [batchSize](/data_frame/batch_size/#example) instead. diff --git a/web/landing/content/examples/topics/data_frame/batch_size/collect/documentation.md b/web/landing/content/examples/topics/data_frame/batch_size/collect/documentation.md new file mode 100644 index 0000000000..ee0de2d78d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/collect/documentation.md @@ -0,0 +1 @@ +- [Batch Processing](/documentation/components/core/batch-processing) diff --git a/web/landing/content/examples/topics/data_frame/batch_size/constant_size/_meta.yaml b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/batch_size/constant_size/code.php b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/code.php new file mode 100644 index 0000000000..9f25ad6d4a --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/code.php @@ -0,0 +1,19 @@ +read(from_array([ + ['id' => 1, 'name' => 'John'], + ['id' => 2, 'name' => 'Doe'], + ['id' => 3, 'name' => 'Jane'], + ['id' => 4, 'name' => 'Smith'], + ['id' => 5, 'name' => 'Alice'], + ])) + ->batchSize(2) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/batch_size/constant_size/description.md b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/description.md new file mode 100644 index 0000000000..bb6ba234dc --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/description.md @@ -0,0 +1,3 @@ +Control how many rows are processed at once. Larger batch sizes can improve processing speed but require more memory. There is no universal optimal batch size—it depends on your dataset and transformations. + +To process all rows at once, use [collect](/data_frame/collect/#example). diff --git a/web/landing/content/examples/topics/data_frame/batch_size/constant_size/documentation.md b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/documentation.md new file mode 100644 index 0000000000..ee0de2d78d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/batch_size/constant_size/documentation.md @@ -0,0 +1 @@ +- [Batch Processing](/documentation/components/core/batch-processing) diff --git a/web/landing/content/examples/topics/data_frame/cache/_meta.yaml b/web/landing/content/examples/topics/data_frame/cache/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/cache/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/cache/code.php b/web/landing/content/examples/topics/data_frame/cache/code.php new file mode 100644 index 0000000000..f60e5e4fd3 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/cache/code.php @@ -0,0 +1,48 @@ +createRequest('GET', 'https://api.github.com/orgs/flow-php') + ->withHeader('Accept', 'application/vnd.github.v3+json') + ->withHeader('User-Agent', 'flow-php/etl'); + } + + return null; + } +}); + +data_frame(config_builder()->cache(filesystem_cache(__DIR__ . '/output/cache'))) + ->read( + from_cache( + id: 'github_api', + fallback_extractor: $from_github_api + ) + ) + ->cache('github_api') + ->withEntry('unpacked', ref('response_body')->jsonDecode()) + ->select('unpacked') + ->withEntry('unpacked', ref('unpacked')->unpack()) + ->renameEach(rename_replace('unpacked.', '')) + ->drop('unpacked') + ->select('name', 'html_url', 'blog', 'login', 'public_repos', 'followers', 'created_at') + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/cache/description.md b/web/landing/content/examples/topics/data_frame/cache/description.md new file mode 100644 index 0000000000..2bcac77d65 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/cache/description.md @@ -0,0 +1 @@ +Cache extracted data to avoid repeated calls to slow or rate-limited sources like APIs. This example demonstrates caching HTTP responses from the GitHub API, so subsequent runs use cached data instead of making new requests. diff --git a/web/landing/content/examples/topics/data_frame/cache/documentation.md b/web/landing/content/examples/topics/data_frame/cache/documentation.md new file mode 100644 index 0000000000..075c5b1887 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/cache/documentation.md @@ -0,0 +1 @@ +- [Caching](/documentation/components/core/caching) diff --git a/web/landing/content/examples/topics/data_frame/columns/_meta.yaml b/web/landing/content/examples/topics/data_frame/columns/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/columns/create/_meta.yaml b/web/landing/content/examples/topics/data_frame/columns/create/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/create/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/columns/create/code.php b/web/landing/content/examples/topics/data_frame/columns/create/code.php new file mode 100644 index 0000000000..b4dec57372 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/create/code.php @@ -0,0 +1,19 @@ +read(from_array([ + ['id' => 1, 'name' => 'Norbert'], + ['id' => 2, 'name' => 'John'], + ['id' => 3, 'name' => 'Jane'], + ])) + ->withEntry('active', ref('id')->isOdd()) + ->withEntry('number', lit(5)) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/columns/create/description.md b/web/landing/content/examples/topics/data_frame/columns/create/description.md new file mode 100644 index 0000000000..b1940a9df5 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/create/description.md @@ -0,0 +1 @@ +Add new columns to your data or replace existing ones. New columns can be created from constant values or computed dynamically based on other column values. diff --git a/web/landing/content/examples/topics/data_frame/columns/create/documentation.md b/web/landing/content/examples/topics/data_frame/columns/create/documentation.md new file mode 100644 index 0000000000..81b8deb60d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/create/documentation.md @@ -0,0 +1 @@ +- [Data Manipulation](/documentation/components/core/data-manipulation) diff --git a/web/landing/content/examples/topics/data_frame/columns/rename/_meta.yaml b/web/landing/content/examples/topics/data_frame/columns/rename/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/rename/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/columns/rename/code.php b/web/landing/content/examples/topics/data_frame/columns/rename/code.php new file mode 100644 index 0000000000..df01aa8758 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/rename/code.php @@ -0,0 +1,19 @@ +read(from_array([ + ['id' => 1, 'name' => 'Norbert', 'joined_id' => 1, 'joined_status' => 'active'], + ['id' => 2, 'name' => 'John', 'joined_id' => 2, 'joined_status' => 'inactive'], + ['id' => 3, 'name' => 'Jane', 'joined_id' => 3, 'joined_status' => 'active'], + ])) + ->rename('id', 'user_id') + ->renameEach(rename_replace('joined_', '')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/columns/rename/description.md b/web/landing/content/examples/topics/data_frame/columns/rename/description.md new file mode 100644 index 0000000000..26a4e0b897 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/rename/description.md @@ -0,0 +1 @@ +Rename columns in your data. You can rename individual columns, perform bulk renames using search and replace, or transform all column names to a specific style (lowercase, camelCase, snake_case, etc.). diff --git a/web/landing/content/examples/topics/data_frame/columns/rename/documentation.md b/web/landing/content/examples/topics/data_frame/columns/rename/documentation.md new file mode 100644 index 0000000000..81b8deb60d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/rename/documentation.md @@ -0,0 +1 @@ +- [Data Manipulation](/documentation/components/core/data-manipulation) diff --git a/web/landing/content/examples/topics/data_frame/columns/reorder/_meta.yaml b/web/landing/content/examples/topics/data_frame/columns/reorder/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/reorder/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/columns/reorder/code.php b/web/landing/content/examples/topics/data_frame/columns/reorder/code.php new file mode 100644 index 0000000000..c8a8267eb9 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/reorder/code.php @@ -0,0 +1,72 @@ +read(from_rows(rows( + row( + int_entry('int_a', 1), + int_entry('int_b', 1), + float_entry('float_a', 57291 / 100), + float_entry('float_b', 21021 / 100), + bool_entry('bool', false), + bool_entry('bool_a', false), + bool_entry('bool_c', false), + datetime_entry('datetime_d', new DateTimeImmutable('2024-04-01 00:00:00')), + datetime_entry('datetime_z', new DateTimeImmutable('2024-04-01 00:00:00')), + str_entry('string_a', 'string'), + str_entry('string_b', 'string'), + uuid_entry('uuid', '06143adb-3009-45c8-a4f0-c7016f97cab7'), + json_entry('json', ['id' => 1, 'status' => 'NEW']), + list_entry('list', [1, 2, 3], type_list(type_int())), + map_entry('map', [0 => 'zero', 1 => 'one', 2 => 'two'], type_map(type_int(), type_string())), + struct_entry( + 'struct', + [ + 'street' => 'street', + 'city' => 'city', + 'zip' => 'zip', + 'country' => 'country', + 'location' => ['lat' => 1.5, 'lon' => 1.5], + ], + type_structure([ + 'street' => type_string(), + 'city' => type_string(), + 'zip' => type_string(), + 'country' => type_string(), + 'location' => type_structure([ + 'lat' => type_float(), + 'lon' => type_float(), + ]), + ]), + ), + ) + ))) + ->reorderEntries(compare_entries_by_type_and_name()) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/columns/reorder/documentation.md b/web/landing/content/examples/topics/data_frame/columns/reorder/documentation.md new file mode 100644 index 0000000000..81b8deb60d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/columns/reorder/documentation.md @@ -0,0 +1 @@ +- [Data Manipulation](/documentation/components/core/data-manipulation) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/array/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/array/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/array/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/array/code.php b/web/landing/content/examples/topics/data_frame/data_reading/array/code.php new file mode 100644 index 0000000000..81edb7d895 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/array/code.php @@ -0,0 +1,19 @@ +read(from_array([ + ['id' => 1], + ['id' => 2], + ['id' => 3], + ['id' => 4], + ['id' => 5], + ])) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/array/description.md b/web/landing/content/examples/topics/data_frame/data_reading/array/description.md new file mode 100644 index 0000000000..3480f4e8f0 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/array/description.md @@ -0,0 +1 @@ +Read data directly from a PHP array. This is useful when your data is already in memory, such as API responses or test fixtures. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/array/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/array/documentation.md new file mode 100644 index 0000000000..8e7486e520 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/array/documentation.md @@ -0,0 +1 @@ +- [Data Retrieval](/documentation/components/core/data-retrieval) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/csv/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/csv/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/csv/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/csv/code.php b/web/landing/content/examples/topics/data_frame/data_reading/csv/code.php new file mode 100644 index 0000000000..23ebe70e8d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/csv/code.php @@ -0,0 +1,22 @@ +read(from_csv( + __DIR__ . '/input/dataset.csv', + with_header: true, + empty_to_null: true, + separator: ',', + enclosure: '"', + escape: '\\', + characters_read_in_line: 1000 + )) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/csv/description.md b/web/landing/content/examples/topics/data_frame/data_reading/csv/description.md new file mode 100644 index 0000000000..d4edcd10ed --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/csv/description.md @@ -0,0 +1 @@ +Extract data from CSV files. Supports automatic delimiter detection, header row handling, and schema inference. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/csv/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/csv/documentation.md new file mode 100644 index 0000000000..8f32f97e96 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/csv/documentation.md @@ -0,0 +1 @@ +- [CSV Adapter](/documentation/components/adapters/csv) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/csv/input/dataset.csv b/web/landing/content/examples/topics/data_frame/data_reading/csv/input/dataset.csv new file mode 100644 index 0000000000..237a3f2678 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/csv/input/dataset.csv @@ -0,0 +1,6 @@ +id,name,email,active +1,Alice,alice@example.com,true +2,Bob,bob@example.com,false +3,Charlie,charlie@example.com,true +4,Diana,diana@example.com,true +5,Eve,eve@example.com,false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/data_frame/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/data_frame/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/data_frame/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/data_frame/code.php b/web/landing/content/examples/topics/data_frame/data_reading/data_frame/code.php new file mode 100644 index 0000000000..b437cf6341 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/data_frame/code.php @@ -0,0 +1,27 @@ +read( + from_data_frame( + data_frame() + ->read(from_array( + [ + ['id' => 1], + ['id' => 2], + ['id' => 3], + ['id' => 4], + ['id' => 5], + ] + )) + ->withEntry('timestamp', ref('id')->multiply(lit(10000))) + ) + ) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/data_frame/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/data_frame/documentation.md new file mode 100644 index 0000000000..8e7486e520 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/data_frame/documentation.md @@ -0,0 +1 @@ +- [Data Retrieval](/documentation/components/core/data-retrieval) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/database/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/database/_meta.yaml new file mode 100644 index 0000000000..1cfff153ea --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/database/_meta.yaml @@ -0,0 +1,2 @@ +priority: 6 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/database/code.php b/web/landing/content/examples/topics/data_frame/data_reading/database/code.php new file mode 100644 index 0000000000..881f13db5a --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/database/code.php @@ -0,0 +1,27 @@ + __DIR__ . '/input/orders.db', + 'driver' => 'pdo_sqlite', +]); + +data_frame() + ->read( + from_dbal_limit_offset( + $connection, + 'orders', + new OrderBy('created_at', Order::DESC), + ) + ) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/database/description.md b/web/landing/content/examples/topics/data_frame/data_reading/database/description.md new file mode 100644 index 0000000000..59a9cc3465 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/database/description.md @@ -0,0 +1 @@ +Read data from databases using Doctrine DBAL. This example demonstrates reading from a single table with pagination. Multiple extraction strategies are available including limit/offset pagination, query builders, and parameterized queries. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/database/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/database/documentation.md new file mode 100644 index 0000000000..faa45aed07 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/database/documentation.md @@ -0,0 +1 @@ +- [Doctrine Adapter](/documentation/components/adapters/doctrine) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/code.php b/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/code.php new file mode 100644 index 0000000000..935db84957 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/code.php @@ -0,0 +1,65 @@ +load(__DIR__ . '/.env'); + +$elasticsearchUrl = $_ENV['ELASTICSEARCH_URL']; + +if (!\is_string($elasticsearchUrl)) { + print 'Example skipped. ELASTICSEARCH_URL must be a string.' . PHP_EOL; + + return; +} + +data_frame() + ->read(from_array([ + ['id' => 1, 'text' => 'lorem ipsum'], + ['id' => 2, 'text' => 'lorem ipsum'], + ['id' => 3, 'text' => 'lorem ipsum'], + ['id' => 4, 'text' => 'lorem ipsum'], + ['id' => 5, 'text' => 'lorem ipsum'], + ['id' => 6, 'text' => 'lorem ipsum'], + ])) + ->write( + to_es_bulk_index( + [ + 'hosts' => [$elasticsearchUrl], + ], + $index = 'test_index', + entry_id_factory('id') + ) + ) + ->run(); + +data_frame() + ->read(from_es( + [ + 'hosts' => [$elasticsearchUrl], + ], + [ + 'index' => $index, + 'body' => [ + 'query' => [ + 'match_all' => ['boost' => 1.0], + ], + ], + ] + )) + ->write(to_output(truncate: false)) + ->with(es_hits_to_rows()) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/documentation.md new file mode 100644 index 0000000000..db5ce4ee79 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/elasticsearch/documentation.md @@ -0,0 +1 @@ +- [Elasticsearch Adapter](/documentation/components/adapters/elasticsearch) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/excel/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/excel/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/excel/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/excel/code.php b/web/landing/content/examples/topics/data_frame/data_reading/excel/code.php new file mode 100644 index 0000000000..ef5fe9ce0e --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/excel/code.php @@ -0,0 +1,16 @@ +read(from_excel( + __DIR__ . '/input/dataset.xlsx', + )) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/excel/description.md b/web/landing/content/examples/topics/data_frame/data_reading/excel/description.md new file mode 100644 index 0000000000..52310659dc --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/excel/description.md @@ -0,0 +1 @@ +Extract data from Excel spreadsheets. Supports both XLSX and ODS file formats. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/excel/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/excel/documentation.md new file mode 100644 index 0000000000..2aeb493482 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/excel/documentation.md @@ -0,0 +1 @@ +- [Excel Adapter](/documentation/components/adapters/excel) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/code.php b/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/code.php new file mode 100644 index 0000000000..339b0d87d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/code.php @@ -0,0 +1,41 @@ +createRequest('GET', 'https://api.github.com/orgs/flow-php') + ->withHeader('Accept', 'application/vnd.github.v3+json') + ->withHeader('User-Agent', 'flow-php/etl'); + } + + return null; + } +}); + +data_frame() + ->read($from_github_api) + ->withEntry('unpacked', ref('response_body')->jsonDecode()) + ->withEntry('unpacked', ref('unpacked')->unpack()) + ->renameEach(rename_replace('unpacked.', '')) + ->drop('unpacked') + ->select('name', 'html_url', 'blog', 'login', 'public_repos', 'followers', 'created_at') + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/documentation.md new file mode 100644 index 0000000000..5faff01147 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/http_dynamic/documentation.md @@ -0,0 +1 @@ +- [HTTP Adapter](/documentation/components/adapters/http) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/http_static/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/http_static/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/http_static/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/http_static/code.php b/web/landing/content/examples/topics/data_frame/data_reading/http_static/code.php new file mode 100644 index 0000000000..c71cc9bdce --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/http_static/code.php @@ -0,0 +1,50 @@ +createRequest('GET', 'https://example.com'); +}; + +$client = new PsrHttpClientStaticExtractor( + new Psr18Client( + new MockHttpClient( + [ + new MockResponse( + $htmlContent, + [ + 'response_headers' => [ + 'Content-Type' => 'text/html', + ], + ], + ), + ], + ), + ), + $requests(), +); + +data_frame() + ->read($client) + ->withEntry('title', ref('response_body')->htmlQuerySelector('body div h1')->domElementValue()) + ->withEntry('paragraphs', ref('response_body')->htmlQuerySelectorAll('body p')->expand()) + ->select('title', 'paragraphs') + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/http_static/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/http_static/documentation.md new file mode 100644 index 0000000000..5faff01147 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/http_static/documentation.md @@ -0,0 +1 @@ +- [HTTP Adapter](/documentation/components/adapters/http) diff --git a/examples/topics/data_frame/data_reading/http_static/input/example.com.html b/web/landing/content/examples/topics/data_frame/data_reading/http_static/input/example.com.html similarity index 100% rename from examples/topics/data_frame/data_reading/http_static/input/example.com.html rename to web/landing/content/examples/topics/data_frame/data_reading/http_static/input/example.com.html diff --git a/web/landing/content/examples/topics/data_frame/data_reading/json/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/json/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/json/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/json/code.php b/web/landing/content/examples/topics/data_frame/data_reading/json/code.php new file mode 100644 index 0000000000..9e8d6b7d39 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/json/code.php @@ -0,0 +1,24 @@ +read( + from_json(__DIR__ . '/input/dataset.json') + ->withSchema($schema) + ) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/json/description.md b/web/landing/content/examples/topics/data_frame/data_reading/json/description.md new file mode 100644 index 0000000000..d166b50aa3 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/json/description.md @@ -0,0 +1 @@ +Extract data from JSON files. Supports reading entire files or targeting specific subtrees using JSON pointers. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/json/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/json/documentation.md new file mode 100644 index 0000000000..9d7ca1200d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/json/documentation.md @@ -0,0 +1 @@ +- [JSON Adapter](/documentation/components/adapters/json) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/json/input/dataset.json b/web/landing/content/examples/topics/data_frame/data_reading/json/input/dataset.json new file mode 100644 index 0000000000..6c9b6a14d2 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/json/input/dataset.json @@ -0,0 +1,7 @@ +[ + {"id": 1, "name": "Alice", "email": "alice@example.com", "active": true}, + {"id": 2, "name": "Bob", "email": "bob@example.com", "active": false}, + {"id": 3, "name": "Charlie", "email": "charlie@example.com", "active": true}, + {"id": 4, "name": "Diana", "email": "diana@example.com", "active": true}, + {"id": 5, "name": "Eve", "email": "eve@example.com", "active": false} +] diff --git a/web/landing/content/examples/topics/data_frame/data_reading/jsonl/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/jsonl/code.php b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/code.php new file mode 100644 index 0000000000..89bb405b14 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/code.php @@ -0,0 +1,24 @@ +read( + from_json_lines(__DIR__ . '/input/dataset.jsonl') + ->withSchema($schema) + ) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/jsonl/description.md b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/description.md new file mode 100644 index 0000000000..7092190b5b --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/description.md @@ -0,0 +1 @@ +Extract data from [JSON Lines](https://jsonlines.org/) formatted files, where each line contains a separate JSON object. This format is ideal for streaming large datasets. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/jsonl/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/documentation.md new file mode 100644 index 0000000000..9d7ca1200d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/documentation.md @@ -0,0 +1 @@ +- [JSON Adapter](/documentation/components/adapters/json) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/jsonl/input/dataset.jsonl b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/input/dataset.jsonl new file mode 100644 index 0000000000..697c5d18d4 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/jsonl/input/dataset.jsonl @@ -0,0 +1,5 @@ +{"id": 1, "name": "Alice", "email": "alice@example.com", "active": true} +{"id": 2, "name": "Bob", "email": "bob@example.com", "active": false} +{"id": 3, "name": "Charlie", "email": "charlie@example.com", "active": true} +{"id": 4, "name": "Diana", "email": "diana@example.com", "active": true} +{"id": 5, "name": "Eve", "email": "eve@example.com", "active": false} diff --git a/web/landing/content/examples/topics/data_frame/data_reading/parquet/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/parquet/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/parquet/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/parquet/code.php b/web/landing/content/examples/topics/data_frame/data_reading/parquet/code.php new file mode 100644 index 0000000000..6e95b2e918 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/parquet/code.php @@ -0,0 +1,16 @@ +read(from_parquet( + __DIR__ . '/input/dataset.parquet', + )) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/parquet/description.md b/web/landing/content/examples/topics/data_frame/data_reading/parquet/description.md new file mode 100644 index 0000000000..39b33c0469 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/parquet/description.md @@ -0,0 +1 @@ +Extract data from Parquet files. Parquet is a columnar storage format optimized for analytical workloads, offering efficient compression and fast read performance for large datasets. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/parquet/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/parquet/documentation.md new file mode 100644 index 0000000000..a7ef384730 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/parquet/documentation.md @@ -0,0 +1,2 @@ +- [Parquet Adapter](/documentation/components/adapters/parquet) +- [Parquet Library](/documentation/components/libs/parquet) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/parquet/input/dataset.parquet b/web/landing/content/examples/topics/data_frame/data_reading/parquet/input/dataset.parquet new file mode 100644 index 0000000000..cbd326fd8e Binary files /dev/null and b/web/landing/content/examples/topics/data_frame/data_reading/parquet/input/dataset.parquet differ diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/_meta.yaml new file mode 100644 index 0000000000..69a868d27b --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: true diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/code.php b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/code.php new file mode 100644 index 0000000000..8aae74be52 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/code.php @@ -0,0 +1,18 @@ +read(from_sequence_date_period( + 'date', + new DateTimeImmutable('2024-01-01 00:00:00 UTC'), + new DateInterval('P1D'), + new DateTimeImmutable('2024-01-01 00:00:00 +60 days'), + )) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/documentation.md new file mode 100644 index 0000000000..8e7486e520 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date/documentation.md @@ -0,0 +1 @@ +- [Data Retrieval](/documentation/components/core/data-retrieval) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/_meta.yaml new file mode 100644 index 0000000000..69a868d27b --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: true diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/code.php b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/code.php new file mode 100644 index 0000000000..4d3a748c08 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/code.php @@ -0,0 +1,18 @@ +read(from_sequence_date_period_recurrences( + 'date', + new DateTimeImmutable('2024-01-01 00:00:00 UTC'), + new DateInterval('P1D'), + recurrences: 60 + )) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/documentation.md new file mode 100644 index 0000000000..8e7486e520 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_date_recurrences/documentation.md @@ -0,0 +1 @@ +- [Data Retrieval](/documentation/components/core/data-retrieval) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/_meta.yaml new file mode 100644 index 0000000000..69a868d27b --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: true diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/code.php b/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/code.php new file mode 100644 index 0000000000..a0c65a29f8 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/code.php @@ -0,0 +1,13 @@ +read(from_sequence_number('id', start: 0, end: 1000, step: 100)) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/documentation.md new file mode 100644 index 0000000000..8e7486e520 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/sequence_number/documentation.md @@ -0,0 +1 @@ +- [Data Retrieval](/documentation/components/core/data-retrieval) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/xml/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_reading/xml/_meta.yaml new file mode 100644 index 0000000000..76b24de0b7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/xml/_meta.yaml @@ -0,0 +1,2 @@ +priority: 5 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_reading/xml/code.php b/web/landing/content/examples/topics/data_frame/data_reading/xml/code.php new file mode 100644 index 0000000000..e1056e4795 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/xml/code.php @@ -0,0 +1,22 @@ +read( + from_xml(__DIR__ . '/input/dataset.xml') + ->withXMLNodePath('users/user') + ) + ->withEntry('id', ref('node')->domElementAttributeValue('id')) + ->withEntry('name', ref('node')->xpath('name')->domElementValue()) + ->withEntry('active', ref('node')->xpath('active')->domElementValue()) + ->withEntry('email', ref('node')->xpath('email')->domElementValue()) + ->drop('node') + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_reading/xml/description.md b/web/landing/content/examples/topics/data_frame/data_reading/xml/description.md new file mode 100644 index 0000000000..9df2d97f25 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/xml/description.md @@ -0,0 +1 @@ +Extract data from XML files. Supports navigating to specific nodes within the document structure. diff --git a/web/landing/content/examples/topics/data_frame/data_reading/xml/documentation.md b/web/landing/content/examples/topics/data_frame/data_reading/xml/documentation.md new file mode 100644 index 0000000000..838314b58c --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/xml/documentation.md @@ -0,0 +1 @@ +- [XML Adapter](/documentation/components/adapters/xml) diff --git a/web/landing/content/examples/topics/data_frame/data_reading/xml/input/dataset.xml b/web/landing/content/examples/topics/data_frame/data_reading/xml/input/dataset.xml new file mode 100644 index 0000000000..e92a1a592d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_reading/xml/input/dataset.xml @@ -0,0 +1,28 @@ + + + + Alice + alice@example.com + true + + + Bob + bob@example.com + false + + + Charlie + charlie@example.com + true + + + Diana + diana@example.com + true + + + Eve + eve@example.com + false + + diff --git a/web/landing/content/examples/topics/data_frame/data_writing/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_writing/array/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/array/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/array/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/examples/topics/data_frame/data_writing/array/code.php b/web/landing/content/examples/topics/data_frame/data_writing/array/code.php similarity index 100% rename from examples/topics/data_frame/data_writing/array/code.php rename to web/landing/content/examples/topics/data_frame/data_writing/array/code.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/array/description.md b/web/landing/content/examples/topics/data_frame/data_writing/array/description.md new file mode 100644 index 0000000000..5c2f56cc99 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/array/description.md @@ -0,0 +1,3 @@ +Write data directly to a PHP array. Useful for testing, debugging, or when you need results in memory for further processing. + +**Warning:** Large datasets may cause memory overflow since all data is held in memory. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/array/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/array/documentation.md new file mode 100644 index 0000000000..e1f4ca25dd --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/array/documentation.md @@ -0,0 +1 @@ +- [Core](/documentation/components/core/core) diff --git a/web/landing/content/examples/topics/data_frame/data_writing/csv/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/csv/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/csv/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/examples/topics/data_frame/data_writing/csv/code.php b/web/landing/content/examples/topics/data_frame/data_writing/csv/code.php similarity index 100% rename from examples/topics/data_frame/data_writing/csv/code.php rename to web/landing/content/examples/topics/data_frame/data_writing/csv/code.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/csv/description.md b/web/landing/content/examples/topics/data_frame/data_writing/csv/description.md new file mode 100644 index 0000000000..d0fa19c6b1 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/csv/description.md @@ -0,0 +1 @@ +Write data to CSV files. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/csv/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/csv/documentation.md new file mode 100644 index 0000000000..8f32f97e96 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/csv/documentation.md @@ -0,0 +1 @@ +- [CSV Adapter](/documentation/components/adapters/csv) diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/database/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database/code.php b/web/landing/content/examples/topics/data_frame/data_writing/database/code.php new file mode 100644 index 0000000000..64a790cc27 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database/code.php @@ -0,0 +1,53 @@ + __DIR__ . '/output/orders.db', + 'driver' => 'pdo_sqlite', +]); + +$schemaManager = $connection->createSchemaManager(); + +if ($schemaManager->tablesExist(['orders'])) { + $schemaManager->dropTable('orders'); +} + +$schemaManager->createTable(new Table( + $table = 'orders', + [ + new Column('order_id', Type::getType(Types::GUID), ['notnull' => true]), + new Column('created_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => true]), + new Column('updated_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => false]), + new Column('discount', Type::getType(Types::FLOAT), ['notnull' => false]), + new Column('email', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), + new Column('customer', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), + new Column('address', Type::getType(Types::JSON), ['notnull' => true]), + new Column('notes', Type::getType(Types::JSON), ['notnull' => true]), + new Column('items', Type::getType(Types::JSON), ['notnull' => true]), + ], +)); + +data_frame() + ->read(from_array(generateOrders(10))) + ->saveMode(overwrite()) + ->write( + to_dbal_table_insert( + DriverManager::getConnection([ + 'path' => __DIR__ . '/output/orders.db', + 'driver' => 'pdo_sqlite', + ]), + 'orders', + ) + ) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/database/documentation.md new file mode 100644 index 0000000000..faa45aed07 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database/documentation.md @@ -0,0 +1 @@ +- [Doctrine Adapter](/documentation/components/adapters/doctrine) diff --git a/examples/topics/data_frame/data_writing/database/generate_orders.php b/web/landing/content/examples/topics/data_frame/data_writing/database/generate_orders.php similarity index 100% rename from examples/topics/data_frame/data_writing/database/generate_orders.php rename to web/landing/content/examples/topics/data_frame/data_writing/database/generate_orders.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database_delete/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/examples/topics/data_frame/data_writing/database_delete/code.php b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/code.php similarity index 100% rename from examples/topics/data_frame/data_writing/database_delete/code.php rename to web/landing/content/examples/topics/data_frame/data_writing/database_delete/code.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database_delete/description.md b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/description.md new file mode 100644 index 0000000000..3b2d9b03ee --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/description.md @@ -0,0 +1 @@ +Delete rows from a database table that match records in your DataFrame. This is useful for synchronizing data or removing outdated entries. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database_delete/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/documentation.md new file mode 100644 index 0000000000..faa45aed07 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/documentation.md @@ -0,0 +1 @@ +- [Doctrine Adapter](/documentation/components/adapters/doctrine) diff --git a/examples/topics/data_frame/data_writing/database_delete/generate_static_orders.php b/web/landing/content/examples/topics/data_frame/data_writing/database_delete/generate_static_orders.php similarity index 100% rename from examples/topics/data_frame/data_writing/database_delete/generate_static_orders.php rename to web/landing/content/examples/topics/data_frame/data_writing/database_delete/generate_static_orders.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/code.php b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/code.php new file mode 100644 index 0000000000..2f0ef3ab2c --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/code.php @@ -0,0 +1,93 @@ + __DIR__ . '/output/orders.db', + 'driver' => 'pdo_sqlite', +]); + +$schemaManager = $connection->createSchemaManager(); + +if (!$schemaManager->tablesExist(['orders'])) { + $schemaManager->createTable(new Table( + $table = 'orders', + [ + new Column('order_id', Type::getType(Types::GUID), ['notnull' => true]), + new Column('created_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => true]), + new Column('updated_at', Type::getType(Types::DATETIME_IMMUTABLE), ['notnull' => false]), + new Column('discount', Type::getType(Types::FLOAT), ['notnull' => false]), + new Column('email', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), + new Column('customer', Type::getType(Types::STRING), ['notnull' => true, 'length' => 255]), + new Column('address', Type::getType(Types::JSON), ['notnull' => true]), + new Column('notes', Type::getType(Types::JSON), ['notnull' => true]), + new Column('items', Type::getType(Types::JSON), ['notnull' => true]), + ], + uniqueConstraints: [ + new UniqueConstraint('orders_order_id', ['order_id']), + ] + )); +} + +$orderIds = [ + 'c0a43894-0102-4a4e-9fcd-393ef9e4f16a', + '83fd51a4-9bd1-4b40-8f6e-6a7cc940bb5a', + '7c65db1a-410f-4e91-8aeb-66fb3f1665f7', + '5af1d56c-a9f7-411e-8738-865942d6c40f', + '3a3ae1a9-debd-425a-8f9d-63c3315bc483', + '27d8ee4d-94cc-47fa-bc14-209a4ab2eb45', + 'cc4fd722-1407-4781-9ad4-fa53966060af', + '718360e1-c4c9-40f4-84e2-6f7898788883', + 'ea7c731c-ce3b-40bb-bbf8-79f1c717b6ca', + '17b0d6c5-dd8f-4d5a-ae06-1df15b67c82c', +]; + +data_frame() + ->read(from_array(generateStaticOrders($orderIds))) + ->write( + to_dbal_table_insert( + DriverManager::getConnection([ + 'path' => __DIR__ . '/output/orders.db', + 'driver' => 'pdo_sqlite', + ]), + 'orders', + sqlite_insert_options(conflict_columns: ['order_id']) + ) + ) + // second insert that normally would fail due to Integrity constraint violation + ->write( + to_dbal_table_insert( + DriverManager::getConnection([ + 'path' => __DIR__ . '/output/orders.db', + 'driver' => 'pdo_sqlite', + ]), + 'orders', + sqlite_insert_options(conflict_columns: ['order_id']) + ) + ) + ->run(); + +data_frame() + ->read( + from_dbal_query( + DriverManager::getConnection([ + 'path' => __DIR__ . '/output/orders.db', + 'driver' => 'pdo_sqlite', + ]), + 'SELECT COUNT(*) as total_rows FROM orders' + ) + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/description.md b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/description.md new file mode 100644 index 0000000000..68580ed698 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/description.md @@ -0,0 +1 @@ +Insert new records or update existing ones in a database. Supports MySQL, PostgreSQL, and SQLite with platform-specific conflict resolution strategies. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/documentation.md new file mode 100644 index 0000000000..faa45aed07 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/documentation.md @@ -0,0 +1 @@ +- [Doctrine Adapter](/documentation/components/adapters/doctrine) diff --git a/examples/topics/data_frame/data_writing/database_upsert/generate_static_orders.php b/web/landing/content/examples/topics/data_frame/data_writing/database_upsert/generate_static_orders.php similarity index 100% rename from examples/topics/data_frame/data_writing/database_upsert/generate_static_orders.php rename to web/landing/content/examples/topics/data_frame/data_writing/database_upsert/generate_static_orders.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/code.php b/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/code.php new file mode 100644 index 0000000000..935db84957 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/code.php @@ -0,0 +1,65 @@ +load(__DIR__ . '/.env'); + +$elasticsearchUrl = $_ENV['ELASTICSEARCH_URL']; + +if (!\is_string($elasticsearchUrl)) { + print 'Example skipped. ELASTICSEARCH_URL must be a string.' . PHP_EOL; + + return; +} + +data_frame() + ->read(from_array([ + ['id' => 1, 'text' => 'lorem ipsum'], + ['id' => 2, 'text' => 'lorem ipsum'], + ['id' => 3, 'text' => 'lorem ipsum'], + ['id' => 4, 'text' => 'lorem ipsum'], + ['id' => 5, 'text' => 'lorem ipsum'], + ['id' => 6, 'text' => 'lorem ipsum'], + ])) + ->write( + to_es_bulk_index( + [ + 'hosts' => [$elasticsearchUrl], + ], + $index = 'test_index', + entry_id_factory('id') + ) + ) + ->run(); + +data_frame() + ->read(from_es( + [ + 'hosts' => [$elasticsearchUrl], + ], + [ + 'index' => $index, + 'body' => [ + 'query' => [ + 'match_all' => ['boost' => 1.0], + ], + ], + ] + )) + ->write(to_output(truncate: false)) + ->with(es_hits_to_rows()) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/documentation.md new file mode 100644 index 0000000000..db5ce4ee79 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/elasticsearch/documentation.md @@ -0,0 +1 @@ +- [Elasticsearch Adapter](/documentation/components/adapters/elasticsearch) diff --git a/web/landing/content/examples/topics/data_frame/data_writing/jsonl/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/jsonl/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/jsonl/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/examples/topics/data_frame/data_writing/jsonl/code.php b/web/landing/content/examples/topics/data_frame/data_writing/jsonl/code.php similarity index 100% rename from examples/topics/data_frame/data_writing/jsonl/code.php rename to web/landing/content/examples/topics/data_frame/data_writing/jsonl/code.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/jsonl/description.md b/web/landing/content/examples/topics/data_frame/data_writing/jsonl/description.md new file mode 100644 index 0000000000..835a07f978 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/jsonl/description.md @@ -0,0 +1 @@ +Write data to [JSON Lines](https://jsonlines.org/) files, where each row becomes a separate JSON object on its own line. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/jsonl/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/jsonl/documentation.md new file mode 100644 index 0000000000..9d7ca1200d --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/jsonl/documentation.md @@ -0,0 +1 @@ +- [JSON Adapter](/documentation/components/adapters/json) diff --git a/web/landing/content/examples/topics/data_frame/data_writing/overwrite/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/data_writing/overwrite/code.php b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/code.php new file mode 100644 index 0000000000..65d970cdcc --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/code.php @@ -0,0 +1,25 @@ +read(from_csv(__DIR__ . '/input/file.csv')) + ->saveMode(overwrite()) + ->write(to_csv(__DIR__ . '/output/file.csv')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); + +data_frame() + ->read(from_csv(__DIR__ . '/output/file.csv')) + ->saveMode(overwrite()) + ->drop('name') + ->write(to_csv(__DIR__ . '/output/file.csv')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/data_writing/overwrite/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/documentation.md new file mode 100644 index 0000000000..dee5f5c9c1 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/documentation.md @@ -0,0 +1 @@ +- [Save Mode](/documentation/components/core/save-mode) diff --git a/web/landing/content/examples/topics/data_frame/data_writing/overwrite/input/file.csv b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/input/file.csv new file mode 100644 index 0000000000..5389099c0b --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/overwrite/input/file.csv @@ -0,0 +1,4 @@ +id,name,price +1,Product A,19.99 +2,Product B,29.99 +3,Product C,39.99 diff --git a/web/landing/content/examples/topics/data_frame/data_writing/parquet/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/parquet/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/parquet/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/examples/topics/data_frame/data_writing/parquet/code.php b/web/landing/content/examples/topics/data_frame/data_writing/parquet/code.php similarity index 100% rename from examples/topics/data_frame/data_writing/parquet/code.php rename to web/landing/content/examples/topics/data_frame/data_writing/parquet/code.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/parquet/description.md b/web/landing/content/examples/topics/data_frame/data_writing/parquet/description.md new file mode 100644 index 0000000000..d364e9b9e9 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/parquet/description.md @@ -0,0 +1 @@ +Write data to Parquet files. Parquet is a columnar format that provides efficient compression and is ideal for storing large analytical datasets. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/parquet/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/parquet/documentation.md new file mode 100644 index 0000000000..a7ef384730 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/parquet/documentation.md @@ -0,0 +1,2 @@ +- [Parquet Adapter](/documentation/components/adapters/parquet) +- [Parquet Library](/documentation/components/libs/parquet) diff --git a/web/landing/content/examples/topics/data_frame/data_writing/text/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/text/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/text/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/examples/topics/data_frame/data_writing/text/code.php b/web/landing/content/examples/topics/data_frame/data_writing/text/code.php similarity index 100% rename from examples/topics/data_frame/data_writing/text/code.php rename to web/landing/content/examples/topics/data_frame/data_writing/text/code.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/text/description.md b/web/landing/content/examples/topics/data_frame/data_writing/text/description.md new file mode 100644 index 0000000000..2b267b3c51 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/text/description.md @@ -0,0 +1,3 @@ +Write data to plain text files. + +**Important:** Text writing only works with single-column data. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/text/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/text/documentation.md new file mode 100644 index 0000000000..93c176be4f --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/text/documentation.md @@ -0,0 +1 @@ +- [Text Adapter](/documentation/components/adapters/text) diff --git a/web/landing/content/examples/topics/data_frame/data_writing/xml/_meta.yaml b/web/landing/content/examples/topics/data_frame/data_writing/xml/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/xml/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/examples/topics/data_frame/data_writing/xml/code.php b/web/landing/content/examples/topics/data_frame/data_writing/xml/code.php similarity index 100% rename from examples/topics/data_frame/data_writing/xml/code.php rename to web/landing/content/examples/topics/data_frame/data_writing/xml/code.php diff --git a/web/landing/content/examples/topics/data_frame/data_writing/xml/description.md b/web/landing/content/examples/topics/data_frame/data_writing/xml/description.md new file mode 100644 index 0000000000..719f0b016f --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/xml/description.md @@ -0,0 +1 @@ +Write data to XML files. diff --git a/web/landing/content/examples/topics/data_frame/data_writing/xml/documentation.md b/web/landing/content/examples/topics/data_frame/data_writing/xml/documentation.md new file mode 100644 index 0000000000..838314b58c --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/data_writing/xml/documentation.md @@ -0,0 +1 @@ +- [XML Adapter](/documentation/components/adapters/xml) diff --git a/web/landing/content/examples/topics/data_frame/transformations/_meta.yaml b/web/landing/content/examples/topics/data_frame/transformations/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/transformations/custom/_meta.yaml b/web/landing/content/examples/topics/data_frame/transformations/custom/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/custom/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/transformations/custom/code.php b/web/landing/content/examples/topics/data_frame/transformations/custom/code.php new file mode 100644 index 0000000000..ec8eea315f --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/custom/code.php @@ -0,0 +1,32 @@ +read( + from_array([ + ['id' => 1, 'first_name' => 'John', 'last_name' => 'Doe'], + ['id' => 2, 'first_name' => 'Jane', 'last_name' => 'Smith'], + ['id' => 3, 'first_name' => 'Bob', 'last_name' => 'Johnson'], + ['id' => 4, 'first_name' => 'Alice', 'last_name' => 'Williams'], + ]) + ) + ->with( + /** + * Create new column "name" by concatenating "first_name" and "last_name" columns. + */ + new class implements Transformation { + public function transform(Flow\ETL\DataFrame $dataFrame) : Flow\ETL\DataFrame + { + return $dataFrame->withEntry('name', concat_ws(lit(' '), ref('first_name'), ref('last_name'))); + } + } + ) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/transformations/custom/description.md b/web/landing/content/examples/topics/data_frame/transformations/custom/description.md new file mode 100644 index 0000000000..9ba7c95e80 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/custom/description.md @@ -0,0 +1 @@ +Create reusable transformation blocks that can be applied across multiple pipelines. Custom transformations help organize complex logic and improve code reuse. diff --git a/web/landing/content/examples/topics/data_frame/transformations/custom/documentation.md b/web/landing/content/examples/topics/data_frame/transformations/custom/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/custom/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/data_frame/transformations/select/_meta.yaml b/web/landing/content/examples/topics/data_frame/transformations/select/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/select/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/data_frame/transformations/select/code.php b/web/landing/content/examples/topics/data_frame/transformations/select/code.php new file mode 100644 index 0000000000..537c659ecd --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/select/code.php @@ -0,0 +1,21 @@ +read( + from_array([ + ['id' => 1, 'first_name' => 'John', 'last_name' => 'Doe'], + ['id' => 2, 'first_name' => 'Jane', 'last_name' => 'Smith'], + ['id' => 3, 'first_name' => 'Bob', 'last_name' => 'Johnson'], + ['id' => 4, 'first_name' => 'Alice', 'last_name' => 'Williams'], + ]) + ) + ->with(select('id')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/data_frame/transformations/select/description.md b/web/landing/content/examples/topics/data_frame/transformations/select/description.md new file mode 100644 index 0000000000..b33a190041 --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/select/description.md @@ -0,0 +1 @@ +Choose specific columns from your data, discarding the rest. Transformations like select help keep pipelines readable and explicit about which data is being processed. diff --git a/web/landing/content/examples/topics/data_frame/transformations/select/documentation.md b/web/landing/content/examples/topics/data_frame/transformations/select/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/data_frame/transformations/select/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/filesystem/_meta.yaml b/web/landing/content/examples/topics/filesystem/_meta.yaml new file mode 100644 index 0000000000..7141fd2295 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/_meta.yaml @@ -0,0 +1,2 @@ +priority: 7 +hidden: false diff --git a/web/landing/content/examples/topics/filesystem/azure/_meta.yaml b/web/landing/content/examples/topics/filesystem/azure/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/azure/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/filesystem/azure/code.php b/web/landing/content/examples/topics/filesystem/azure/code.php new file mode 100644 index 0000000000..734f459d98 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/azure/code.php @@ -0,0 +1,63 @@ +load(__DIR__ . '/.env'); + +$azureAccount = $_ENV['AZURE_ACCOUNT']; +$azureContainer = $_ENV['AZURE_CONTAINER']; +$azureAccountKey = $_ENV['AZURE_ACCOUNT_KEY']; + +if (!\is_string($azureAccount) || !\is_string($azureContainer) || !\is_string($azureAccountKey)) { + print 'Example skipped. Azure credentials must be strings.' . PHP_EOL; + + return; +} + +$config = config_builder() + ->mount( + azure_filesystem( + azure_blob_service( + azure_blob_service_config( + $azureAccount, + $azureContainer + ), + azure_shared_key_authorization_factory( + $azureAccount, + $azureAccountKey + ), + ) + ) + ); + +data_frame($config) + ->read(from_array([ + ['id' => 1, 'name' => 'test'], + ['id' => 2, 'name' => 'test'], + ['id' => 3, 'name' => 'test'], + ['id' => 4, 'name' => 'test'], + ])) + ->saveMode(overwrite()) + ->write(to_parquet(path('azure-blob://test.parquet'))) + ->run(); + +data_frame($config) + ->read(from_parquet(path('azure-blob://test.parquet'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/filesystem/azure/documentation.md b/web/landing/content/examples/topics/filesystem/azure/documentation.md new file mode 100644 index 0000000000..56af2c454d --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/azure/documentation.md @@ -0,0 +1,2 @@ +- [Filesystem Library](/documentation/components/libs/filesystem) +- [Azure Bridge](/documentation/components/bridges/filesystem-azure-bridge) diff --git a/web/landing/content/examples/topics/filesystem/local/_meta.yaml b/web/landing/content/examples/topics/filesystem/local/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/local/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/examples/topics/filesystem/local/code.php b/web/landing/content/examples/topics/filesystem/local/code.php similarity index 100% rename from examples/topics/filesystem/local/code.php rename to web/landing/content/examples/topics/filesystem/local/code.php diff --git a/web/landing/content/examples/topics/filesystem/local/description.md b/web/landing/content/examples/topics/filesystem/local/description.md new file mode 100644 index 0000000000..844cf484d7 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/local/description.md @@ -0,0 +1 @@ +Flow includes a dedicated filesystem abstraction for working with files. The local filesystem provides operations for listing files (with glob pattern support), reading data (in full or chunks), and writing data. diff --git a/web/landing/content/examples/topics/filesystem/local/documentation.md b/web/landing/content/examples/topics/filesystem/local/documentation.md new file mode 100644 index 0000000000..62d0d71d3a --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/local/documentation.md @@ -0,0 +1 @@ +- [Filesystem Library](/documentation/components/libs/filesystem) diff --git a/web/landing/content/examples/topics/filesystem/s3/_meta.yaml b/web/landing/content/examples/topics/filesystem/s3/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/s3/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/filesystem/s3/code.php b/web/landing/content/examples/topics/filesystem/s3/code.php new file mode 100644 index 0000000000..aa2728d01a --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/s3/code.php @@ -0,0 +1,69 @@ +load(__DIR__ . '/.env'); + +$awsBucket = $_ENV['AWS_S3_BUCKET']; +$awsRegion = $_ENV['AWS_S3_REGION']; +$awsKey = $_ENV['AWS_S3_KEY']; +$awsSecret = $_ENV['AWS_S3_SECRET']; + +if (!\is_string($awsBucket) || !\is_string($awsRegion) || !\is_string($awsKey) || !\is_string($awsSecret)) { + print 'Example skipped. AWS credentials must be strings.' . PHP_EOL; + + return; +} + +$config = config_builder() + ->mount( + aws_s3_filesystem( + $awsBucket, + aws_s3_client([ + 'region' => $awsRegion, + 'accessKeyId' => $awsKey, + 'accessKeySecret' => $awsSecret, + ]) + ) + ); + +data_frame($config) + ->read(from_array([ + ['id' => 1, 'name' => 'test'], + ['id' => 2, 'name' => 'test'], + ['id' => 3, 'name' => 'test'], + ['id' => 4, 'name' => 'test'], + ])) + ->saveMode(overwrite()) + ->write(to_parquet(path('aws-s3://test.parquet'))) + ->write(to_csv(path('aws-s3://test.csv'))) + ->write(to_xml(path('aws-s3://test.xml'))) + ->write(to_json(path('aws-s3://test.json'))) + ->withEntry('line', ref('id')->concat(lit('_'), ref('name'))) + ->drop('id', 'name') + ->write(to_text(path('aws-s3://test.txt'))) + ->run(); + +data_frame($config) + ->read(from_parquet(path('aws-s3://test.parquet'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/filesystem/s3/documentation.md b/web/landing/content/examples/topics/filesystem/s3/documentation.md new file mode 100644 index 0000000000..93420c6b40 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/s3/documentation.md @@ -0,0 +1,2 @@ +- [Filesystem Library](/documentation/components/libs/filesystem) +- [AWS Bridge](/documentation/components/bridges/filesystem-async-aws-bridge) diff --git a/web/landing/content/examples/topics/filesystem/stdout/_meta.yaml b/web/landing/content/examples/topics/filesystem/stdout/_meta.yaml new file mode 100644 index 0000000000..76b24de0b7 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/stdout/_meta.yaml @@ -0,0 +1,2 @@ +priority: 5 +hidden: false diff --git a/examples/topics/filesystem/stdout/code.php b/web/landing/content/examples/topics/filesystem/stdout/code.php similarity index 100% rename from examples/topics/filesystem/stdout/code.php rename to web/landing/content/examples/topics/filesystem/stdout/code.php diff --git a/web/landing/content/examples/topics/filesystem/stdout/description.md b/web/landing/content/examples/topics/filesystem/stdout/description.md new file mode 100644 index 0000000000..9bbc9647f0 --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/stdout/description.md @@ -0,0 +1,3 @@ +Write data directly to the process stdout. This is useful for streaming data to web clients without buffering in memory. + +**Note:** Stdout is write-only—reading is not supported. diff --git a/web/landing/content/examples/topics/filesystem/stdout/documentation.md b/web/landing/content/examples/topics/filesystem/stdout/documentation.md new file mode 100644 index 0000000000..62d0d71d3a --- /dev/null +++ b/web/landing/content/examples/topics/filesystem/stdout/documentation.md @@ -0,0 +1 @@ +- [Filesystem Library](/documentation/components/libs/filesystem) diff --git a/web/landing/content/examples/topics/join/_meta.yaml b/web/landing/content/examples/topics/join/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/join/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/web/landing/content/examples/topics/join/join/_meta.yaml b/web/landing/content/examples/topics/join/join/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/join/join/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/join/join/code.php b/web/landing/content/examples/topics/join/join/code.php new file mode 100644 index 0000000000..df16e97eab --- /dev/null +++ b/web/landing/content/examples/topics/join/join/code.php @@ -0,0 +1,32 @@ + 1, 'name' => 'John'], + ['id' => 2, 'name' => 'Jane'], + ['id' => 3, 'name' => 'Doe'], + ['id' => 4, 'name' => 'Bruno'], +]; + +$emails = [ + ['id' => 2, 'email' => 'john@email.com'], + ['id' => 3, 'email' => 'jane@emial.com'], + ['id' => 4, 'email' => 'bruno@email.com'], +]; + +data_frame() + ->read(from_array($users)) + ->join( + data_frame()->read(from_array($emails)), + join_on(['id' => 'id'], join_prefix: 'joined_'), + Join::left + ) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/join/join/description.md b/web/landing/content/examples/topics/join/join/description.md new file mode 100644 index 0000000000..4a3ab179d7 --- /dev/null +++ b/web/landing/content/examples/topics/join/join/description.md @@ -0,0 +1,3 @@ +Combine two datasets based on matching column values, similar to SQL JOIN operations. Supports inner, left, right, and left anti join types. + +For large datasets that don't fit in memory, consider using [joinEach](/join/join_each/#example) instead. diff --git a/web/landing/content/examples/topics/join/join/documentation.md b/web/landing/content/examples/topics/join/join/documentation.md new file mode 100644 index 0000000000..13c02d90c7 --- /dev/null +++ b/web/landing/content/examples/topics/join/join/documentation.md @@ -0,0 +1 @@ +- [Join](/documentation/components/core/join) diff --git a/web/landing/content/examples/topics/join/join_each/_meta.yaml b/web/landing/content/examples/topics/join/join_each/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/join/join_each/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/join/join_each/code.php b/web/landing/content/examples/topics/join/join_each/code.php new file mode 100644 index 0000000000..424e1fa6a4 --- /dev/null +++ b/web/landing/content/examples/topics/join/join_each/code.php @@ -0,0 +1,56 @@ +process($this->findRowsInDatabase($rows)); + } + + private function findRowsInDatabase(Rows $rows) : Rows + { + // Lets pretend there are 10k more entries in the DB + $rowsFromDb = \array_map( + static fn (int $id) : Row => row(int_entry('id', $id), str_entry('sku', 'PRODUCT' . $id)), + \range(1, 10_000) + ); + + return (new Rows(...$rowsFromDb)) + // this would be a database SQL query in real life + ->filter(static fn (Row $row) => \in_array($row->valueOf('id'), $rows->reduceToArray('id'), true)); + } +}; + +data_frame() + ->extract($apiExtractor) + ->joinEach( + $dbDataFrameFactory, + join_on(equal('id', 'id')), // by using compare_all() or compare_any(), more than one entry can be used to prepare the condition + Join::left_anti + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/join/join_each/description.md b/web/landing/content/examples/topics/join/join_each/description.md new file mode 100644 index 0000000000..563ba643ca --- /dev/null +++ b/web/landing/content/examples/topics/join/join_each/description.md @@ -0,0 +1 @@ +Join datasets that are too large to fit in memory. Unlike regular [join](/join/join/#example), joinEach fetches only the relevant rows from storage for each batch, making it suitable for large right-side datasets. diff --git a/web/landing/content/examples/topics/join/join_each/documentation.md b/web/landing/content/examples/topics/join/join_each/documentation.md new file mode 100644 index 0000000000..13c02d90c7 --- /dev/null +++ b/web/landing/content/examples/topics/join/join_each/documentation.md @@ -0,0 +1 @@ +- [Join](/documentation/components/core/join) diff --git a/web/landing/content/examples/topics/partitioning/_meta.yaml b/web/landing/content/examples/topics/partitioning/_meta.yaml new file mode 100644 index 0000000000..1cfff153ea --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/_meta.yaml @@ -0,0 +1,2 @@ +priority: 6 +hidden: false diff --git a/web/landing/content/examples/topics/partitioning/partition_pruning/_meta.yaml b/web/landing/content/examples/topics/partitioning/partition_pruning/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partition_pruning/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/partitioning/partition_pruning/code.php b/web/landing/content/examples/topics/partitioning/partition_pruning/code.php new file mode 100644 index 0000000000..3ef795cf58 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partition_pruning/code.php @@ -0,0 +1,15 @@ +read(from_csv(__DIR__ . '/input/color=*/sku=*/*.csv')) + ->filterPartitions(ref('color')->notEquals(lit('green'))) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/partitioning/partition_pruning/documentation.md b/web/landing/content/examples/topics/partitioning/partition_pruning/documentation.md new file mode 100644 index 0000000000..7f38d898fb --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partition_pruning/documentation.md @@ -0,0 +1 @@ +- [Partitioning](/documentation/components/core/partitioning) diff --git a/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=blue/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=blue/sku=A/data.csv new file mode 100644 index 0000000000..cabbeba10e --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=blue/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +5,Blue Widget A,16.99 +6,Blue Gadget A,26.99 diff --git a/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=green/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=green/sku=A/data.csv new file mode 100644 index 0000000000..03902632f1 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=green/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +7,Green Widget A,17.99 +8,Green Gadget A,27.99 diff --git a/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=red/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=red/sku=A/data.csv new file mode 100644 index 0000000000..c8c353a410 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=red/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +1,Red Widget A,15.99 +2,Red Gadget A,25.99 diff --git a/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=red/sku=B/data.csv b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=red/sku=B/data.csv new file mode 100644 index 0000000000..a7d09d424e --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partition_pruning/input/color=red/sku=B/data.csv @@ -0,0 +1,3 @@ +id,name,price +3,Red Widget B,18.99 +4,Red Gadget B,28.99 diff --git a/web/landing/content/examples/topics/partitioning/partitioning/_meta.yaml b/web/landing/content/examples/topics/partitioning/partitioning/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partitioning/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/examples/topics/partitioning/partitioning/code.php b/web/landing/content/examples/topics/partitioning/partitioning/code.php similarity index 100% rename from examples/topics/partitioning/partitioning/code.php rename to web/landing/content/examples/topics/partitioning/partitioning/code.php diff --git a/web/landing/content/examples/topics/partitioning/partitioning/description.md b/web/landing/content/examples/topics/partitioning/partitioning/description.md new file mode 100644 index 0000000000..0bc21dbbc2 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partitioning/description.md @@ -0,0 +1,24 @@ +Divide large datasets into smaller, organized parts based on column values. Flow uses Hive partitioning convention, creating a directory structure where each folder represents a partition value. + +```bash +output +├── color=blue +│ ├── sku=PRODUCT01 +│ │ └── products.csv +│ └── sku=PRODUCT02 +│ └── products.csv +├── color=green +│ ├── sku=PRODUCT01 +│ │ └── products.csv +│ ├── sku=PRODUCT02 +│ │ └── products.csv +│ └── sku=PRODUCT03 +│ └── products.csv +└── color=red + ├── sku=PRODUCT01 + │ └── products.csv + ├── sku=PRODUCT02 + │ └── products.csv + └── sku=PRODUCT03 + └── products.csv +``` diff --git a/web/landing/content/examples/topics/partitioning/partitioning/documentation.md b/web/landing/content/examples/topics/partitioning/partitioning/documentation.md new file mode 100644 index 0000000000..7f38d898fb --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/partitioning/documentation.md @@ -0,0 +1 @@ +- [Partitioning](/documentation/components/core/partitioning) diff --git a/web/landing/content/examples/topics/partitioning/path_partitions/_meta.yaml b/web/landing/content/examples/topics/partitioning/path_partitions/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/path_partitions/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/partitioning/path_partitions/code.php b/web/landing/content/examples/topics/partitioning/path_partitions/code.php new file mode 100644 index 0000000000..dc8654a2a0 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/path_partitions/code.php @@ -0,0 +1,14 @@ +read(from_path_partitions(__DIR__ . '/input/color=*/sku=*/*.csv')) + ->withEntry('path', ref('path')->strReplace(__DIR__, '/__ABSOLUTE_PATH__')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/partitioning/path_partitions/documentation.md b/web/landing/content/examples/topics/partitioning/path_partitions/documentation.md new file mode 100644 index 0000000000..7f38d898fb --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/path_partitions/documentation.md @@ -0,0 +1 @@ +- [Partitioning](/documentation/components/core/partitioning) diff --git a/web/landing/content/examples/topics/partitioning/path_partitions/input/color=blue/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=blue/sku=A/data.csv new file mode 100644 index 0000000000..cabbeba10e --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=blue/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +5,Blue Widget A,16.99 +6,Blue Gadget A,26.99 diff --git a/web/landing/content/examples/topics/partitioning/path_partitions/input/color=green/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=green/sku=A/data.csv new file mode 100644 index 0000000000..03902632f1 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=green/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +7,Green Widget A,17.99 +8,Green Gadget A,27.99 diff --git a/web/landing/content/examples/topics/partitioning/path_partitions/input/color=red/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=red/sku=A/data.csv new file mode 100644 index 0000000000..c8c353a410 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=red/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +1,Red Widget A,15.99 +2,Red Gadget A,25.99 diff --git a/web/landing/content/examples/topics/partitioning/path_partitions/input/color=red/sku=B/data.csv b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=red/sku=B/data.csv new file mode 100644 index 0000000000..a7d09d424e --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/path_partitions/input/color=red/sku=B/data.csv @@ -0,0 +1,3 @@ +id,name,price +3,Red Widget B,18.99 +4,Red Gadget B,28.99 diff --git a/web/landing/content/examples/topics/partitioning/reading/_meta.yaml b/web/landing/content/examples/topics/partitioning/reading/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/reading/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/partitioning/reading/code.php b/web/landing/content/examples/topics/partitioning/reading/code.php new file mode 100644 index 0000000000..8b3c3f5fbb --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/reading/code.php @@ -0,0 +1,13 @@ +read(from_csv(__DIR__ . '/input/color=*/sku=*/*.csv')) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/partitioning/reading/documentation.md b/web/landing/content/examples/topics/partitioning/reading/documentation.md new file mode 100644 index 0000000000..7f38d898fb --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/reading/documentation.md @@ -0,0 +1 @@ +- [Partitioning](/documentation/components/core/partitioning) diff --git a/web/landing/content/examples/topics/partitioning/reading/input/color=blue/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/reading/input/color=blue/sku=A/data.csv new file mode 100644 index 0000000000..cabbeba10e --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/reading/input/color=blue/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +5,Blue Widget A,16.99 +6,Blue Gadget A,26.99 diff --git a/web/landing/content/examples/topics/partitioning/reading/input/color=green/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/reading/input/color=green/sku=A/data.csv new file mode 100644 index 0000000000..03902632f1 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/reading/input/color=green/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +7,Green Widget A,17.99 +8,Green Gadget A,27.99 diff --git a/web/landing/content/examples/topics/partitioning/reading/input/color=red/sku=A/data.csv b/web/landing/content/examples/topics/partitioning/reading/input/color=red/sku=A/data.csv new file mode 100644 index 0000000000..c8c353a410 --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/reading/input/color=red/sku=A/data.csv @@ -0,0 +1,3 @@ +id,name,price +1,Red Widget A,15.99 +2,Red Gadget A,25.99 diff --git a/web/landing/content/examples/topics/partitioning/reading/input/color=red/sku=B/data.csv b/web/landing/content/examples/topics/partitioning/reading/input/color=red/sku=B/data.csv new file mode 100644 index 0000000000..a7d09d424e --- /dev/null +++ b/web/landing/content/examples/topics/partitioning/reading/input/color=red/sku=B/data.csv @@ -0,0 +1,3 @@ +id,name,price +3,Red Widget B,18.99 +4,Red Gadget B,28.99 diff --git a/web/landing/content/examples/topics/schema/_meta.yaml b/web/landing/content/examples/topics/schema/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/schema/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/schema/apply/_meta.yaml b/web/landing/content/examples/topics/schema/apply/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/schema/apply/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/schema/apply/code.php b/web/landing/content/examples/topics/schema/apply/code.php new file mode 100644 index 0000000000..e4063d3214 --- /dev/null +++ b/web/landing/content/examples/topics/schema/apply/code.php @@ -0,0 +1,27 @@ +add('key', 'value')), +); + +data_frame() + ->read( + from_array([ + ['id' => 1, 'name' => 'Product 1', 'active' => true], + ['id' => 2, 'name' => 'Product 2', 'active' => false], + ['id' => 3, 'name' => 'Product 3', 'active' => true], + ])->withSchema($schema) + ) + ->collect() + ->write(to_output(truncate: false, output: Output::schema)) + ->run(); diff --git a/web/landing/content/examples/topics/schema/apply/description.md b/web/landing/content/examples/topics/schema/apply/description.md new file mode 100644 index 0000000000..3be56e25a4 --- /dev/null +++ b/web/landing/content/examples/topics/schema/apply/description.md @@ -0,0 +1 @@ +Define explicit column types for data sources that lack strict schema support (like CSV, XML, or JSON). This ensures consistent type handling and avoids issues when early rows contain null or empty values. diff --git a/web/landing/content/examples/topics/schema/apply/documentation.md b/web/landing/content/examples/topics/schema/apply/documentation.md new file mode 100644 index 0000000000..caac668159 --- /dev/null +++ b/web/landing/content/examples/topics/schema/apply/documentation.md @@ -0,0 +1 @@ +- [Schema](/documentation/components/core/schema) diff --git a/web/landing/content/examples/topics/schema/display/_meta.yaml b/web/landing/content/examples/topics/schema/display/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/schema/display/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/schema/display/code.php b/web/landing/content/examples/topics/schema/display/code.php new file mode 100644 index 0000000000..945e2f41bc --- /dev/null +++ b/web/landing/content/examples/topics/schema/display/code.php @@ -0,0 +1,19 @@ +read(from_array([ + ['id' => 1, 'name' => 'Product 1', 'active' => true, 'tags' => ['tag1', 'tag2']], + ['id' => 2, 'name' => 'Product 2', 'active' => false, 'address' => ['city' => 'London', 'country' => 'UK']], + ['id' => 3, 'name' => 'Product 3', 'active' => true, 'tags' => ['tag1', 'tag2']], + ['id' => 3, 'name' => 'Product 3', 'active' => true], + ])) + ->collect() + ->write(to_output(truncate: false, output: Output::schema)) + ->run(); diff --git a/web/landing/content/examples/topics/schema/display/documentation.md b/web/landing/content/examples/topics/schema/display/documentation.md new file mode 100644 index 0000000000..caac668159 --- /dev/null +++ b/web/landing/content/examples/topics/schema/display/documentation.md @@ -0,0 +1 @@ +- [Schema](/documentation/components/core/schema) diff --git a/web/landing/content/examples/topics/schema/inferring/_meta.yaml b/web/landing/content/examples/topics/schema/inferring/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/schema/inferring/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/schema/inferring/code.php b/web/landing/content/examples/topics/schema/inferring/code.php new file mode 100644 index 0000000000..5ce6d0c637 --- /dev/null +++ b/web/landing/content/examples/topics/schema/inferring/code.php @@ -0,0 +1,29 @@ +read(from_csv(__DIR__ . '/input/dataset.csv')) + ->limit(100) // Limiting the number of rows to read will speed up the process but might bring less accurate results + ->autoCast() + ->schema(); + + \file_put_contents(__DIR__ . '/output/schema.json', schema_to_json($schema)); +} else { + /* @phpstan-ignore-next-line */ + $schema = schema_from_json(\file_get_contents(__DIR__ . '/output/schema.json')); +} + +// Reading schemaless data formats with predefined schema can significantly improve performance +data_frame() + ->read(from_csv(__DIR__ . '/input/dataset.csv', schema: $schema)) + ->collect() + ->write(to_output(truncate: false, output: Output::rows_and_schema)) + ->run(); diff --git a/web/landing/content/examples/topics/schema/inferring/description.md b/web/landing/content/examples/topics/schema/inferring/description.md new file mode 100644 index 0000000000..06959a3af7 --- /dev/null +++ b/web/landing/content/examples/topics/schema/inferring/description.md @@ -0,0 +1 @@ +Automatically detect the schema from your data. Inferred schemas can be saved and reused to speed up subsequent processing by avoiding repeated schema detection. diff --git a/web/landing/content/examples/topics/schema/inferring/documentation.md b/web/landing/content/examples/topics/schema/inferring/documentation.md new file mode 100644 index 0000000000..caac668159 --- /dev/null +++ b/web/landing/content/examples/topics/schema/inferring/documentation.md @@ -0,0 +1 @@ +- [Schema](/documentation/components/core/schema) diff --git a/web/landing/content/examples/topics/schema/inferring/input/dataset.csv b/web/landing/content/examples/topics/schema/inferring/input/dataset.csv new file mode 100644 index 0000000000..9e00562b00 --- /dev/null +++ b/web/landing/content/examples/topics/schema/inferring/input/dataset.csv @@ -0,0 +1,6 @@ +id,name,price,quantity,active,created_at +1,Product A,19.99,10,true,2024-01-15 +2,Product B,29.99,5,false,2024-01-16 +3,Product C,39.99,8,true,2024-01-17 +4,Product D,49.99,3,true,2024-01-18 +5,Product E,59.99,12,false,2024-01-19 diff --git a/web/landing/content/examples/topics/schema/validate/_meta.yaml b/web/landing/content/examples/topics/schema/validate/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/schema/validate/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/schema/validate/code.php b/web/landing/content/examples/topics/schema/validate/code.php new file mode 100644 index 0000000000..fc812767ea --- /dev/null +++ b/web/landing/content/examples/topics/schema/validate/code.php @@ -0,0 +1,26 @@ +add('key', 'value')), +); + +data_frame() + ->read(from_array([ + ['id' => 1, 'name' => 'Product 1', 'active' => true], + ['id' => 2, 'name' => 'Product 2', 'active' => false], + ['id' => 3, 'name' => 'Product 3', 'active' => true], + ])) + ->validate($schema) + ->collect() + ->write(to_output(truncate: false, output: Output::rows_and_schema)) + ->run(); diff --git a/web/landing/content/examples/topics/schema/validate/documentation.md b/web/landing/content/examples/topics/schema/validate/documentation.md new file mode 100644 index 0000000000..caac668159 --- /dev/null +++ b/web/landing/content/examples/topics/schema/validate/documentation.md @@ -0,0 +1 @@ +- [Schema](/documentation/components/core/schema) diff --git a/web/landing/content/examples/topics/telemetry/_meta.yaml b/web/landing/content/examples/topics/telemetry/_meta.yaml new file mode 100644 index 0000000000..3c24b8b7fa --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/_meta.yaml @@ -0,0 +1,2 @@ +priority: 9 +hidden: false diff --git a/web/landing/content/examples/topics/telemetry/combined/_meta.yaml b/web/landing/content/examples/topics/telemetry/combined/_meta.yaml new file mode 100644 index 0000000000..d3f9270d46 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/combined/_meta.yaml @@ -0,0 +1,2 @@ +priority: 4 +hidden: false diff --git a/web/landing/content/examples/topics/telemetry/combined/code.php b/web/landing/content/examples/topics/telemetry/combined/code.php new file mode 100644 index 0000000000..73eda887fa --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/combined/code.php @@ -0,0 +1,71 @@ +detect(), + tracer_provider( + memory_span_processor(console_span_exporter(colors: false)), + $clock, + $contextStorage, + ), + meter_provider( + memory_metric_processor(console_metric_exporter(colors: false)), + $clock, + ), + logger_provider( + memory_log_processor(console_log_exporter(colors: false, maxBodyLength: 200)), + $clock, + $contextStorage, + ), +); + +$telemetry->registerShutdownFunction(); + +$tracer = $telemetry->tracer('order-service'); +$logger = $telemetry->logger('order-service'); +$meter = $telemetry->meter('order-service'); + +$requestCounter = $meter->createCounter('orders.processed', 'orders', 'Orders processed'); +$durationHistogram = $meter->createHistogram('order.duration', 'ms', 'Order processing time'); + +$span = $tracer->span('process-order', SpanKind::INTERNAL); +$span->setAttribute('order.id', 'ORD-12345'); + +$logger->info('Processing order', ['order.id' => 'ORD-12345']); + +$childSpan = $tracer->span('validate-inventory', SpanKind::INTERNAL); +$logger->debug('Checking inventory', ['items.count' => 3]); +$childSpan->setStatus(SpanStatus::ok()); +$tracer->complete($childSpan); + +$requestCounter->add(1, ['status' => 'success']); +$durationHistogram->record(125.5, ['order.type' => 'standard']); + +$logger->info('Order completed', ['order.id' => 'ORD-12345', 'duration_ms' => 125.5]); + +$span->setStatus(SpanStatus::ok()); +$tracer->complete($span); diff --git a/web/landing/content/examples/topics/telemetry/combined/description.md b/web/landing/content/examples/topics/telemetry/combined/description.md new file mode 100644 index 0000000000..025939fc69 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/combined/description.md @@ -0,0 +1,3 @@ +Complete observability with all three telemetry pillars: traces, logs, and metrics. This example demonstrates using Tracer, Logger, and Meter together for full observability of an operation. + +All three signals share the same resource and context, enabling correlation across traces, logs, and metrics in observability backends. diff --git a/web/landing/content/examples/topics/telemetry/combined/documentation.md b/web/landing/content/examples/topics/telemetry/combined/documentation.md new file mode 100644 index 0000000000..a986d9d603 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/combined/documentation.md @@ -0,0 +1,7 @@ +- [Telemetry Library](/documentation/components/libs/telemetry) +- [OTLP Bridge](/documentation/components/bridges/telemetry-otlp-bridge) - Export telemetry data to OpenTelemetry Protocol backends +- [PSR-18 Telemetry Bridge](/documentation/components/bridges/psr18-telemetry-bridge) - HTTP client instrumentation for telemetry +- [PSR-7 Telemetry Bridge](/documentation/components/bridges/psr7-telemetry-bridge) - HTTP message telemetry formatting +- [Monolog Telemetry Bridge](/documentation/components/bridges/monolog-telemetry-bridge) - Integrate telemetry with Monolog logging +- [Symfony HttpFoundation Telemetry](/documentation/components/bridges/symfony-http-foundation-telemetry-bridge) - Telemetry events for Symfony HTTP requests +- [Symfony Telemetry Bundle](/documentation/components/bridges/symfony-telemetry-bundle) - Symfony bundle for telemetry integration diff --git a/web/landing/content/examples/topics/telemetry/logger/_meta.yaml b/web/landing/content/examples/topics/telemetry/logger/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/logger/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/telemetry/logger/code.php b/web/landing/content/examples/topics/telemetry/logger/code.php new file mode 100644 index 0000000000..585586f9ae --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/logger/code.php @@ -0,0 +1,54 @@ +detect(); + +$telemetry = telemetry( + $resource, + null, + null, + logger_provider( + memory_log_processor(console_log_exporter(colors: false, maxBodyLength: 200)), + $clock, + $contextStorage, + ), +); + +$telemetry->registerShutdownFunction(); + +$logger = $telemetry->logger('order-service'); + +$logger->info('Application started', [ + 'environment' => 'development', +]); + +$logger->debug('Processing batch', [ + 'batch.size' => 100, + 'batch.id' => 'B-001', +]); + +$logger->warn('Slow query detected', [ + 'query.duration_ms' => 5000, + 'query.table' => 'orders', +]); + +$logger->error('Connection failed', [ + 'service.name' => 'payment-gateway', + 'error.code' => 'TIMEOUT', +]); diff --git a/web/landing/content/examples/topics/telemetry/logger/description.md b/web/landing/content/examples/topics/telemetry/logger/description.md new file mode 100644 index 0000000000..ea8863a767 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/logger/description.md @@ -0,0 +1 @@ +Structured logging with severity levels and contextual attributes. Log records can include structured data for better searchability and analysis in observability backends. diff --git a/web/landing/content/examples/topics/telemetry/logger/documentation.md b/web/landing/content/examples/topics/telemetry/logger/documentation.md new file mode 100644 index 0000000000..a986d9d603 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/logger/documentation.md @@ -0,0 +1,7 @@ +- [Telemetry Library](/documentation/components/libs/telemetry) +- [OTLP Bridge](/documentation/components/bridges/telemetry-otlp-bridge) - Export telemetry data to OpenTelemetry Protocol backends +- [PSR-18 Telemetry Bridge](/documentation/components/bridges/psr18-telemetry-bridge) - HTTP client instrumentation for telemetry +- [PSR-7 Telemetry Bridge](/documentation/components/bridges/psr7-telemetry-bridge) - HTTP message telemetry formatting +- [Monolog Telemetry Bridge](/documentation/components/bridges/monolog-telemetry-bridge) - Integrate telemetry with Monolog logging +- [Symfony HttpFoundation Telemetry](/documentation/components/bridges/symfony-http-foundation-telemetry-bridge) - Telemetry events for Symfony HTTP requests +- [Symfony Telemetry Bundle](/documentation/components/bridges/symfony-telemetry-bundle) - Symfony bundle for telemetry integration diff --git a/web/landing/content/examples/topics/telemetry/meter/_meta.yaml b/web/landing/content/examples/topics/telemetry/meter/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/meter/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/telemetry/meter/code.php b/web/landing/content/examples/topics/telemetry/meter/code.php new file mode 100644 index 0000000000..45a666284f --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/meter/code.php @@ -0,0 +1,46 @@ +detect(); + +$telemetry = telemetry( + $resource, + null, + meter_provider( + memory_metric_processor(console_metric_exporter(colors: false)), + $clock, + ), +); + +$telemetry->registerShutdownFunction(); + +$meter = $telemetry->meter('order-service'); + +$requestCounter = $meter->createCounter('http.requests', 'requests', 'Total HTTP requests'); +$requestCounter->add(1, ['method' => 'GET', 'path' => '/api/users']); +$requestCounter->add(1, ['method' => 'POST', 'path' => '/api/orders']); + +$durationHistogram = $meter->createHistogram('http.duration', 'ms', 'Request duration'); +$durationHistogram->record(45.2, ['method' => 'GET', 'status' => 200]); +$durationHistogram->record(123.8, ['method' => 'POST', 'status' => 201]); + +$queueSize = $meter->createUpDownCounter('queue.size', 'items', 'Queue size'); +$queueSize->add(10); +$queueSize->add(-3); + +$memoryGauge = $meter->createGauge('process.memory', 'bytes', 'Memory usage'); +$memoryGauge->record(memory_get_usage()); diff --git a/web/landing/content/examples/topics/telemetry/meter/description.md b/web/landing/content/examples/topics/telemetry/meter/description.md new file mode 100644 index 0000000000..05e1bf009a --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/meter/description.md @@ -0,0 +1 @@ +Collect numeric measurements with different instrument types. Counters track totals, up-down counters track values that increase and decrease, histograms capture value distributions, and gauges record point-in-time values. diff --git a/web/landing/content/examples/topics/telemetry/meter/documentation.md b/web/landing/content/examples/topics/telemetry/meter/documentation.md new file mode 100644 index 0000000000..c885d29718 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/meter/documentation.md @@ -0,0 +1,7 @@ +- [Telemetry Library](/documentation/components/libs/telemetry) - Core telemetry abstraction with Tracer, Logger, and Meter +- [OTLP Bridge](/documentation/components/bridges/telemetry-otlp-bridge) - Export telemetry data to OpenTelemetry Protocol backends +- [PSR-18 Telemetry Bridge](/documentation/components/bridges/psr18-telemetry-bridge) - HTTP client instrumentation for telemetry +- [PSR-7 Telemetry Bridge](/documentation/components/bridges/psr7-telemetry-bridge) - HTTP message telemetry formatting +- [Monolog Telemetry Bridge](/documentation/components/bridges/monolog-telemetry-bridge) - Integrate telemetry with Monolog logging +- [Symfony HttpFoundation Telemetry](/documentation/components/bridges/symfony-http-foundation-telemetry-bridge) - Telemetry events for Symfony HTTP requests +- [Symfony Telemetry Bundle](/documentation/components/bridges/symfony-telemetry-bundle) - Symfony bundle for telemetry integration diff --git a/web/landing/content/examples/topics/telemetry/propagator/_meta.yaml b/web/landing/content/examples/topics/telemetry/propagator/_meta.yaml new file mode 100644 index 0000000000..1cfff153ea --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/propagator/_meta.yaml @@ -0,0 +1,2 @@ +priority: 6 +hidden: false diff --git a/web/landing/content/examples/topics/telemetry/propagator/code.php b/web/landing/content/examples/topics/telemetry/propagator/code.php new file mode 100644 index 0000000000..2abd8fef9e --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/propagator/code.php @@ -0,0 +1,86 @@ +detect(), + tracer_provider( + memory_span_processor(console_span_exporter(colors: false)), + $clock, + $contextStorage, + ), +); + +$telemetry->registerShutdownFunction(); + +// Create composite propagator (W3C Trace Context + Baggage) +$propagator = composite_propagator( + w3c_trace_context(), + w3c_baggage(), +); + +// Simulate incoming request headers from upstream service +$incomingHeaders = [ + 'traceparent' => '00-0af7651916cd43dd8448eb211c80319c-00f067aa0ba902b7-01', + 'baggage' => 'userId=alice,requestId=req-123', +]; + +// Extract context from incoming request +$carrier = array_carrier($incomingHeaders); +$extractedContext = $propagator->extract($carrier); + +// Access extracted data +if ($extractedContext->spanContext !== null) { + echo "Trace ID: " . $extractedContext->spanContext->traceId->toHex() . "\n"; + echo "Parent Span ID: " . $extractedContext->spanContext->spanId->toHex() . "\n"; + echo "Is Sampled: " . ($extractedContext->spanContext->traceFlags->isSampled() ? 'yes' : 'no') . "\n"; +} + +if ($extractedContext->baggage !== null) { + echo "User ID: " . $extractedContext->baggage->get('userId') . "\n"; + echo "Request ID: " . $extractedContext->baggage->get('requestId') . "\n"; +} + +// Create a span as child of the extracted context +$tracer = $telemetry->tracer('order-service'); + +// Use extracted span context as explicit parent +$span = $tracer->span('handle-request', SpanKind::SERVER, parentContext: $extractedContext->spanContext); +$span->setAttribute('http.method', 'POST'); +$span->setAttribute('http.route', '/api/orders'); + +// Process request... + +$span->setStatus(SpanStatus::ok()); +$tracer->complete($span); + +// Inject context into outgoing response headers +$outgoingCarrier = array_carrier(); +$propagator->inject($extractedContext, $outgoingCarrier); +$outgoingHeaders = $outgoingCarrier->unwrap(); + +echo "\nOutgoing headers:\n"; +foreach ($outgoingHeaders as $name => $value) { + echo " {$name}: {$value}\n"; +} diff --git a/web/landing/content/examples/topics/telemetry/propagator/description.md b/web/landing/content/examples/topics/telemetry/propagator/description.md new file mode 100644 index 0000000000..dfe362b598 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/propagator/description.md @@ -0,0 +1 @@ +Pass trace context across service boundaries. Propagators extract context from incoming requests and inject it into outgoing requests, enabling distributed traces that span multiple services. diff --git a/web/landing/content/examples/topics/telemetry/propagator/documentation.md b/web/landing/content/examples/topics/telemetry/propagator/documentation.md new file mode 100644 index 0000000000..d2a2e59bbb --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/propagator/documentation.md @@ -0,0 +1,7 @@ +- [Telemetry Library](/documentation/components/libs/telemetry) +- [OTLP Bridge](/documentation/components/bridges/telemetry-otlp-bridge) - Export telemetry data to OpenTelemetry Protocol backends +- [PSR-18 Telemetry Bridge](/documentation/components/bridges/psr18-telemetry-bridge) - HTTP client instrumentation for telemetry +- [PSR-7 Telemetry Bridge](/documentation/components/bridges/psr7-telemetry-bridge) - HTTP message telemetry formatting +- [Monolog Telemetry Bridge](/documentation/components/bridges/monolog-telemetry-bridge) - Integrate telemetry with Monolog logging +- [Symfony HttpFoundation Telemetry](/documentation/components/bridges/symfony-http-foundation-telemetry-bridge) - Telemetry events for Symfony HTTP requests +- [Symfony Telemetry Bundle](/documentation/components/bridges/symfony-telemetry-bundle) - Symfony bundle for telemetry integration diff --git a/web/landing/content/examples/topics/telemetry/resource/_meta.yaml b/web/landing/content/examples/topics/telemetry/resource/_meta.yaml new file mode 100644 index 0000000000..76b24de0b7 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/resource/_meta.yaml @@ -0,0 +1,2 @@ +priority: 5 +hidden: false diff --git a/web/landing/content/examples/topics/telemetry/resource/code.php b/web/landing/content/examples/topics/telemetry/resource/code.php new file mode 100644 index 0000000000..bcccb159a6 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/resource/code.php @@ -0,0 +1,52 @@ +detect(); + +// Add custom attributes that override or extend detected values +$custom = resource([ + 'deployment.environment.name' => 'production', + 'service.instance.id' => 'worker-01', + 'service.namespace' => 'order-processing', +]); + +// Merge resources (custom attributes take precedence) +$combinedResource = $detected->merge($custom); + +$telemetry = telemetry( + $combinedResource, + tracer_provider( + memory_span_processor(console_span_exporter(colors: false)), + $clock, + $contextStorage, + ), +); + +$telemetry->registerShutdownFunction(); + +$tracer = $telemetry->tracer('order-service'); + +$span = $tracer->span('process-order', SpanKind::INTERNAL); +$span->setAttribute('order.id', 'ORD-12345'); +$span->setStatus(SpanStatus::ok()); +$tracer->complete($span); diff --git a/web/landing/content/examples/topics/telemetry/resource/description.md b/web/landing/content/examples/topics/telemetry/resource/description.md new file mode 100644 index 0000000000..3c59c71e4f --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/resource/description.md @@ -0,0 +1 @@ +Identify the source of telemetry data. Resources describe the entity producing telemetry (service name, host, environment) and can combine auto-detected system attributes with custom metadata. diff --git a/web/landing/content/examples/topics/telemetry/resource/documentation.md b/web/landing/content/examples/topics/telemetry/resource/documentation.md new file mode 100644 index 0000000000..d2a2e59bbb --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/resource/documentation.md @@ -0,0 +1,7 @@ +- [Telemetry Library](/documentation/components/libs/telemetry) +- [OTLP Bridge](/documentation/components/bridges/telemetry-otlp-bridge) - Export telemetry data to OpenTelemetry Protocol backends +- [PSR-18 Telemetry Bridge](/documentation/components/bridges/psr18-telemetry-bridge) - HTTP client instrumentation for telemetry +- [PSR-7 Telemetry Bridge](/documentation/components/bridges/psr7-telemetry-bridge) - HTTP message telemetry formatting +- [Monolog Telemetry Bridge](/documentation/components/bridges/monolog-telemetry-bridge) - Integrate telemetry with Monolog logging +- [Symfony HttpFoundation Telemetry](/documentation/components/bridges/symfony-http-foundation-telemetry-bridge) - Telemetry events for Symfony HTTP requests +- [Symfony Telemetry Bundle](/documentation/components/bridges/symfony-telemetry-bundle) - Symfony bundle for telemetry integration diff --git a/web/landing/content/examples/topics/telemetry/tracer/_meta.yaml b/web/landing/content/examples/topics/telemetry/tracer/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/tracer/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/telemetry/tracer/code.php b/web/landing/content/examples/topics/telemetry/tracer/code.php new file mode 100644 index 0000000000..b9a07e7cf4 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/tracer/code.php @@ -0,0 +1,47 @@ +detect(); + +$telemetry = telemetry( + $resource, + tracer_provider( + memory_span_processor(console_span_exporter(colors: false)), + $clock, + $contextStorage, + ), +); + +$telemetry->registerShutdownFunction(); + +$tracer = $telemetry->tracer('order-service'); + +$span = $tracer->span('process-order', SpanKind::INTERNAL); +$span->setAttribute('order.id', 'ORD-12345'); +$span->setAttribute('customer.id', 42); + +$childSpan = $tracer->span('validate-payment', SpanKind::INTERNAL); +$childSpan->setAttribute('payment.method', 'credit_card'); +$childSpan->setStatus(SpanStatus::ok()); +$tracer->complete($childSpan); + +$span->setStatus(SpanStatus::ok()); +$tracer->complete($span); diff --git a/web/landing/content/examples/topics/telemetry/tracer/description.md b/web/landing/content/examples/topics/telemetry/tracer/description.md new file mode 100644 index 0000000000..094735c648 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/tracer/description.md @@ -0,0 +1 @@ +Track operations through your application with distributed tracing. Spans represent individual operations and can be nested to show parent-child relationships, making it easy to visualize request flow and identify bottlenecks. diff --git a/web/landing/content/examples/topics/telemetry/tracer/documentation.md b/web/landing/content/examples/topics/telemetry/tracer/documentation.md new file mode 100644 index 0000000000..c885d29718 --- /dev/null +++ b/web/landing/content/examples/topics/telemetry/tracer/documentation.md @@ -0,0 +1,7 @@ +- [Telemetry Library](/documentation/components/libs/telemetry) - Core telemetry abstraction with Tracer, Logger, and Meter +- [OTLP Bridge](/documentation/components/bridges/telemetry-otlp-bridge) - Export telemetry data to OpenTelemetry Protocol backends +- [PSR-18 Telemetry Bridge](/documentation/components/bridges/psr18-telemetry-bridge) - HTTP client instrumentation for telemetry +- [PSR-7 Telemetry Bridge](/documentation/components/bridges/psr7-telemetry-bridge) - HTTP message telemetry formatting +- [Monolog Telemetry Bridge](/documentation/components/bridges/monolog-telemetry-bridge) - Integrate telemetry with Monolog logging +- [Symfony HttpFoundation Telemetry](/documentation/components/bridges/symfony-http-foundation-telemetry-bridge) - Telemetry events for Symfony HTTP requests +- [Symfony Telemetry Bundle](/documentation/components/bridges/symfony-telemetry-bundle) - Symfony bundle for telemetry integration diff --git a/web/landing/content/examples/topics/transformations/_meta.yaml b/web/landing/content/examples/topics/transformations/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/transformations/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/array/_meta.yaml b/web/landing/content/examples/topics/transformations/array/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/array/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/array/expand/_meta.yaml b/web/landing/content/examples/topics/transformations/array/expand/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/array/expand/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/array/expand/code.php b/web/landing/content/examples/topics/transformations/array/expand/code.php new file mode 100644 index 0000000000..c8c0a7cca0 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/array/expand/code.php @@ -0,0 +1,24 @@ +read(from_rows(rows( + row(int_entry('id', 1), json_entry('array', ['a' => 1, 'b' => 2, 'c' => 3])), + ))) + ->withEntry('expanded', array_expand(ref('array'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/array/expand/documentation.md b/web/landing/content/examples/topics/transformations/array/expand/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/array/expand/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/array/unpack/_meta.yaml b/web/landing/content/examples/topics/transformations/array/unpack/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/array/unpack/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/array/unpack/code.php b/web/landing/content/examples/topics/transformations/array/unpack/code.php new file mode 100644 index 0000000000..aa91527568 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/array/unpack/code.php @@ -0,0 +1,16 @@ +read(from_rows(rows( + row(int_entry('id', 1), json_entry('array', ['a' => 1, 'b' => 2, 'c' => 3])), + row(int_entry('id', 2), json_entry('array', ['d' => 4, 'e' => 5, 'f' => 6])), + ))) + ->withEntry('unpacked', ref('array')->unpack()) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/array/unpack/documentation.md b/web/landing/content/examples/topics/transformations/array/unpack/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/array/unpack/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/call/_meta.yaml b/web/landing/content/examples/topics/transformations/call/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/call/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/call/code.php b/web/landing/content/examples/topics/transformations/call/code.php new file mode 100644 index 0000000000..4b4fef4b1d --- /dev/null +++ b/web/landing/content/examples/topics/transformations/call/code.php @@ -0,0 +1,29 @@ +read( + from_array( + [ + ['integers' => '1,2,3'], + ['integers' => '5,7'], + ['integers' => '0,2,4'], + ] + ) + ) + ->withEntry( + 'integers', + ref('integers')->call(lit('explode'), ['separator' => ','], refAlias: 'string', returnType: type_list(type_integer())) + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/call/description.md b/web/landing/content/examples/topics/transformations/call/description.md new file mode 100644 index 0000000000..f7655bc1ac --- /dev/null +++ b/web/landing/content/examples/topics/transformations/call/description.md @@ -0,0 +1 @@ +Apply any PHP callable (function or method) to your data. This is useful when no built-in scalar function exists for your specific transformation needs. diff --git a/web/landing/content/examples/topics/transformations/call/documentation.md b/web/landing/content/examples/topics/transformations/call/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/call/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/filtering/_meta.yaml b/web/landing/content/examples/topics/transformations/filtering/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/filtering/basic/_meta.yaml b/web/landing/content/examples/topics/transformations/filtering/basic/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/basic/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/filtering/basic/code.php b/web/landing/content/examples/topics/transformations/filtering/basic/code.php new file mode 100644 index 0000000000..b84309fac2 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/basic/code.php @@ -0,0 +1,20 @@ +read(from_array([ + ['id' => 1, 'name' => 'Alice', 'age' => 25, 'active' => true], + ['id' => 2, 'name' => 'Bob', 'age' => 32, 'active' => false], + ['id' => 3, 'name' => 'Charlie', 'age' => 28, 'active' => true], + ['id' => 4, 'name' => 'Diana', 'age' => 35, 'active' => true], + ['id' => 5, 'name' => 'Eve', 'age' => 22, 'active' => false], + ])) + ->collect() + ->filter(ref('active')->isTrue()) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/filtering/basic/description.md b/web/landing/content/examples/topics/transformations/filtering/basic/description.md new file mode 100644 index 0000000000..d6f8e1b386 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/basic/description.md @@ -0,0 +1 @@ +Remove rows from your dataset based on conditions. Only rows matching the filter criteria are kept in the result. This is one of the most common operations for selecting a subset of data. diff --git a/web/landing/content/examples/topics/transformations/filtering/basic/documentation.md b/web/landing/content/examples/topics/transformations/filtering/basic/documentation.md new file mode 100644 index 0000000000..e9025cb46c --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/basic/documentation.md @@ -0,0 +1 @@ +- [Filter](/documentation/components/core/filter) diff --git a/web/landing/content/examples/topics/transformations/filtering/divide/_meta.yaml b/web/landing/content/examples/topics/transformations/filtering/divide/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/divide/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/filtering/divide/code.php b/web/landing/content/examples/topics/transformations/filtering/divide/code.php new file mode 100644 index 0000000000..8122e7f2cd --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/divide/code.php @@ -0,0 +1,17 @@ +read(from_rows(rows( + row(int_entry('a', 100), int_entry('b', 100)), + row(int_entry('a', 100), int_entry('b', 200)) + ))) + ->filter(ref('b')->divide(lit(2))->same(ref('a'))) + ->withEntry('new_b', ref('b')->multiply(lit(2))->multiply(lit(5))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/filtering/divide/documentation.md b/web/landing/content/examples/topics/transformations/filtering/divide/documentation.md new file mode 100644 index 0000000000..e9025cb46c --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/divide/documentation.md @@ -0,0 +1 @@ +- [Filter](/documentation/components/core/filter) diff --git a/web/landing/content/examples/topics/transformations/filtering/mod/_meta.yaml b/web/landing/content/examples/topics/transformations/filtering/mod/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/mod/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/filtering/mod/code.php b/web/landing/content/examples/topics/transformations/filtering/mod/code.php new file mode 100644 index 0000000000..96c3e49b1d --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/mod/code.php @@ -0,0 +1,16 @@ +read(from_rows(rows( + row(int_entry('a', 4), int_entry('b', 5)), + row(int_entry('a', 3), int_entry('b', 6)) + ))) + ->filter(ref('b')->mod(lit(2))->equals(lit(0))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/filtering/mod/documentation.md b/web/landing/content/examples/topics/transformations/filtering/mod/documentation.md new file mode 100644 index 0000000000..e9025cb46c --- /dev/null +++ b/web/landing/content/examples/topics/transformations/filtering/mod/documentation.md @@ -0,0 +1 @@ +- [Filter](/documentation/components/core/filter) diff --git a/web/landing/content/examples/topics/transformations/literals/_meta.yaml b/web/landing/content/examples/topics/transformations/literals/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/literals/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/literals/code.php b/web/landing/content/examples/topics/transformations/literals/code.php new file mode 100644 index 0000000000..06cdd20a2b --- /dev/null +++ b/web/landing/content/examples/topics/transformations/literals/code.php @@ -0,0 +1,15 @@ +read(from_rows(rows( + row(str_entry('name', 'Norbert')) + ))) + ->withEntry('number', lit(1)) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/literals/documentation.md b/web/landing/content/examples/topics/transformations/literals/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/literals/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/match/_meta.yaml b/web/landing/content/examples/topics/transformations/match/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/match/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/match/code.php b/web/landing/content/examples/topics/transformations/match/code.php new file mode 100644 index 0000000000..fd5368d40e --- /dev/null +++ b/web/landing/content/examples/topics/transformations/match/code.php @@ -0,0 +1,45 @@ +read( + from_rows( + rows( + row(string_entry('string', 'string-with-dashes')), + row(string_entry('string', '123')), + row(string_entry('string', '14%')), + row(string_entry('string', '+14')), + row(string_entry('string', '')) + ) + ) + ) + ->withEntry( + 'string', + match_cases( + [ + match_condition(ref('string')->contains('-'), ref('string')->strReplace('-', ' ')), + match_condition(ref('string')->call('is_numeric'), ref('string')->cast(type_integer())), + match_condition(ref('string')->endsWith('%'), ref('string')->strReplace('%', '')->cast(type_integer())), + match_condition(ref('string')->startsWith('+'), ref('string')->strReplace('+', '')->cast(type_integer())), + ], + default: lit('DEFAULT') + ) + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/match/documentation.md b/web/landing/content/examples/topics/transformations/match/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/match/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/math/_meta.yaml b/web/landing/content/examples/topics/transformations/math/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/math/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/math/code.php b/web/landing/content/examples/topics/transformations/math/code.php new file mode 100644 index 0000000000..3175fd48ad --- /dev/null +++ b/web/landing/content/examples/topics/transformations/math/code.php @@ -0,0 +1,15 @@ +read(from_rows(rows( + row(int_entry('a', 100), int_entry('b', 200)) + ))) + ->withEntry('d', ref('b')->minus(ref('a'))) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/math/documentation.md b/web/landing/content/examples/topics/transformations/math/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/math/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/size/_meta.yaml b/web/landing/content/examples/topics/transformations/size/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/size/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/size/code.php b/web/landing/content/examples/topics/transformations/size/code.php new file mode 100644 index 0000000000..13536cbde7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/size/code.php @@ -0,0 +1,15 @@ +read(from_rows(rows( + row(int_entry('id', 1), json_entry('array', ['a' => 1, 'b' => 2, 'c' => 3])), + ))) + ->withEntry('array_size', ref('array')->size()) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/size/documentation.md b/web/landing/content/examples/topics/transformations/size/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/size/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/sort/_meta.yaml b/web/landing/content/examples/topics/transformations/sort/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/sort/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/sort/code.php b/web/landing/content/examples/topics/transformations/sort/code.php new file mode 100644 index 0000000000..24da3b854f --- /dev/null +++ b/web/landing/content/examples/topics/transformations/sort/code.php @@ -0,0 +1,14 @@ +read(from_sequence_number('id', 0, 10)) + ->sortBy(ref('id')->desc()) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/sort/documentation.md b/web/landing/content/examples/topics/transformations/sort/documentation.md new file mode 100644 index 0000000000..6c24861085 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/sort/documentation.md @@ -0,0 +1 @@ +- [Sort](/documentation/components/core/sort) diff --git a/web/landing/content/examples/topics/transformations/when/_meta.yaml b/web/landing/content/examples/topics/transformations/when/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/when/basic/_meta.yaml b/web/landing/content/examples/topics/transformations/when/basic/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/basic/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/when/basic/code.php b/web/landing/content/examples/topics/transformations/when/basic/code.php new file mode 100644 index 0000000000..cc8fba0749 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/basic/code.php @@ -0,0 +1,25 @@ +read(from_array([ + ['id' => 1, 'email' => 'user01@flow-php.com', 'active' => true, 'tags' => ['foo', 'bar']], + ['id' => 2, 'email' => 'user02@flow-php.com', 'active' => false, 'tags' => ['biz', 'bar']], + ['id' => 3, 'email' => 'user03@flow-php.com', 'active' => true, 'tags' => ['bar', 'baz']], + ])) + ->collect() + ->withEntry( + 'is_special', + when( + ref('active')->isTrue()->and(ref('tags')->contains('foo')), + lit(true), + lit(false) + ) + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/when/basic/description.md b/web/landing/content/examples/topics/transformations/when/basic/description.md new file mode 100644 index 0000000000..9c233be2fe --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/basic/description.md @@ -0,0 +1 @@ +Add conditional logic to your transformations. Evaluate a condition and return different values based on whether it's true or false—similar to an if/else statement. diff --git a/web/landing/content/examples/topics/transformations/when/basic/documentation.md b/web/landing/content/examples/topics/transformations/when/basic/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/basic/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/when/else_when/_meta.yaml b/web/landing/content/examples/topics/transformations/when/else_when/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/else_when/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/when/else_when/code.php b/web/landing/content/examples/topics/transformations/when/else_when/code.php new file mode 100644 index 0000000000..31b2d8c9f2 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/else_when/code.php @@ -0,0 +1,34 @@ +read(from_array([ + ['id' => 1, 'score' => 95, 'email' => 'user01@flow-php.com'], + ['id' => 2, 'score' => 75, 'email' => 'user02@flow-php.com'], + ['id' => 3, 'score' => 55, 'email' => 'user03@flow-php.com'], + ['id' => 4, 'score' => 30, 'email' => 'user04@flow-php.com'], + ])) + ->collect() + ->withEntry( + 'grade', + when( + ref('score')->greaterThanEqual(lit(90)), + lit('A'), + when( + ref('score')->greaterThanEqual(lit(70)), + lit('B'), + when( + ref('score')->greaterThanEqual(lit(50)), + lit('C'), + lit('F') + ) + ) + ) + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/when/else_when/description.md b/web/landing/content/examples/topics/transformations/when/else_when/description.md new file mode 100644 index 0000000000..cb1196ee82 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/else_when/description.md @@ -0,0 +1 @@ +Chain multiple conditions for multi-tier logic, similar to if-elseif-else chains. Useful for categorizing data into multiple levels, implementing grading systems, or determining status based on several criteria. diff --git a/web/landing/content/examples/topics/transformations/when/else_when/documentation.md b/web/landing/content/examples/topics/transformations/when/else_when/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/else_when/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/when/null/_meta.yaml b/web/landing/content/examples/topics/transformations/when/null/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/null/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/when/null/code.php b/web/landing/content/examples/topics/transformations/when/null/code.php new file mode 100644 index 0000000000..66691f9af3 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/null/code.php @@ -0,0 +1,22 @@ +read(from_rows(rows( + row(int_entry('id', 1), int_entry('value', 1)), + row(int_entry('id', 2), int_entry('value', 1)), + row(int_entry('id', 3), int_entry('value', null)), + row(int_entry('id', 4), int_entry('value', 1)), + row(int_entry('id', 5), int_entry('value', null)), + ))) + ->withEntry( + 'value', + when(ref('value')->isNull(), then: lit(0)) + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/when/null/documentation.md b/web/landing/content/examples/topics/transformations/when/null/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/null/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/transformations/when/odd/_meta.yaml b/web/landing/content/examples/topics/transformations/when/odd/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/odd/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/transformations/when/odd/code.php b/web/landing/content/examples/topics/transformations/when/odd/code.php new file mode 100644 index 0000000000..c1bec730f9 --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/odd/code.php @@ -0,0 +1,21 @@ +read(from_sequence_number('number', 1, 100)) + ->collect() + ->withEntry( + 'type', + when( + ref('number')->isOdd(), + then: lit('odd'), + else: lit('even') + ) + ) + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/transformations/when/odd/documentation.md b/web/landing/content/examples/topics/transformations/when/odd/documentation.md new file mode 100644 index 0000000000..5544e2a0fb --- /dev/null +++ b/web/landing/content/examples/topics/transformations/when/odd/documentation.md @@ -0,0 +1 @@ +- [Transformations](/documentation/components/core/transformations) diff --git a/web/landing/content/examples/topics/types/_meta.yaml b/web/landing/content/examples/topics/types/_meta.yaml new file mode 100644 index 0000000000..177f368d9d --- /dev/null +++ b/web/landing/content/examples/topics/types/_meta.yaml @@ -0,0 +1,2 @@ +priority: 8 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/_meta.yaml b/web/landing/content/examples/topics/types/assertions/_meta.yaml new file mode 100644 index 0000000000..0d96c143f9 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/_meta.yaml @@ -0,0 +1,2 @@ +priority: 1 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/array/_meta.yaml b/web/landing/content/examples/topics/types/assertions/array/_meta.yaml new file mode 100644 index 0000000000..df67d6f773 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/array/_meta.yaml @@ -0,0 +1,2 @@ +priority: 29 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/array/code.php b/web/landing/content/examples/topics/types/assertions/array/code.php new file mode 100644 index 0000000000..e3a4a19799 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/array/code.php @@ -0,0 +1,11 @@ +assert([1, 2, 3])) . "\n"; +echo 'Assert associative array: ' . json_encode(type_array()->assert(['a' => 1, 'b' => 2])) . "\n"; +echo 'Assert empty array: ' . json_encode(type_array()->assert([])) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/array/description.md b/web/landing/content/examples/topics/types/assertions/array/description.md new file mode 100644 index 0000000000..1e4cecb6ab --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/array/description.md @@ -0,0 +1 @@ +Assert generic array values. Accepts any PHP array without key or value type restrictions. diff --git a/web/landing/content/examples/topics/types/assertions/array/documentation.md b/web/landing/content/examples/topics/types/assertions/array/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/array/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/callable/_meta.yaml b/web/landing/content/examples/topics/types/assertions/callable/_meta.yaml new file mode 100644 index 0000000000..8178f87197 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/callable/_meta.yaml @@ -0,0 +1,2 @@ +priority: 26 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/callable/code.php b/web/landing/content/examples/topics/types/assertions/callable/code.php new file mode 100644 index 0000000000..330ac0dd31 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/callable/code.php @@ -0,0 +1,14 @@ + $x * 2; +$result = type_callable()->assert($callback); + +echo 'Assert closure: ' . (is_callable($result) ? 'callable' : 'not callable') . "\n"; +echo 'Call result: ' . $result(5) . "\n"; +echo 'Assert built-in: ' . (is_callable(type_callable()->assert('strtoupper')) ? 'callable' : 'not callable') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/callable/description.md b/web/landing/content/examples/topics/types/assertions/callable/description.md new file mode 100644 index 0000000000..6ff40d8747 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/callable/description.md @@ -0,0 +1 @@ +Assert callable values. Accepts closures, function names, array callables, and invokable objects. diff --git a/web/landing/content/examples/topics/types/assertions/callable/documentation.md b/web/landing/content/examples/topics/types/assertions/callable/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/callable/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/class_string/_meta.yaml b/web/landing/content/examples/topics/types/assertions/class_string/_meta.yaml new file mode 100644 index 0000000000..765d46263b --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/class_string/_meta.yaml @@ -0,0 +1,2 @@ +priority: 24 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/class_string/code.php b/web/landing/content/examples/topics/types/assertions/class_string/code.php new file mode 100644 index 0000000000..857e1c64ed --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/class_string/code.php @@ -0,0 +1,10 @@ +assert(\DateTimeImmutable::class) . "\n"; +echo 'Assert with parent: ' . type_class_string(\DateTimeInterface::class)->assert(\DateTimeImmutable::class) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/class_string/description.md b/web/landing/content/examples/topics/types/assertions/class_string/description.md new file mode 100644 index 0000000000..7c329b4228 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/class_string/description.md @@ -0,0 +1 @@ +Assert class-string values. Validates that the string is a valid class name, optionally implementing a specific class or interface. diff --git a/web/landing/content/examples/topics/types/assertions/class_string/documentation.md b/web/landing/content/examples/topics/types/assertions/class_string/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/class_string/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/constrained/_meta.yaml b/web/landing/content/examples/topics/types/assertions/constrained/_meta.yaml new file mode 100644 index 0000000000..a3182840b6 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/constrained/_meta.yaml @@ -0,0 +1,2 @@ +priority: 80 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/constrained/code.php b/web/landing/content/examples/topics/types/assertions/constrained/code.php new file mode 100644 index 0000000000..926553cd0a --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/constrained/code.php @@ -0,0 +1,10 @@ +assert(5) . "\n"; +echo 'Non-empty string: ' . type_non_empty_string()->assert('Widget Pro') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/constrained/description.md b/web/landing/content/examples/topics/types/assertions/constrained/description.md new file mode 100644 index 0000000000..1096ef00fe --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/constrained/description.md @@ -0,0 +1 @@ +Assert constrained types like positive integers and non-empty strings. Enforce stricter validation beyond basic types. diff --git a/web/landing/content/examples/topics/types/assertions/constrained/documentation.md b/web/landing/content/examples/topics/types/assertions/constrained/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/constrained/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/date/_meta.yaml b/web/landing/content/examples/topics/types/assertions/date/_meta.yaml new file mode 100644 index 0000000000..54474545b3 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/date/_meta.yaml @@ -0,0 +1,2 @@ +priority: 11 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/date/code.php b/web/landing/content/examples/topics/types/assertions/date/code.php new file mode 100644 index 0000000000..0575b67d84 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/date/code.php @@ -0,0 +1,10 @@ +assert('2024-06-15')->format('Y-m-d') . "\n"; +echo 'From datetime string: ' . type_date()->assert('2024-12-25 10:30:00')->format('Y-m-d') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/date/description.md b/web/landing/content/examples/topics/types/assertions/date/description.md new file mode 100644 index 0000000000..bca0935308 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/date/description.md @@ -0,0 +1 @@ +Assert date values from ISO strings. Converts to DateTimeImmutable representing the date portion only. diff --git a/web/landing/content/examples/topics/types/assertions/date/documentation.md b/web/landing/content/examples/topics/types/assertions/date/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/date/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/datetime/_meta.yaml b/web/landing/content/examples/topics/types/assertions/datetime/_meta.yaml new file mode 100644 index 0000000000..066e3e5a89 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/datetime/_meta.yaml @@ -0,0 +1,2 @@ +priority: 10 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/datetime/code.php b/web/landing/content/examples/topics/types/assertions/datetime/code.php new file mode 100644 index 0000000000..65ff7d4b27 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/datetime/code.php @@ -0,0 +1,10 @@ +assert('2024-06-15 14:30:00')->format('Y-m-d H:i:s') . "\n"; +echo 'From timestamp: ' . type_datetime()->assert(1704067200)->format('Y-m-d H:i:s') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/datetime/description.md b/web/landing/content/examples/topics/types/assertions/datetime/description.md new file mode 100644 index 0000000000..f96abbc798 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/datetime/description.md @@ -0,0 +1 @@ +Assert datetime values from ISO strings, Unix timestamps, or relative expressions. Converts to DateTimeImmutable for safe usage. diff --git a/web/landing/content/examples/topics/types/assertions/datetime/documentation.md b/web/landing/content/examples/topics/types/assertions/datetime/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/datetime/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/description.md b/web/landing/content/examples/topics/types/assertions/description.md new file mode 100644 index 0000000000..c9af270b0d --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/description.md @@ -0,0 +1,18 @@ +Type assertions validate values at runtime and throw `InvalidArgumentException` if the value doesn't match the expected type. +The `assert()` method returns the validated value with proper type narrowing, enabling static analysis tools like +PHPStan to understand the resulting type. This provides IDE autocompletion and catches type errors during analysis. + + +```php +assert($value); + +// $valueString is type string here, it's called types narrowing + +``` + +Read more about [types narrowing](https://phpstan.org/writing-php-code/narrowing-types) + diff --git a/web/landing/content/examples/topics/types/assertions/enum/_meta.yaml b/web/landing/content/examples/topics/types/assertions/enum/_meta.yaml new file mode 100644 index 0000000000..ddab1b90f8 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/enum/_meta.yaml @@ -0,0 +1,2 @@ +priority: 70 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/enum/code.php b/web/landing/content/examples/topics/types/assertions/enum/code.php new file mode 100644 index 0000000000..3cb12780d1 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/enum/code.php @@ -0,0 +1,17 @@ +assert('active')->name . "\n"; +echo 'From enum: ' . type_enum(Status::class)->assert(Status::Pending)->name . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/enum/description.md b/web/landing/content/examples/topics/types/assertions/enum/description.md new file mode 100644 index 0000000000..54caac129c --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/enum/description.md @@ -0,0 +1 @@ +Assert PHP enum values from backing values or enum instances. Supports both string and integer backed enums. diff --git a/web/landing/content/examples/topics/types/assertions/enum/documentation.md b/web/landing/content/examples/topics/types/assertions/enum/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/enum/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/html/_meta.yaml b/web/landing/content/examples/topics/types/assertions/html/_meta.yaml new file mode 100644 index 0000000000..54f667665b --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/html/_meta.yaml @@ -0,0 +1,2 @@ +priority: 21 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/html/code.php b/web/landing/content/examples/topics/types/assertions/html/code.php new file mode 100644 index 0000000000..484f3f8355 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/html/code.php @@ -0,0 +1,11 @@ +

Hello World

'; + +echo 'Assert HTML: ' . type_html()->assert($html)->saveHTML(); diff --git a/web/landing/content/examples/topics/types/assertions/html/description.md b/web/landing/content/examples/topics/types/assertions/html/description.md new file mode 100644 index 0000000000..e55248f4fd --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/html/description.md @@ -0,0 +1 @@ +Assert HTML document from string. Converts to DOMDocument object for manipulation. diff --git a/web/landing/content/examples/topics/types/assertions/html/documentation.md b/web/landing/content/examples/topics/types/assertions/html/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/html/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/instance_of/_meta.yaml b/web/landing/content/examples/topics/types/assertions/instance_of/_meta.yaml new file mode 100644 index 0000000000..add5039326 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/instance_of/_meta.yaml @@ -0,0 +1,2 @@ +priority: 25 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/instance_of/code.php b/web/landing/content/examples/topics/types/assertions/instance_of/code.php new file mode 100644 index 0000000000..aadd7566b4 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/instance_of/code.php @@ -0,0 +1,12 @@ +assert($date)->format('Y-m-d') . "\n"; +echo 'Assert exact class: ' . type_instance_of(\DateTimeImmutable::class)->assert($date)->format('Y-m-d') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/instance_of/description.md b/web/landing/content/examples/topics/types/assertions/instance_of/description.md new file mode 100644 index 0000000000..e66c052468 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/instance_of/description.md @@ -0,0 +1 @@ +Assert object instances of a specific class or interface. Returns the object if it matches the expected type. diff --git a/web/landing/content/examples/topics/types/assertions/instance_of/documentation.md b/web/landing/content/examples/topics/types/assertions/instance_of/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/instance_of/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/intersection/_meta.yaml b/web/landing/content/examples/topics/types/assertions/intersection/_meta.yaml new file mode 100644 index 0000000000..83a4944c83 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/intersection/_meta.yaml @@ -0,0 +1,2 @@ +priority: 23 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/intersection/code.php b/web/landing/content/examples/topics/types/assertions/intersection/code.php new file mode 100644 index 0000000000..79918ee480 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/intersection/code.php @@ -0,0 +1,18 @@ +assert($collection)) . "\n"; +echo 'Count: ' . count($type->assert($collection)) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/intersection/description.md b/web/landing/content/examples/topics/types/assertions/intersection/description.md new file mode 100644 index 0000000000..52771833c2 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/intersection/description.md @@ -0,0 +1 @@ +Assert values matching all of multiple types (intersection). Value must satisfy every type in the intersection. diff --git a/web/landing/content/examples/topics/types/assertions/intersection/documentation.md b/web/landing/content/examples/topics/types/assertions/intersection/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/intersection/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/json/_meta.yaml b/web/landing/content/examples/topics/types/assertions/json/_meta.yaml new file mode 100644 index 0000000000..fc7a7207c4 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/json/_meta.yaml @@ -0,0 +1,2 @@ +priority: 30 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/json/code.php b/web/landing/content/examples/topics/types/assertions/json/code.php new file mode 100644 index 0000000000..aec625dff5 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/json/code.php @@ -0,0 +1,10 @@ +assert('{"user":"john","active":true}')->toString() . "\n"; +echo 'From array: ' . type_json()->assert(['product' => 'Widget', 'price' => 29.99])->toString() . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/json/description.md b/web/landing/content/examples/topics/types/assertions/json/description.md new file mode 100644 index 0000000000..96892347c3 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/json/description.md @@ -0,0 +1 @@ +Assert JSON data from strings or arrays. Converts to the Json value object for safe data access and manipulation. diff --git a/web/landing/content/examples/topics/types/assertions/json/documentation.md b/web/landing/content/examples/topics/types/assertions/json/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/json/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/list/_meta.yaml b/web/landing/content/examples/topics/types/assertions/list/_meta.yaml new file mode 100644 index 0000000000..ddab1b90f8 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/list/_meta.yaml @@ -0,0 +1,2 @@ +priority: 70 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/list/code.php b/web/landing/content/examples/topics/types/assertions/list/code.php new file mode 100644 index 0000000000..4527b0cb6d --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/list/code.php @@ -0,0 +1,11 @@ +assert([85, 90, 78, 92])) . "\n"; +echo 'String list: ' . json_encode(type_list(type_string())->assert(['Alice', 'Bob', 'Charlie'])) . "\n"; +echo 'Structure list: ' . json_encode(type_list(type_structure(['id' => type_integer(), 'name' => type_string()]))->assert([['id' => 1, 'name' => 'John'], ['id' => 2, 'name' => 'Jane']])) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/list/description.md b/web/landing/content/examples/topics/types/assertions/list/description.md new file mode 100644 index 0000000000..4a79b366bf --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/list/description.md @@ -0,0 +1 @@ +Assert typed lists with element validation. Validate arrays of integers, strings, or complex structures. diff --git a/web/landing/content/examples/topics/types/assertions/list/documentation.md b/web/landing/content/examples/topics/types/assertions/list/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/list/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/literal/_meta.yaml b/web/landing/content/examples/topics/types/assertions/literal/_meta.yaml new file mode 100644 index 0000000000..06d1ba6d9f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/literal/_meta.yaml @@ -0,0 +1,2 @@ +priority: 22 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/literal/code.php b/web/landing/content/examples/topics/types/assertions/literal/code.php new file mode 100644 index 0000000000..97c54a0898 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/literal/code.php @@ -0,0 +1,11 @@ +assert('active') . "\n"; +echo 'Assert literal int: ' . type_literal(42)->assert(42) . "\n"; +echo 'Assert literal bool: ' . (type_literal(true)->assert(true) ? 'true' : 'false') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/literal/description.md b/web/landing/content/examples/topics/types/assertions/literal/description.md new file mode 100644 index 0000000000..4ff8e3d149 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/literal/description.md @@ -0,0 +1 @@ +Assert exact literal values. Only accepts the specified exact value (string, int, float, or bool). diff --git a/web/landing/content/examples/topics/types/assertions/literal/documentation.md b/web/landing/content/examples/topics/types/assertions/literal/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/literal/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/map/_meta.yaml b/web/landing/content/examples/topics/types/assertions/map/_meta.yaml new file mode 100644 index 0000000000..5db0b6e775 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/map/_meta.yaml @@ -0,0 +1,2 @@ +priority: 60 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/map/code.php b/web/landing/content/examples/topics/types/assertions/map/code.php new file mode 100644 index 0000000000..6a120794b9 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/map/code.php @@ -0,0 +1,9 @@ +assert(['alice' => 100, 'bob' => 85])) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/map/description.md b/web/landing/content/examples/topics/types/assertions/map/description.md new file mode 100644 index 0000000000..928d9527e0 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/map/description.md @@ -0,0 +1 @@ +Assert typed maps with specific key and value types. Ensure dictionary-like structures have consistent types throughout. diff --git a/web/landing/content/examples/topics/types/assertions/map/documentation.md b/web/landing/content/examples/topics/types/assertions/map/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/map/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/mixed/_meta.yaml b/web/landing/content/examples/topics/types/assertions/mixed/_meta.yaml new file mode 100644 index 0000000000..fc7a7207c4 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/mixed/_meta.yaml @@ -0,0 +1,2 @@ +priority: 30 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/mixed/code.php b/web/landing/content/examples/topics/types/assertions/mixed/code.php new file mode 100644 index 0000000000..cfffe9b119 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/mixed/code.php @@ -0,0 +1,12 @@ +assert('hello') . "\n"; +echo 'Assert int: ' . type_mixed()->assert(42) . "\n"; +echo 'Assert null: ' . (type_mixed()->assert(null) === null ? 'null' : 'not null') . "\n"; +echo 'Assert array: ' . json_encode(type_mixed()->assert([1, 2, 3])) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/mixed/description.md b/web/landing/content/examples/topics/types/assertions/mixed/description.md new file mode 100644 index 0000000000..8e0116caf7 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/mixed/description.md @@ -0,0 +1 @@ +Assert any value (mixed type). Accepts any PHP value without restrictions - the most permissive type. diff --git a/web/landing/content/examples/topics/types/assertions/mixed/documentation.md b/web/landing/content/examples/topics/types/assertions/mixed/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/mixed/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/object/_meta.yaml b/web/landing/content/examples/topics/types/assertions/object/_meta.yaml new file mode 100644 index 0000000000..ae46e2570d --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/object/_meta.yaml @@ -0,0 +1,2 @@ +priority: 27 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/object/code.php b/web/landing/content/examples/topics/types/assertions/object/code.php new file mode 100644 index 0000000000..d953c31640 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/object/code.php @@ -0,0 +1,14 @@ +name = 'test'; + +echo 'Assert object: ' . get_class(type_object()->assert($obj)) . "\n"; +echo 'Property: ' . type_object()->assert($obj)->name . "\n"; +echo 'Assert datetime: ' . get_class(type_object()->assert(new \DateTimeImmutable())) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/object/description.md b/web/landing/content/examples/topics/types/assertions/object/description.md new file mode 100644 index 0000000000..c35c6d33fc --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/object/description.md @@ -0,0 +1 @@ +Assert any object instance. Returns the value if it is an object of any class. diff --git a/web/landing/content/examples/topics/types/assertions/object/documentation.md b/web/landing/content/examples/topics/types/assertions/object/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/object/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/optional/_meta.yaml b/web/landing/content/examples/topics/types/assertions/optional/_meta.yaml new file mode 100644 index 0000000000..8d81793b66 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/optional/_meta.yaml @@ -0,0 +1,2 @@ +priority: 50 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/optional/code.php b/web/landing/content/examples/topics/types/assertions/optional/code.php new file mode 100644 index 0000000000..99d8f9ba42 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/optional/code.php @@ -0,0 +1,10 @@ +assert(null) ?? 'No value') . "\n"; +echo 'String: ' . (type_optional(type_string())->assert('CoolUser123') ?? 'No value') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/optional/description.md b/web/landing/content/examples/topics/types/assertions/optional/description.md new file mode 100644 index 0000000000..4ff1f48b56 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/optional/description.md @@ -0,0 +1 @@ +Assert optional (nullable) types. Accept the base type or null for fields that may not have a value. diff --git a/web/landing/content/examples/topics/types/assertions/optional/documentation.md b/web/landing/content/examples/topics/types/assertions/optional/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/optional/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/resource/_meta.yaml b/web/landing/content/examples/topics/types/assertions/resource/_meta.yaml new file mode 100644 index 0000000000..681f4085a9 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/resource/_meta.yaml @@ -0,0 +1,2 @@ +priority: 28 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/resource/code.php b/web/landing/content/examples/topics/types/assertions/resource/code.php new file mode 100644 index 0000000000..d95a7e7e32 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/resource/code.php @@ -0,0 +1,15 @@ +assert($handle); + +echo 'Assert resource: ' . get_resource_type($result) . "\n"; +echo 'Is resource: ' . (is_resource($result) ? 'yes' : 'no') . "\n"; + +fclose($handle); diff --git a/web/landing/content/examples/topics/types/assertions/resource/description.md b/web/landing/content/examples/topics/types/assertions/resource/description.md new file mode 100644 index 0000000000..288876331e --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/resource/description.md @@ -0,0 +1 @@ +Assert PHP resource values. Returns the value if it is a valid resource (file handle, stream, etc.). diff --git a/web/landing/content/examples/topics/types/assertions/resource/documentation.md b/web/landing/content/examples/topics/types/assertions/resource/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/resource/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/scalar/_meta.yaml b/web/landing/content/examples/topics/types/assertions/scalar/_meta.yaml new file mode 100644 index 0000000000..76b24de0b7 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/scalar/_meta.yaml @@ -0,0 +1,2 @@ +priority: 5 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/scalar/code.php b/web/landing/content/examples/topics/types/assertions/scalar/code.php new file mode 100644 index 0000000000..593e1c7af4 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/scalar/code.php @@ -0,0 +1,12 @@ +assert(42) . "\n"; +echo 'Assert float: ' . type_scalar()->assert(3.14) . "\n"; +echo 'Assert string: ' . type_scalar()->assert('hello') . "\n"; +echo 'Assert boolean: ' . (type_scalar()->assert(true) ? 'true' : 'false') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/scalar/description.md b/web/landing/content/examples/topics/types/assertions/scalar/description.md new file mode 100644 index 0000000000..158fdf2157 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/scalar/description.md @@ -0,0 +1 @@ +Assert scalar values (int, float, string, bool). Accepts any primitive scalar type and returns the value unchanged. diff --git a/web/landing/content/examples/topics/types/assertions/scalar/documentation.md b/web/landing/content/examples/topics/types/assertions/scalar/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/scalar/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/structure/_meta.yaml b/web/landing/content/examples/topics/types/assertions/structure/_meta.yaml new file mode 100644 index 0000000000..a3182840b6 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/structure/_meta.yaml @@ -0,0 +1,2 @@ +priority: 80 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/structure/code.php b/web/landing/content/examples/topics/types/assertions/structure/code.php new file mode 100644 index 0000000000..8786ddf6ba --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/structure/code.php @@ -0,0 +1,10 @@ + type_integer(), 'name' => type_string(), 'active' => type_boolean()])->assert(['id' => 1, 'name' => 'John Doe', 'active' => true])) . "\n"; +echo 'With optional: ' . json_encode(type_structure(['id' => type_integer(), 'name' => type_string()], ['description' => type_string()])->assert(['id' => 100, 'name' => 'Widget'])) . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/structure/description.md b/web/landing/content/examples/topics/types/assertions/structure/description.md new file mode 100644 index 0000000000..4b235f00b1 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/structure/description.md @@ -0,0 +1,4 @@ +For PHPStan integration, Flow-PHP includes a [StructureTypeReturnTypeExtension](https://github.com/flow-php/flow/tree/1.x/src/lib/types/src/Flow/Types/PHPStan) +that helps resolve structure types at analysis time. + +Assert array shapes with typed fields. Define required and optional keys with specific types for each field. diff --git a/web/landing/content/examples/topics/types/assertions/structure/documentation.md b/web/landing/content/examples/topics/types/assertions/structure/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/structure/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/time/_meta.yaml b/web/landing/content/examples/topics/types/assertions/time/_meta.yaml new file mode 100644 index 0000000000..a1d79141df --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time/_meta.yaml @@ -0,0 +1,2 @@ +priority: 12 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/time/code.php b/web/landing/content/examples/topics/types/assertions/time/code.php new file mode 100644 index 0000000000..04ab7611a0 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time/code.php @@ -0,0 +1,10 @@ +assert('14:30:00')->format('H:i:s') . "\n"; +echo 'From short time: ' . type_time()->assert('09:15')->format('H:i:s') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/time/description.md b/web/landing/content/examples/topics/types/assertions/time/description.md new file mode 100644 index 0000000000..47b215ed80 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time/description.md @@ -0,0 +1 @@ +Assert time values from time strings. Converts to DateTimeImmutable representing the time portion only. diff --git a/web/landing/content/examples/topics/types/assertions/time/documentation.md b/web/landing/content/examples/topics/types/assertions/time/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/time_zone/_meta.yaml b/web/landing/content/examples/topics/types/assertions/time_zone/_meta.yaml new file mode 100644 index 0000000000..5c128501ed --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time_zone/_meta.yaml @@ -0,0 +1,2 @@ +priority: 13 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/time_zone/code.php b/web/landing/content/examples/topics/types/assertions/time_zone/code.php new file mode 100644 index 0000000000..9e1360a1e6 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time_zone/code.php @@ -0,0 +1,10 @@ +assert('Europe/Warsaw')->getName() . "\n"; +echo 'From UTC: ' . type_time_zone()->assert('UTC')->getName() . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/time_zone/description.md b/web/landing/content/examples/topics/types/assertions/time_zone/description.md new file mode 100644 index 0000000000..109a54c4c9 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time_zone/description.md @@ -0,0 +1 @@ +Assert timezone values from timezone identifier strings. Converts to DateTimeZone object. diff --git a/web/landing/content/examples/topics/types/assertions/time_zone/documentation.md b/web/landing/content/examples/topics/types/assertions/time_zone/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/time_zone/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/union/_meta.yaml b/web/landing/content/examples/topics/types/assertions/union/_meta.yaml new file mode 100644 index 0000000000..363d58f0f5 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/union/_meta.yaml @@ -0,0 +1,2 @@ +priority: 40 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/union/code.php b/web/landing/content/examples/topics/types/assertions/union/code.php new file mode 100644 index 0000000000..d8c6cf9d3a --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/union/code.php @@ -0,0 +1,10 @@ +assert(42) . "\n"; +echo 'String: ' . type_union(type_string(), type_integer())->assert('ABC-123') . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/union/description.md b/web/landing/content/examples/topics/types/assertions/union/description.md new file mode 100644 index 0000000000..7172267784 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/union/description.md @@ -0,0 +1 @@ +Assert union types combining multiple types. Accept values matching any of the specified types for flexible type contracts. diff --git a/web/landing/content/examples/topics/types/assertions/union/documentation.md b/web/landing/content/examples/topics/types/assertions/union/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/union/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/uuid/_meta.yaml b/web/landing/content/examples/topics/types/assertions/uuid/_meta.yaml new file mode 100644 index 0000000000..1ec56097eb --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/uuid/_meta.yaml @@ -0,0 +1,2 @@ +priority: 20 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/uuid/code.php b/web/landing/content/examples/topics/types/assertions/uuid/code.php new file mode 100644 index 0000000000..532bff8109 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/uuid/code.php @@ -0,0 +1,10 @@ +assert('550e8400-e29b-41d4-a716-446655440000')->toString() . "\n"; +echo 'Uppercase: ' . type_uuid()->assert('550E8400-E29B-41D4-A716-446655440000')->toString() . "\n"; diff --git a/web/landing/content/examples/topics/types/assertions/uuid/description.md b/web/landing/content/examples/topics/types/assertions/uuid/description.md new file mode 100644 index 0000000000..b5b8c0a384 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/uuid/description.md @@ -0,0 +1 @@ +Assert UUID strings and convert to the Uuid value object. Validates RFC 4122 format and provides safe UUID handling. diff --git a/web/landing/content/examples/topics/types/assertions/uuid/documentation.md b/web/landing/content/examples/topics/types/assertions/uuid/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/uuid/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/assertions/xml/_meta.yaml b/web/landing/content/examples/topics/types/assertions/xml/_meta.yaml new file mode 100644 index 0000000000..1ec56097eb --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/xml/_meta.yaml @@ -0,0 +1,2 @@ +priority: 20 +hidden: false diff --git a/web/landing/content/examples/topics/types/assertions/xml/code.php b/web/landing/content/examples/topics/types/assertions/xml/code.php new file mode 100644 index 0000000000..fcaa1cbf02 --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/xml/code.php @@ -0,0 +1,11 @@ +value'; + +echo 'Assert XML: ' . type_xml()->assert($xml)->saveXML(); diff --git a/web/landing/content/examples/topics/types/assertions/xml/description.md b/web/landing/content/examples/topics/types/assertions/xml/description.md new file mode 100644 index 0000000000..0e9c41e23a --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/xml/description.md @@ -0,0 +1 @@ +Assert XML document from string. Converts to DOMDocument object for manipulation. diff --git a/web/landing/content/examples/topics/types/assertions/xml/documentation.md b/web/landing/content/examples/topics/types/assertions/xml/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/assertions/xml/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/_meta.yaml b/web/landing/content/examples/topics/types/casting/_meta.yaml new file mode 100644 index 0000000000..372963400e --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/_meta.yaml @@ -0,0 +1,2 @@ +priority: 2 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/array/_meta.yaml b/web/landing/content/examples/topics/types/casting/array/_meta.yaml new file mode 100644 index 0000000000..df67d6f773 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/array/_meta.yaml @@ -0,0 +1,2 @@ +priority: 29 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/array/code.php b/web/landing/content/examples/topics/types/casting/array/code.php new file mode 100644 index 0000000000..968aecc1a9 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/array/code.php @@ -0,0 +1,11 @@ +cast([1, 2, 3])) . "\n"; +echo 'Cast associative array: ' . json_encode(type_array()->cast(['a' => 1, 'b' => 2])) . "\n"; +echo 'Cast empty array: ' . json_encode(type_array()->cast([])) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/array/description.md b/web/landing/content/examples/topics/types/casting/array/description.md new file mode 100644 index 0000000000..48ec1c4e5f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/array/description.md @@ -0,0 +1 @@ +Cast generic array values. Returns arrays unchanged. diff --git a/web/landing/content/examples/topics/types/casting/array/documentation.md b/web/landing/content/examples/topics/types/casting/array/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/array/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/boolean/_meta.yaml b/web/landing/content/examples/topics/types/casting/boolean/_meta.yaml new file mode 100644 index 0000000000..363d58f0f5 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/boolean/_meta.yaml @@ -0,0 +1,2 @@ +priority: 40 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/boolean/code.php b/web/landing/content/examples/topics/types/casting/boolean/code.php new file mode 100644 index 0000000000..eee4ba8224 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/boolean/code.php @@ -0,0 +1,14 @@ +cast('yes') ? 'true' : 'false') . "\n"; +echo 'Cast "no": ' . (type_boolean()->cast('no') ? 'true' : 'false') . "\n"; +echo 'Cast "1": ' . (type_boolean()->cast('1') ? 'true' : 'false') . "\n"; +echo 'Cast "0": ' . (type_boolean()->cast('0') ? 'true' : 'false') . "\n"; +echo 'Cast 1: ' . (type_boolean()->cast(1) ? 'true' : 'false') . "\n"; +echo 'Cast 0: ' . (type_boolean()->cast(0) ? 'true' : 'false') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/boolean/description.md b/web/landing/content/examples/topics/types/casting/boolean/description.md new file mode 100644 index 0000000000..611a800c86 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/boolean/description.md @@ -0,0 +1 @@ +Cast various boolean representations to native bool. Supports "yes"/"no", "true"/"false", "1"/"0" and integer values. diff --git a/web/landing/content/examples/topics/types/casting/boolean/documentation.md b/web/landing/content/examples/topics/types/casting/boolean/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/boolean/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/callable/_meta.yaml b/web/landing/content/examples/topics/types/casting/callable/_meta.yaml new file mode 100644 index 0000000000..8178f87197 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/callable/_meta.yaml @@ -0,0 +1,2 @@ +priority: 26 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/callable/code.php b/web/landing/content/examples/topics/types/casting/callable/code.php new file mode 100644 index 0000000000..b07f53b98c --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/callable/code.php @@ -0,0 +1,14 @@ + $x * 2; +$result = type_callable()->cast($callback); + +echo 'Cast closure: ' . (is_callable($result) ? 'callable' : 'not callable') . "\n"; +echo 'Call result: ' . $result(5) . "\n"; +echo 'Cast built-in: ' . (is_callable(type_callable()->cast('strtoupper')) ? 'callable' : 'not callable') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/callable/description.md b/web/landing/content/examples/topics/types/casting/callable/description.md new file mode 100644 index 0000000000..143731fd26 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/callable/description.md @@ -0,0 +1 @@ +Cast callable values. Returns closures, function names, and invokable objects unchanged. diff --git a/web/landing/content/examples/topics/types/casting/callable/documentation.md b/web/landing/content/examples/topics/types/casting/callable/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/callable/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/class_string/_meta.yaml b/web/landing/content/examples/topics/types/casting/class_string/_meta.yaml new file mode 100644 index 0000000000..765d46263b --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/class_string/_meta.yaml @@ -0,0 +1,2 @@ +priority: 24 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/class_string/code.php b/web/landing/content/examples/topics/types/casting/class_string/code.php new file mode 100644 index 0000000000..d3000154a8 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/class_string/code.php @@ -0,0 +1,10 @@ +cast(\DateTimeImmutable::class) . "\n"; +echo 'Cast with parent: ' . type_class_string(\DateTimeInterface::class)->cast(\DateTimeImmutable::class) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/class_string/description.md b/web/landing/content/examples/topics/types/casting/class_string/description.md new file mode 100644 index 0000000000..8d7eac5983 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/class_string/description.md @@ -0,0 +1 @@ +Cast class-string values. Returns the class name if valid. diff --git a/web/landing/content/examples/topics/types/casting/class_string/documentation.md b/web/landing/content/examples/topics/types/casting/class_string/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/class_string/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/constrained/_meta.yaml b/web/landing/content/examples/topics/types/casting/constrained/_meta.yaml new file mode 100644 index 0000000000..5db0b6e775 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/constrained/_meta.yaml @@ -0,0 +1,2 @@ +priority: 60 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/constrained/code.php b/web/landing/content/examples/topics/types/casting/constrained/code.php new file mode 100644 index 0000000000..95311591b2 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/constrained/code.php @@ -0,0 +1,12 @@ +cast('10') . "\n"; +echo 'Cast "hello" to non-empty: ' . type_non_empty_string()->cast('hello') . "\n"; +echo 'Cast 123 to numeric string: ' . type_numeric_string()->cast(123) . "\n"; +echo 'Cast 45.67 to numeric string: ' . type_numeric_string()->cast(45.67) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/constrained/description.md b/web/landing/content/examples/topics/types/casting/constrained/description.md new file mode 100644 index 0000000000..6d4440806a --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/constrained/description.md @@ -0,0 +1 @@ +Cast to constrained types with validation. Convert to positive integers, non-empty strings, and numeric strings safely. diff --git a/web/landing/content/examples/topics/types/casting/constrained/documentation.md b/web/landing/content/examples/topics/types/casting/constrained/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/constrained/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/date/_meta.yaml b/web/landing/content/examples/topics/types/casting/date/_meta.yaml new file mode 100644 index 0000000000..54474545b3 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/date/_meta.yaml @@ -0,0 +1,2 @@ +priority: 11 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/date/code.php b/web/landing/content/examples/topics/types/casting/date/code.php new file mode 100644 index 0000000000..d48b058fdb --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/date/code.php @@ -0,0 +1,10 @@ +cast('2024-06-15')->format('Y-m-d') . "\n"; +echo 'From datetime string: ' . type_date()->cast('2024-12-25 10:30:00')->format('Y-m-d') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/date/description.md b/web/landing/content/examples/topics/types/casting/date/description.md new file mode 100644 index 0000000000..52522035cf --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/date/description.md @@ -0,0 +1 @@ +Cast date values from strings. Converts to DateTimeImmutable representing the date. diff --git a/web/landing/content/examples/topics/types/casting/date/documentation.md b/web/landing/content/examples/topics/types/casting/date/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/date/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/datetime/_meta.yaml b/web/landing/content/examples/topics/types/casting/datetime/_meta.yaml new file mode 100644 index 0000000000..066e3e5a89 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/datetime/_meta.yaml @@ -0,0 +1,2 @@ +priority: 10 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/datetime/code.php b/web/landing/content/examples/topics/types/casting/datetime/code.php new file mode 100644 index 0000000000..4619d21d70 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/datetime/code.php @@ -0,0 +1,11 @@ +cast('2024-06-15')->format('Y-m-d') . "\n"; +echo 'From datetime string: ' . type_datetime()->cast('2024-12-25 10:30:00')->format('Y-m-d H:i:s') . "\n"; +echo 'From timestamp: ' . type_datetime()->cast(1704067200)->format('Y-m-d H:i:s') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/datetime/description.md b/web/landing/content/examples/topics/types/casting/datetime/description.md new file mode 100644 index 0000000000..4cbce0b41f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/datetime/description.md @@ -0,0 +1 @@ +Cast various date formats to DateTimeImmutable. Supports ISO strings, Unix timestamps, and relative expressions like "tomorrow". diff --git a/web/landing/content/examples/topics/types/casting/datetime/documentation.md b/web/landing/content/examples/topics/types/casting/datetime/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/datetime/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/description.md b/web/landing/content/examples/topics/types/casting/description.md new file mode 100644 index 0000000000..70769e6c88 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/description.md @@ -0,0 +1,5 @@ +Type casting converts values from one type to another. The `cast()` method transforms the input value into the target +type, throwing `InvalidArgumentException` if conversion is impossible. Unlike assertions which validate existing types, +casting actively transforms values (e.g., string `"123"` becomes integer `123`, or `"yes"` becomes boolean `true`). + +Casting is ideal for normalizing data from external sources like CSV files, API responses, or user input. diff --git a/web/landing/content/examples/topics/types/casting/enum/_meta.yaml b/web/landing/content/examples/topics/types/casting/enum/_meta.yaml new file mode 100644 index 0000000000..8d81793b66 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/enum/_meta.yaml @@ -0,0 +1,2 @@ +priority: 50 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/enum/code.php b/web/landing/content/examples/topics/types/casting/enum/code.php new file mode 100644 index 0000000000..e12b6b287c --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/enum/code.php @@ -0,0 +1,18 @@ +cast('pending')->name . "\n"; +echo 'Cast "completed": ' . type_enum(Status::class)->cast('completed')->name . "\n"; +echo 'Pass through: ' . type_enum(Status::class)->cast(Status::Active)->name . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/enum/description.md b/web/landing/content/examples/topics/types/casting/enum/description.md new file mode 100644 index 0000000000..3b7cd0cbc7 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/enum/description.md @@ -0,0 +1 @@ +Cast backing values to PHP enum instances. Supports both string and integer backed enums with automatic conversion. diff --git a/web/landing/content/examples/topics/types/casting/enum/documentation.md b/web/landing/content/examples/topics/types/casting/enum/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/enum/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/html/_meta.yaml b/web/landing/content/examples/topics/types/casting/html/_meta.yaml new file mode 100644 index 0000000000..54f667665b --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/html/_meta.yaml @@ -0,0 +1,2 @@ +priority: 21 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/html/code.php b/web/landing/content/examples/topics/types/casting/html/code.php new file mode 100644 index 0000000000..425c4ae6c2 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/html/code.php @@ -0,0 +1,11 @@ +

Hello World

'; + +echo 'Cast HTML: ' . type_html()->cast($html)->saveHTML(); diff --git a/web/landing/content/examples/topics/types/casting/html/description.md b/web/landing/content/examples/topics/types/casting/html/description.md new file mode 100644 index 0000000000..ea53ceef06 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/html/description.md @@ -0,0 +1 @@ +Cast HTML strings to DOMDocument. Parses and returns a DOMDocument object. diff --git a/web/landing/content/examples/topics/types/casting/html/documentation.md b/web/landing/content/examples/topics/types/casting/html/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/html/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/instance_of/_meta.yaml b/web/landing/content/examples/topics/types/casting/instance_of/_meta.yaml new file mode 100644 index 0000000000..add5039326 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/instance_of/_meta.yaml @@ -0,0 +1,2 @@ +priority: 25 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/instance_of/code.php b/web/landing/content/examples/topics/types/casting/instance_of/code.php new file mode 100644 index 0000000000..e817b92f55 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/instance_of/code.php @@ -0,0 +1,12 @@ +cast($date)->format('Y-m-d') . "\n"; +echo 'Cast exact class: ' . type_instance_of(\DateTimeImmutable::class)->cast($date)->format('Y-m-d') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/instance_of/description.md b/web/landing/content/examples/topics/types/casting/instance_of/description.md new file mode 100644 index 0000000000..38cfdba30f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/instance_of/description.md @@ -0,0 +1 @@ +Cast object instances of a specific class. Returns the object if it matches the type. diff --git a/web/landing/content/examples/topics/types/casting/instance_of/documentation.md b/web/landing/content/examples/topics/types/casting/instance_of/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/instance_of/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/intersection/_meta.yaml b/web/landing/content/examples/topics/types/casting/intersection/_meta.yaml new file mode 100644 index 0000000000..83a4944c83 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/intersection/_meta.yaml @@ -0,0 +1,2 @@ +priority: 23 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/intersection/code.php b/web/landing/content/examples/topics/types/casting/intersection/code.php new file mode 100644 index 0000000000..dcc67ea3ab --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/intersection/code.php @@ -0,0 +1,18 @@ +cast($collection)) . "\n"; +echo 'Count: ' . count($type->cast($collection)) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/intersection/description.md b/web/landing/content/examples/topics/types/casting/intersection/description.md new file mode 100644 index 0000000000..4418c53c7f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/intersection/description.md @@ -0,0 +1 @@ +Cast values matching all types in an intersection. Returns value if it satisfies all types. diff --git a/web/landing/content/examples/topics/types/casting/intersection/documentation.md b/web/landing/content/examples/topics/types/casting/intersection/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/intersection/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/json/_meta.yaml b/web/landing/content/examples/topics/types/casting/json/_meta.yaml new file mode 100644 index 0000000000..fc7a7207c4 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/json/_meta.yaml @@ -0,0 +1,2 @@ +priority: 30 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/json/code.php b/web/landing/content/examples/topics/types/casting/json/code.php new file mode 100644 index 0000000000..43393b2ea4 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/json/code.php @@ -0,0 +1,11 @@ +cast(['id' => 1, 'name' => 'Alice'])->toString() . "\n"; +echo 'From string: ' . type_json()->cast('{"product":"Widget"}')->toString() . "\n"; +echo 'Access data: ' . type_json()->cast('{"price":29.99}')->data()['price'] . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/json/description.md b/web/landing/content/examples/topics/types/casting/json/description.md new file mode 100644 index 0000000000..76464e4a86 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/json/description.md @@ -0,0 +1 @@ +Cast arrays and JSON strings to the Json value object. Access data safely through the structured interface. diff --git a/web/landing/content/examples/topics/types/casting/json/documentation.md b/web/landing/content/examples/topics/types/casting/json/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/json/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/list/_meta.yaml b/web/landing/content/examples/topics/types/casting/list/_meta.yaml new file mode 100644 index 0000000000..ddab1b90f8 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/list/_meta.yaml @@ -0,0 +1,2 @@ +priority: 70 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/list/code.php b/web/landing/content/examples/topics/types/casting/list/code.php new file mode 100644 index 0000000000..1719f10d1a --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/list/code.php @@ -0,0 +1,10 @@ +cast(['1', '2', '3'])) . "\n"; +echo 'Ints to strings: ' . json_encode(type_list(type_string())->cast([10, 20, 30])) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/list/description.md b/web/landing/content/examples/topics/types/casting/list/description.md new file mode 100644 index 0000000000..1b9872b011 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/list/description.md @@ -0,0 +1 @@ +Cast list elements between types. Convert arrays of strings to integers or vice versa with automatic element casting. diff --git a/web/landing/content/examples/topics/types/casting/list/documentation.md b/web/landing/content/examples/topics/types/casting/list/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/list/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/literal/_meta.yaml b/web/landing/content/examples/topics/types/casting/literal/_meta.yaml new file mode 100644 index 0000000000..06d1ba6d9f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/literal/_meta.yaml @@ -0,0 +1,2 @@ +priority: 22 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/literal/code.php b/web/landing/content/examples/topics/types/casting/literal/code.php new file mode 100644 index 0000000000..ddec985493 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/literal/code.php @@ -0,0 +1,11 @@ +cast('active') . "\n"; +echo 'Cast literal int: ' . type_literal(42)->cast(42) . "\n"; +echo 'Cast literal bool: ' . (type_literal(true)->cast(true) ? 'true' : 'false') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/literal/description.md b/web/landing/content/examples/topics/types/casting/literal/description.md new file mode 100644 index 0000000000..4a5e6a27da --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/literal/description.md @@ -0,0 +1 @@ +Cast exact literal values. Returns the value if it matches the literal exactly. diff --git a/web/landing/content/examples/topics/types/casting/literal/documentation.md b/web/landing/content/examples/topics/types/casting/literal/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/literal/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/map/_meta.yaml b/web/landing/content/examples/topics/types/casting/map/_meta.yaml new file mode 100644 index 0000000000..177f368d9d --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/map/_meta.yaml @@ -0,0 +1,2 @@ +priority: 8 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/map/code.php b/web/landing/content/examples/topics/types/casting/map/code.php new file mode 100644 index 0000000000..b9389b5405 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/map/code.php @@ -0,0 +1,14 @@ +cast(['a' => '1', 'b' => '2'])) . "\n"; +echo 'Cast from array: ' . json_encode($type->cast(['x' => 10, 'y' => 20])) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/map/description.md b/web/landing/content/examples/topics/types/casting/map/description.md new file mode 100644 index 0000000000..a4e8f0b2a6 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/map/description.md @@ -0,0 +1 @@ +Cast map values with typed keys and values. Converts array to map with specified key and value types. diff --git a/web/landing/content/examples/topics/types/casting/map/documentation.md b/web/landing/content/examples/topics/types/casting/map/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/map/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/mixed/_meta.yaml b/web/landing/content/examples/topics/types/casting/mixed/_meta.yaml new file mode 100644 index 0000000000..fc7a7207c4 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/mixed/_meta.yaml @@ -0,0 +1,2 @@ +priority: 30 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/mixed/code.php b/web/landing/content/examples/topics/types/casting/mixed/code.php new file mode 100644 index 0000000000..8c07764c30 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/mixed/code.php @@ -0,0 +1,12 @@ +cast('hello') . "\n"; +echo 'Cast int: ' . type_mixed()->cast(42) . "\n"; +echo 'Cast null: ' . (type_mixed()->cast(null) === null ? 'null' : 'not null') . "\n"; +echo 'Cast array: ' . json_encode(type_mixed()->cast([1, 2, 3])) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/mixed/description.md b/web/landing/content/examples/topics/types/casting/mixed/description.md new file mode 100644 index 0000000000..2f429f5104 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/mixed/description.md @@ -0,0 +1 @@ +Cast any value (mixed type). Returns any PHP value unchanged. diff --git a/web/landing/content/examples/topics/types/casting/mixed/documentation.md b/web/landing/content/examples/topics/types/casting/mixed/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/mixed/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/object/_meta.yaml b/web/landing/content/examples/topics/types/casting/object/_meta.yaml new file mode 100644 index 0000000000..ae46e2570d --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/object/_meta.yaml @@ -0,0 +1,2 @@ +priority: 27 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/object/code.php b/web/landing/content/examples/topics/types/casting/object/code.php new file mode 100644 index 0000000000..03135279a4 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/object/code.php @@ -0,0 +1,14 @@ +name = 'test'; + +echo 'Cast object: ' . get_class(type_object()->cast($obj)) . "\n"; +echo 'Property: ' . type_object()->cast($obj)->name . "\n"; +echo 'Cast datetime: ' . get_class(type_object()->cast(new \DateTimeImmutable())) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/object/description.md b/web/landing/content/examples/topics/types/casting/object/description.md new file mode 100644 index 0000000000..1f2891d483 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/object/description.md @@ -0,0 +1 @@ +Cast any object instance. Returns objects unchanged. diff --git a/web/landing/content/examples/topics/types/casting/object/documentation.md b/web/landing/content/examples/topics/types/casting/object/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/object/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/optional/_meta.yaml b/web/landing/content/examples/topics/types/casting/optional/_meta.yaml new file mode 100644 index 0000000000..3c24b8b7fa --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/optional/_meta.yaml @@ -0,0 +1,2 @@ +priority: 9 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/optional/code.php b/web/landing/content/examples/topics/types/casting/optional/code.php new file mode 100644 index 0000000000..dc19cdb465 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/optional/code.php @@ -0,0 +1,14 @@ +cast('42') ?? 'null') . "\n"; +echo 'Cast null: ' . ($type->cast(null) ?? 'null') . "\n"; +echo 'Cast integer: ' . ($type->cast(100) ?? 'null') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/optional/description.md b/web/landing/content/examples/topics/types/casting/optional/description.md new file mode 100644 index 0000000000..3dbe169ef9 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/optional/description.md @@ -0,0 +1 @@ +Cast optional (nullable) values. Casts to inner type or returns null for null input. diff --git a/web/landing/content/examples/topics/types/casting/optional/documentation.md b/web/landing/content/examples/topics/types/casting/optional/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/optional/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/resource/_meta.yaml b/web/landing/content/examples/topics/types/casting/resource/_meta.yaml new file mode 100644 index 0000000000..681f4085a9 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/resource/_meta.yaml @@ -0,0 +1,2 @@ +priority: 28 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/resource/code.php b/web/landing/content/examples/topics/types/casting/resource/code.php new file mode 100644 index 0000000000..a653ae1570 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/resource/code.php @@ -0,0 +1,15 @@ +cast($handle); + +echo 'Cast resource: ' . get_resource_type($result) . "\n"; +echo 'Is resource: ' . (is_resource($result) ? 'yes' : 'no') . "\n"; + +fclose($handle); diff --git a/web/landing/content/examples/topics/types/casting/resource/description.md b/web/landing/content/examples/topics/types/casting/resource/description.md new file mode 100644 index 0000000000..e6ab11d294 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/resource/description.md @@ -0,0 +1 @@ +Cast PHP resource values. Returns resources unchanged if valid. diff --git a/web/landing/content/examples/topics/types/casting/resource/documentation.md b/web/landing/content/examples/topics/types/casting/resource/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/resource/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/scalar/_meta.yaml b/web/landing/content/examples/topics/types/casting/scalar/_meta.yaml new file mode 100644 index 0000000000..76b24de0b7 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/scalar/_meta.yaml @@ -0,0 +1,2 @@ +priority: 5 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/scalar/code.php b/web/landing/content/examples/topics/types/casting/scalar/code.php new file mode 100644 index 0000000000..69986bd10e --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/scalar/code.php @@ -0,0 +1,12 @@ +cast(42) . "\n"; +echo 'Cast float: ' . type_scalar()->cast(3.14) . "\n"; +echo 'Cast string: ' . type_scalar()->cast('hello') . "\n"; +echo 'Cast boolean: ' . (type_scalar()->cast(true) ? 'true' : 'false') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/scalar/description.md b/web/landing/content/examples/topics/types/casting/scalar/description.md new file mode 100644 index 0000000000..1364335f27 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/scalar/description.md @@ -0,0 +1 @@ +Cast scalar values (int, float, string, bool). Returns scalar values unchanged. diff --git a/web/landing/content/examples/topics/types/casting/scalar/documentation.md b/web/landing/content/examples/topics/types/casting/scalar/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/scalar/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/structure/_meta.yaml b/web/landing/content/examples/topics/types/casting/structure/_meta.yaml new file mode 100644 index 0000000000..a3182840b6 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/structure/_meta.yaml @@ -0,0 +1,2 @@ +priority: 80 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/structure/code.php b/web/landing/content/examples/topics/types/casting/structure/code.php new file mode 100644 index 0000000000..1f7759cc00 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/structure/code.php @@ -0,0 +1,13 @@ + type_integer(), 'score' => type_integer(), 'active' => type_boolean()])->cast(['id' => '42', 'score' => '95', 'active' => '1']); + +echo 'Cast result: ' . json_encode($result) . "\n"; +echo 'ID type: ' . gettype($result['id']) . "\n"; +echo 'Active type: ' . gettype($result['active']) . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/structure/description.md b/web/landing/content/examples/topics/types/casting/structure/description.md new file mode 100644 index 0000000000..1d9daa2ea3 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/structure/description.md @@ -0,0 +1 @@ +Cast structure fields to their defined types. Convert string form data to proper integers, booleans, and nested structures. diff --git a/web/landing/content/examples/topics/types/casting/structure/documentation.md b/web/landing/content/examples/topics/types/casting/structure/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/structure/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/time/_meta.yaml b/web/landing/content/examples/topics/types/casting/time/_meta.yaml new file mode 100644 index 0000000000..a1d79141df --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time/_meta.yaml @@ -0,0 +1,2 @@ +priority: 12 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/time/code.php b/web/landing/content/examples/topics/types/casting/time/code.php new file mode 100644 index 0000000000..f73ad0568b --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time/code.php @@ -0,0 +1,10 @@ +cast('14:30:00')->format('H:i:s') . "\n"; +echo 'From short time: ' . type_time()->cast('09:15')->format('H:i:s') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/time/description.md b/web/landing/content/examples/topics/types/casting/time/description.md new file mode 100644 index 0000000000..cb036662fa --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time/description.md @@ -0,0 +1 @@ +Cast time values from strings. Converts to DateTimeImmutable representing the time. diff --git a/web/landing/content/examples/topics/types/casting/time/documentation.md b/web/landing/content/examples/topics/types/casting/time/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/time_zone/_meta.yaml b/web/landing/content/examples/topics/types/casting/time_zone/_meta.yaml new file mode 100644 index 0000000000..5c128501ed --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time_zone/_meta.yaml @@ -0,0 +1,2 @@ +priority: 13 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/time_zone/code.php b/web/landing/content/examples/topics/types/casting/time_zone/code.php new file mode 100644 index 0000000000..a0162d8267 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time_zone/code.php @@ -0,0 +1,11 @@ +cast('Europe/Warsaw')->getName() . "\n"; +echo 'From UTC: ' . type_time_zone()->cast('UTC')->getName() . "\n"; +echo 'From America: ' . type_time_zone()->cast('America/New_York')->getName() . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/time_zone/description.md b/web/landing/content/examples/topics/types/casting/time_zone/description.md new file mode 100644 index 0000000000..3ae5bf71cf --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time_zone/description.md @@ -0,0 +1 @@ +Cast timezone values from strings. Converts to DateTimeZone object. diff --git a/web/landing/content/examples/topics/types/casting/time_zone/documentation.md b/web/landing/content/examples/topics/types/casting/time_zone/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/time_zone/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/union/_meta.yaml b/web/landing/content/examples/topics/types/casting/union/_meta.yaml new file mode 100644 index 0000000000..066e3e5a89 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/union/_meta.yaml @@ -0,0 +1,2 @@ +priority: 10 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/union/code.php b/web/landing/content/examples/topics/types/casting/union/code.php new file mode 100644 index 0000000000..bed42bd1d6 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/union/code.php @@ -0,0 +1,15 @@ +cast('hello') . "\n"; +echo 'Cast integer: ' . $type->cast(42) . "\n"; +echo 'Cast numeric string: ' . $type->cast('123') . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/union/description.md b/web/landing/content/examples/topics/types/casting/union/description.md new file mode 100644 index 0000000000..4aab71cd42 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/union/description.md @@ -0,0 +1 @@ +Cast union type values. Attempts to cast to each type in order until one succeeds. diff --git a/web/landing/content/examples/topics/types/casting/union/documentation.md b/web/landing/content/examples/topics/types/casting/union/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/union/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/uuid/_meta.yaml b/web/landing/content/examples/topics/types/casting/uuid/_meta.yaml new file mode 100644 index 0000000000..1ec56097eb --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/uuid/_meta.yaml @@ -0,0 +1,2 @@ +priority: 20 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/uuid/code.php b/web/landing/content/examples/topics/types/casting/uuid/code.php new file mode 100644 index 0000000000..41947ac6b4 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/uuid/code.php @@ -0,0 +1,10 @@ +cast('550e8400-e29b-41d4-a716-446655440000')->toString() . "\n"; +echo 'Uppercase: ' . type_uuid()->cast('6BA7B810-9DAD-11D1-80B4-00C04FD430C8')->toString() . "\n"; diff --git a/web/landing/content/examples/topics/types/casting/uuid/description.md b/web/landing/content/examples/topics/types/casting/uuid/description.md new file mode 100644 index 0000000000..e6dbb74eea --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/uuid/description.md @@ -0,0 +1 @@ +Cast UUID strings to the Uuid value object. Normalizes case and provides safe UUID handling and comparison. diff --git a/web/landing/content/examples/topics/types/casting/uuid/documentation.md b/web/landing/content/examples/topics/types/casting/uuid/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/uuid/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/casting/xml/_meta.yaml b/web/landing/content/examples/topics/types/casting/xml/_meta.yaml new file mode 100644 index 0000000000..1ec56097eb --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/xml/_meta.yaml @@ -0,0 +1,2 @@ +priority: 20 +hidden: false diff --git a/web/landing/content/examples/topics/types/casting/xml/code.php b/web/landing/content/examples/topics/types/casting/xml/code.php new file mode 100644 index 0000000000..26e355f28a --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/xml/code.php @@ -0,0 +1,11 @@ +value'; + +echo 'Cast XML: ' . type_xml()->cast($xml)->saveXML(); diff --git a/web/landing/content/examples/topics/types/casting/xml/description.md b/web/landing/content/examples/topics/types/casting/xml/description.md new file mode 100644 index 0000000000..17d1f4acf6 --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/xml/description.md @@ -0,0 +1 @@ +Cast XML strings to DOMDocument. Parses and returns a DOMDocument object. diff --git a/web/landing/content/examples/topics/types/casting/xml/documentation.md b/web/landing/content/examples/topics/types/casting/xml/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/casting/xml/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/_meta.yaml b/web/landing/content/examples/topics/types/validation/_meta.yaml new file mode 100644 index 0000000000..8608dd76b4 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/_meta.yaml @@ -0,0 +1,2 @@ +priority: 3 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/array/_meta.yaml b/web/landing/content/examples/topics/types/validation/array/_meta.yaml new file mode 100644 index 0000000000..df67d6f773 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/array/_meta.yaml @@ -0,0 +1,2 @@ +priority: 29 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/array/code.php b/web/landing/content/examples/topics/types/validation/array/code.php new file mode 100644 index 0000000000..eea55c3e29 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/array/code.php @@ -0,0 +1,13 @@ +isValid([1, 2, 3]) ? 'yes' : 'no') . "\n"; +echo 'Is associative array valid? ' . (type_array()->isValid(['a' => 1, 'b' => 2]) ? 'yes' : 'no') . "\n"; +echo 'Is empty array valid? ' . (type_array()->isValid([]) ? 'yes' : 'no') . "\n"; +echo 'Is string valid? ' . (type_array()->isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is object valid? ' . (type_array()->isValid(new \stdClass()) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/array/description.md b/web/landing/content/examples/topics/types/validation/array/description.md new file mode 100644 index 0000000000..205175d0f9 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/array/description.md @@ -0,0 +1 @@ +Validate generic array values. Returns true for any PHP array regardless of contents. diff --git a/web/landing/content/examples/topics/types/validation/array/documentation.md b/web/landing/content/examples/topics/types/validation/array/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/array/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/boolean/_meta.yaml b/web/landing/content/examples/topics/types/validation/boolean/_meta.yaml new file mode 100644 index 0000000000..1cfff153ea --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/boolean/_meta.yaml @@ -0,0 +1,2 @@ +priority: 6 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/boolean/code.php b/web/landing/content/examples/topics/types/validation/boolean/code.php new file mode 100644 index 0000000000..277d5e72d7 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/boolean/code.php @@ -0,0 +1,13 @@ +isValid(true) ? 'yes' : 'no') . "\n"; +echo 'Is false valid? ' . (type_boolean()->isValid(false) ? 'yes' : 'no') . "\n"; +echo 'Is "yes" valid? ' . (type_boolean()->isValid('yes') ? 'yes' : 'no') . "\n"; +echo 'Is 1 valid? ' . (type_boolean()->isValid(1) ? 'yes' : 'no') . "\n"; +echo 'Is "true" valid? ' . (type_boolean()->isValid('true') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/boolean/description.md b/web/landing/content/examples/topics/types/validation/boolean/description.md new file mode 100644 index 0000000000..3b84915c96 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/boolean/description.md @@ -0,0 +1 @@ +Validate boolean values. Returns true for native booleans and boolean-like strings/integers. diff --git a/web/landing/content/examples/topics/types/validation/boolean/documentation.md b/web/landing/content/examples/topics/types/validation/boolean/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/boolean/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/callable/_meta.yaml b/web/landing/content/examples/topics/types/validation/callable/_meta.yaml new file mode 100644 index 0000000000..8178f87197 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/callable/_meta.yaml @@ -0,0 +1,2 @@ +priority: 26 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/callable/code.php b/web/landing/content/examples/topics/types/validation/callable/code.php new file mode 100644 index 0000000000..29ecbdda74 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/callable/code.php @@ -0,0 +1,13 @@ +isValid(fn () => 'test') ? 'yes' : 'no') . "\n"; +echo 'Is "strtoupper" valid? ' . (type_callable()->isValid('strtoupper') ? 'yes' : 'no') . "\n"; +echo 'Is "nonexistent_func" valid? ' . (type_callable()->isValid('nonexistent_func') ? 'yes' : 'no') . "\n"; +echo 'Is string valid? ' . (type_callable()->isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is array callable valid? ' . (type_callable()->isValid([\DateTime::class, 'createFromFormat']) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/callable/description.md b/web/landing/content/examples/topics/types/validation/callable/description.md new file mode 100644 index 0000000000..8e0452b65b --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/callable/description.md @@ -0,0 +1 @@ +Validate callable values. Returns true for closures, function names, array callables, and invokable objects. diff --git a/web/landing/content/examples/topics/types/validation/callable/documentation.md b/web/landing/content/examples/topics/types/validation/callable/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/callable/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/class_string/_meta.yaml b/web/landing/content/examples/topics/types/validation/class_string/_meta.yaml new file mode 100644 index 0000000000..765d46263b --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/class_string/_meta.yaml @@ -0,0 +1,2 @@ +priority: 24 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/class_string/code.php b/web/landing/content/examples/topics/types/validation/class_string/code.php new file mode 100644 index 0000000000..15b312fb45 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/class_string/code.php @@ -0,0 +1,12 @@ +isValid(\DateTimeImmutable::class) ? 'yes' : 'no') . "\n"; +echo 'Is "NonExistentClass" valid? ' . (type_class_string()->isValid('NonExistentClass') ? 'yes' : 'no') . "\n"; +echo 'Is DateTimeImmutable valid for DateTimeInterface? ' . (type_class_string(\DateTimeInterface::class)->isValid(\DateTimeImmutable::class) ? 'yes' : 'no') . "\n"; +echo 'Is stdClass valid for DateTimeInterface? ' . (type_class_string(\DateTimeInterface::class)->isValid(\stdClass::class) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/class_string/description.md b/web/landing/content/examples/topics/types/validation/class_string/description.md new file mode 100644 index 0000000000..377e19b561 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/class_string/description.md @@ -0,0 +1 @@ +Validate class-string values. Returns true for existing class names, optionally checking inheritance. diff --git a/web/landing/content/examples/topics/types/validation/class_string/documentation.md b/web/landing/content/examples/topics/types/validation/class_string/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/class_string/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/constrained/_meta.yaml b/web/landing/content/examples/topics/types/validation/constrained/_meta.yaml new file mode 100644 index 0000000000..a3182840b6 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/constrained/_meta.yaml @@ -0,0 +1,2 @@ +priority: 80 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/constrained/code.php b/web/landing/content/examples/topics/types/validation/constrained/code.php new file mode 100644 index 0000000000..d3b2603487 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/constrained/code.php @@ -0,0 +1,15 @@ +isValid(5) ? 'yes' : 'no') . "\n"; +echo 'Is 0 positive int? ' . (type_positive_integer()->isValid(0) ? 'yes' : 'no') . "\n"; +echo 'Is -3 positive int? ' . (type_positive_integer()->isValid(-3) ? 'yes' : 'no') . "\n"; +echo 'Is "hello" non-empty? ' . (type_non_empty_string()->isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is "" non-empty? ' . (type_non_empty_string()->isValid('') ? 'yes' : 'no') . "\n"; +echo 'Is "123" numeric string? ' . (type_numeric_string()->isValid('123') ? 'yes' : 'no') . "\n"; +echo 'Is "abc" numeric string? ' . (type_numeric_string()->isValid('abc') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/constrained/description.md b/web/landing/content/examples/topics/types/validation/constrained/description.md new file mode 100644 index 0000000000..c4befe14f6 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/constrained/description.md @@ -0,0 +1 @@ +Validate constrained types like positive integers, non-empty strings, and numeric strings for stricter validation rules. diff --git a/web/landing/content/examples/topics/types/validation/constrained/documentation.md b/web/landing/content/examples/topics/types/validation/constrained/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/constrained/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/date/_meta.yaml b/web/landing/content/examples/topics/types/validation/date/_meta.yaml new file mode 100644 index 0000000000..54474545b3 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/date/_meta.yaml @@ -0,0 +1,2 @@ +priority: 11 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/date/code.php b/web/landing/content/examples/topics/types/validation/date/code.php new file mode 100644 index 0000000000..59c258dd3b --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/date/code.php @@ -0,0 +1,12 @@ +isValid('2024-01-15') ? 'yes' : 'no') . "\n"; +echo 'Is "2024-12-25 10:30" valid? ' . (type_date()->isValid('2024-12-25 10:30') ? 'yes' : 'no') . "\n"; +echo 'Is "invalid-date" valid? ' . (type_date()->isValid('invalid-date') ? 'yes' : 'no') . "\n"; +echo 'Is DateTimeImmutable valid? ' . (type_date()->isValid(new \DateTimeImmutable()) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/date/description.md b/web/landing/content/examples/topics/types/validation/date/description.md new file mode 100644 index 0000000000..7b76d3a775 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/date/description.md @@ -0,0 +1 @@ +Validate date values. Returns true for valid date strings and DateTimeInterface objects. diff --git a/web/landing/content/examples/topics/types/validation/date/documentation.md b/web/landing/content/examples/topics/types/validation/date/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/date/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/datetime/_meta.yaml b/web/landing/content/examples/topics/types/validation/datetime/_meta.yaml new file mode 100644 index 0000000000..066e3e5a89 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/datetime/_meta.yaml @@ -0,0 +1,2 @@ +priority: 10 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/datetime/code.php b/web/landing/content/examples/topics/types/validation/datetime/code.php new file mode 100644 index 0000000000..b9a22c777e --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/datetime/code.php @@ -0,0 +1,12 @@ +isValid('2024-01-15') ? 'yes' : 'no') . "\n"; +echo 'Is "invalid-date" valid? ' . (type_datetime()->isValid('invalid-date') ? 'yes' : 'no') . "\n"; +echo 'Is timestamp valid? ' . (type_datetime()->isValid(1704067200) ? 'yes' : 'no') . "\n"; +echo 'Is DateTimeImmutable valid? ' . (type_datetime()->isValid(new \DateTimeImmutable()) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/datetime/description.md b/web/landing/content/examples/topics/types/validation/datetime/description.md new file mode 100644 index 0000000000..409d0f018f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/datetime/description.md @@ -0,0 +1 @@ +Validate datetime values from various formats. Check ISO strings, timestamps, and relative expressions without throwing exceptions. diff --git a/web/landing/content/examples/topics/types/validation/datetime/documentation.md b/web/landing/content/examples/topics/types/validation/datetime/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/datetime/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/description.md b/web/landing/content/examples/topics/types/validation/description.md new file mode 100644 index 0000000000..74d43b0011 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/description.md @@ -0,0 +1,3 @@ +Type validation checks if a value matches the expected type without throwing exceptions. The `isValid()` method returns `true` if the value conforms to the type, `false` otherwise. This is useful for conditional logic, filtering data, or performing pre-flight checks before processing. + +Unlike assertions, validation never throws - it's designed for control flow decisions rather than enforcing contracts. diff --git a/web/landing/content/examples/topics/types/validation/enum/_meta.yaml b/web/landing/content/examples/topics/types/validation/enum/_meta.yaml new file mode 100644 index 0000000000..ddab1b90f8 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/enum/_meta.yaml @@ -0,0 +1,2 @@ +priority: 70 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/enum/code.php b/web/landing/content/examples/topics/types/validation/enum/code.php new file mode 100644 index 0000000000..847ece2701 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/enum/code.php @@ -0,0 +1,18 @@ +isValid(Status::Active) ? 'yes' : 'no') . "\n"; +echo 'Is "active" valid? ' . (type_enum(Status::class)->isValid('active') ? 'yes' : 'no') . "\n"; +echo 'Is "invalid" valid? ' . (type_enum(Status::class)->isValid('invalid') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/enum/description.md b/web/landing/content/examples/topics/types/validation/enum/description.md new file mode 100644 index 0000000000..d0473e1768 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/enum/description.md @@ -0,0 +1 @@ +Validate PHP enum values from backing values or instances. Check both string and integer backed enums safely. diff --git a/web/landing/content/examples/topics/types/validation/enum/documentation.md b/web/landing/content/examples/topics/types/validation/enum/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/enum/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/html/_meta.yaml b/web/landing/content/examples/topics/types/validation/html/_meta.yaml new file mode 100644 index 0000000000..54f667665b --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/html/_meta.yaml @@ -0,0 +1,2 @@ +priority: 21 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/html/code.php b/web/landing/content/examples/topics/types/validation/html/code.php new file mode 100644 index 0000000000..f86dc2fd42 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/html/code.php @@ -0,0 +1,15 @@ +

Hello World

'; +$simpleHtml = '

Simple paragraph

'; + +echo 'Is valid HTML valid? ' . (type_html()->isValid($validHtml) ? 'yes' : 'no') . "\n"; +echo 'Is simple HTML valid? ' . (type_html()->isValid($simpleHtml) ? 'yes' : 'no') . "\n"; +echo 'Is DOMDocument valid? ' . (type_html()->isValid(new \DOMDocument()) ? 'yes' : 'no') . "\n"; +echo 'Is empty string valid? ' . (type_html()->isValid('') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/html/description.md b/web/landing/content/examples/topics/types/validation/html/description.md new file mode 100644 index 0000000000..88eb0d909d --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/html/description.md @@ -0,0 +1 @@ +Validate HTML documents. Returns true for valid HTML strings and DOMDocument objects. diff --git a/web/landing/content/examples/topics/types/validation/html/documentation.md b/web/landing/content/examples/topics/types/validation/html/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/html/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/instance_of/_meta.yaml b/web/landing/content/examples/topics/types/validation/instance_of/_meta.yaml new file mode 100644 index 0000000000..add5039326 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/instance_of/_meta.yaml @@ -0,0 +1,2 @@ +priority: 25 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/instance_of/code.php b/web/landing/content/examples/topics/types/validation/instance_of/code.php new file mode 100644 index 0000000000..af053b764f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/instance_of/code.php @@ -0,0 +1,13 @@ +isValid($date) ? 'yes' : 'no') . "\n"; +echo 'Is stdClass a DateTimeInterface? ' . (type_instance_of(\DateTimeInterface::class)->isValid(new \stdClass()) ? 'yes' : 'no') . "\n"; +echo 'Is string a DateTimeInterface? ' . (type_instance_of(\DateTimeInterface::class)->isValid('2024-01-15') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/instance_of/description.md b/web/landing/content/examples/topics/types/validation/instance_of/description.md new file mode 100644 index 0000000000..d61bdec750 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/instance_of/description.md @@ -0,0 +1 @@ +Validate object instances of a specific class or interface. Returns true for matching objects. diff --git a/web/landing/content/examples/topics/types/validation/instance_of/documentation.md b/web/landing/content/examples/topics/types/validation/instance_of/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/instance_of/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/intersection/_meta.yaml b/web/landing/content/examples/topics/types/validation/intersection/_meta.yaml new file mode 100644 index 0000000000..83a4944c83 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/intersection/_meta.yaml @@ -0,0 +1,2 @@ +priority: 23 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/intersection/code.php b/web/landing/content/examples/topics/types/validation/intersection/code.php new file mode 100644 index 0000000000..c7c255d159 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/intersection/code.php @@ -0,0 +1,17 @@ +isValid(new \ArrayObject([1, 2, 3])) ? 'yes' : 'no') . "\n"; +echo 'Is simple array valid? ' . ($type->isValid([1, 2, 3]) ? 'yes' : 'no') . "\n"; +echo 'Is stdClass valid? ' . ($type->isValid(new \stdClass()) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/intersection/description.md b/web/landing/content/examples/topics/types/validation/intersection/description.md new file mode 100644 index 0000000000..0422da704e --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/intersection/description.md @@ -0,0 +1 @@ +Validate values matching all of multiple types. Returns true only if the value satisfies every type in the intersection. diff --git a/web/landing/content/examples/topics/types/validation/intersection/documentation.md b/web/landing/content/examples/topics/types/validation/intersection/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/intersection/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/json/_meta.yaml b/web/landing/content/examples/topics/types/validation/json/_meta.yaml new file mode 100644 index 0000000000..fc7a7207c4 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/json/_meta.yaml @@ -0,0 +1,2 @@ +priority: 30 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/json/code.php b/web/landing/content/examples/topics/types/validation/json/code.php new file mode 100644 index 0000000000..43ff53254b --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/json/code.php @@ -0,0 +1,12 @@ +isValid(['name' => 'John']) ? 'yes' : 'no') . "\n"; +echo 'Is JSON string valid? ' . (type_json()->isValid('{"name":"John"}') ? 'yes' : 'no') . "\n"; +echo 'Is plain string valid? ' . (type_json()->isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is invalid JSON valid? ' . (type_json()->isValid('{invalid}') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/json/description.md b/web/landing/content/examples/topics/types/validation/json/description.md new file mode 100644 index 0000000000..a9812e79ae --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/json/description.md @@ -0,0 +1 @@ +Validate JSON data from strings or arrays. Check if values can be safely converted to JSON without throwing exceptions. diff --git a/web/landing/content/examples/topics/types/validation/json/documentation.md b/web/landing/content/examples/topics/types/validation/json/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/json/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/list/_meta.yaml b/web/landing/content/examples/topics/types/validation/list/_meta.yaml new file mode 100644 index 0000000000..ddab1b90f8 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/list/_meta.yaml @@ -0,0 +1,2 @@ +priority: 70 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/list/code.php b/web/landing/content/examples/topics/types/validation/list/code.php new file mode 100644 index 0000000000..2ef5e28dcd --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/list/code.php @@ -0,0 +1,13 @@ +isValid([1, 2, 3]) ? 'yes' : 'no') . "\n"; +echo 'Is [] valid? ' . (type_list(type_integer())->isValid([]) ? 'yes' : 'no') . "\n"; +echo 'Is ["a","b"] valid? ' . (type_list(type_integer())->isValid(['a', 'b']) ? 'yes' : 'no') . "\n"; +echo 'Is [1,"two",3] valid? ' . (type_list(type_integer())->isValid([1, 'two', 3]) ? 'yes' : 'no') . "\n"; +echo 'Is ["a"=>1] valid? ' . (type_list(type_integer())->isValid(['a' => 1]) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/list/description.md b/web/landing/content/examples/topics/types/validation/list/description.md new file mode 100644 index 0000000000..7c246c7627 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/list/description.md @@ -0,0 +1 @@ +Validate lists with isValid() for safe checking. Test arrays of specific types without throwing exceptions. diff --git a/web/landing/content/examples/topics/types/validation/list/documentation.md b/web/landing/content/examples/topics/types/validation/list/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/list/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/literal/_meta.yaml b/web/landing/content/examples/topics/types/validation/literal/_meta.yaml new file mode 100644 index 0000000000..06d1ba6d9f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/literal/_meta.yaml @@ -0,0 +1,2 @@ +priority: 22 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/literal/code.php b/web/landing/content/examples/topics/types/validation/literal/code.php new file mode 100644 index 0000000000..c226834c8b --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/literal/code.php @@ -0,0 +1,13 @@ +isValid('active') ? 'yes' : 'no') . "\n"; +echo 'Is "inactive" valid for literal("active")? ' . (type_literal('active')->isValid('inactive') ? 'yes' : 'no') . "\n"; +echo 'Is 42 valid for literal(42)? ' . (type_literal(42)->isValid(42) ? 'yes' : 'no') . "\n"; +echo 'Is 43 valid for literal(42)? ' . (type_literal(42)->isValid(43) ? 'yes' : 'no') . "\n"; +echo 'Is true valid for literal(true)? ' . (type_literal(true)->isValid(true) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/literal/description.md b/web/landing/content/examples/topics/types/validation/literal/description.md new file mode 100644 index 0000000000..7a72f26d25 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/literal/description.md @@ -0,0 +1 @@ +Validate exact literal values. Returns true only for the specified exact value. diff --git a/web/landing/content/examples/topics/types/validation/literal/documentation.md b/web/landing/content/examples/topics/types/validation/literal/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/literal/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/map/_meta.yaml b/web/landing/content/examples/topics/types/validation/map/_meta.yaml new file mode 100644 index 0000000000..5db0b6e775 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/map/_meta.yaml @@ -0,0 +1,2 @@ +priority: 60 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/map/code.php b/web/landing/content/examples/topics/types/validation/map/code.php new file mode 100644 index 0000000000..3018abfb37 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/map/code.php @@ -0,0 +1,12 @@ +1,"b"=>2] valid? ' . (type_map(type_string(), type_integer())->isValid(['a' => 1, 'b' => 2]) ? 'yes' : 'no') . "\n"; +echo 'Is ["a"=>1,"b"=>"x"] valid? ' . (type_map(type_string(), type_integer())->isValid(['a' => 1, 'b' => 'x']) ? 'yes' : 'no') . "\n"; +echo 'Is [1=>100,2=>200] valid? ' . (type_map(type_string(), type_integer())->isValid([1 => 100, 2 => 200]) ? 'yes' : 'no') . "\n"; +echo 'Is [] valid? ' . (type_map(type_string(), type_integer())->isValid([]) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/map/description.md b/web/landing/content/examples/topics/types/validation/map/description.md new file mode 100644 index 0000000000..bfbcfa5438 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/map/description.md @@ -0,0 +1 @@ +Validate typed maps with specific key and value types. Check dictionary-like structures have consistent types. diff --git a/web/landing/content/examples/topics/types/validation/map/documentation.md b/web/landing/content/examples/topics/types/validation/map/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/map/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/mixed/_meta.yaml b/web/landing/content/examples/topics/types/validation/mixed/_meta.yaml new file mode 100644 index 0000000000..fc7a7207c4 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/mixed/_meta.yaml @@ -0,0 +1,2 @@ +priority: 30 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/mixed/code.php b/web/landing/content/examples/topics/types/validation/mixed/code.php new file mode 100644 index 0000000000..aaba1e31d7 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/mixed/code.php @@ -0,0 +1,13 @@ +isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is int valid? ' . (type_mixed()->isValid(42) ? 'yes' : 'no') . "\n"; +echo 'Is null valid? ' . (type_mixed()->isValid(null) ? 'yes' : 'no') . "\n"; +echo 'Is array valid? ' . (type_mixed()->isValid([1, 2, 3]) ? 'yes' : 'no') . "\n"; +echo 'Is object valid? ' . (type_mixed()->isValid(new \stdClass()) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/mixed/description.md b/web/landing/content/examples/topics/types/validation/mixed/description.md new file mode 100644 index 0000000000..d8ff7e8c65 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/mixed/description.md @@ -0,0 +1 @@ +Validate any value (mixed type). Always returns true for any PHP value. diff --git a/web/landing/content/examples/topics/types/validation/mixed/documentation.md b/web/landing/content/examples/topics/types/validation/mixed/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/mixed/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/object/_meta.yaml b/web/landing/content/examples/topics/types/validation/object/_meta.yaml new file mode 100644 index 0000000000..ae46e2570d --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/object/_meta.yaml @@ -0,0 +1,2 @@ +priority: 27 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/object/code.php b/web/landing/content/examples/topics/types/validation/object/code.php new file mode 100644 index 0000000000..31e982ad78 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/object/code.php @@ -0,0 +1,13 @@ +isValid(new \stdClass()) ? 'yes' : 'no') . "\n"; +echo 'Is DateTimeImmutable valid? ' . (type_object()->isValid(new \DateTimeImmutable()) ? 'yes' : 'no') . "\n"; +echo 'Is array valid? ' . (type_object()->isValid([1, 2, 3]) ? 'yes' : 'no') . "\n"; +echo 'Is string valid? ' . (type_object()->isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is null valid? ' . (type_object()->isValid(null) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/object/description.md b/web/landing/content/examples/topics/types/validation/object/description.md new file mode 100644 index 0000000000..d4b4713957 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/object/description.md @@ -0,0 +1 @@ +Validate any object instance. Returns true for any object regardless of class. diff --git a/web/landing/content/examples/topics/types/validation/object/documentation.md b/web/landing/content/examples/topics/types/validation/object/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/object/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/optional/_meta.yaml b/web/landing/content/examples/topics/types/validation/optional/_meta.yaml new file mode 100644 index 0000000000..8d81793b66 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/optional/_meta.yaml @@ -0,0 +1,2 @@ +priority: 50 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/optional/code.php b/web/landing/content/examples/topics/types/validation/optional/code.php new file mode 100644 index 0000000000..88d92338ab --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/optional/code.php @@ -0,0 +1,11 @@ +isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is null valid ?string? ' . (type_optional(type_string())->isValid(null) ? 'yes' : 'no') . "\n"; +echo 'Is 123 valid ?string? ' . (type_optional(type_string())->isValid(123) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/optional/description.md b/web/landing/content/examples/topics/types/validation/optional/description.md new file mode 100644 index 0000000000..ee5d56214b --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/optional/description.md @@ -0,0 +1 @@ +Validate optional (nullable) types. Check if values are either the base type or null for fields that may be missing. diff --git a/web/landing/content/examples/topics/types/validation/optional/documentation.md b/web/landing/content/examples/topics/types/validation/optional/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/optional/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/resource/_meta.yaml b/web/landing/content/examples/topics/types/validation/resource/_meta.yaml new file mode 100644 index 0000000000..681f4085a9 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/resource/_meta.yaml @@ -0,0 +1,2 @@ +priority: 28 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/resource/code.php b/web/landing/content/examples/topics/types/validation/resource/code.php new file mode 100644 index 0000000000..0320177a29 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/resource/code.php @@ -0,0 +1,16 @@ +isValid($handle) ? 'yes' : 'no') . "\n"; +echo 'Is string valid? ' . (type_resource()->isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is object valid? ' . (type_resource()->isValid(new \stdClass()) ? 'yes' : 'no') . "\n"; + +fclose($handle); +echo 'Is closed handle valid? ' . (type_resource()->isValid($handle) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/resource/description.md b/web/landing/content/examples/topics/types/validation/resource/description.md new file mode 100644 index 0000000000..81d35debb7 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/resource/description.md @@ -0,0 +1 @@ +Validate PHP resource values. Returns true for valid open resources only. diff --git a/web/landing/content/examples/topics/types/validation/resource/documentation.md b/web/landing/content/examples/topics/types/validation/resource/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/resource/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/scalar/_meta.yaml b/web/landing/content/examples/topics/types/validation/scalar/_meta.yaml new file mode 100644 index 0000000000..76b24de0b7 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/scalar/_meta.yaml @@ -0,0 +1,2 @@ +priority: 5 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/scalar/code.php b/web/landing/content/examples/topics/types/validation/scalar/code.php new file mode 100644 index 0000000000..a2cd39f690 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/scalar/code.php @@ -0,0 +1,14 @@ +isValid(42) ? 'yes' : 'no') . "\n"; +echo 'Is 3.14 valid? ' . (type_scalar()->isValid(3.14) ? 'yes' : 'no') . "\n"; +echo 'Is "hello" valid? ' . (type_scalar()->isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is true valid? ' . (type_scalar()->isValid(true) ? 'yes' : 'no') . "\n"; +echo 'Is array valid? ' . (type_scalar()->isValid([1, 2]) ? 'yes' : 'no') . "\n"; +echo 'Is null valid? ' . (type_scalar()->isValid(null) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/scalar/description.md b/web/landing/content/examples/topics/types/validation/scalar/description.md new file mode 100644 index 0000000000..291a7e9476 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/scalar/description.md @@ -0,0 +1 @@ +Validate scalar values (int, float, string, bool). Returns true for any primitive scalar type, false otherwise. diff --git a/web/landing/content/examples/topics/types/validation/scalar/documentation.md b/web/landing/content/examples/topics/types/validation/scalar/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/scalar/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/structure/_meta.yaml b/web/landing/content/examples/topics/types/validation/structure/_meta.yaml new file mode 100644 index 0000000000..a3182840b6 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/structure/_meta.yaml @@ -0,0 +1,2 @@ +priority: 80 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/structure/code.php b/web/landing/content/examples/topics/types/validation/structure/code.php new file mode 100644 index 0000000000..3833fa4d96 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/structure/code.php @@ -0,0 +1,14 @@ + type_integer(), 'name' => type_string(), 'active' => type_boolean()]); + +echo 'Valid user? ' . ($userType->isValid(['id' => 1, 'name' => 'John', 'active' => true]) ? 'yes' : 'no') . "\n"; +echo 'Missing field? ' . ($userType->isValid(['id' => 1, 'name' => 'John']) ? 'yes' : 'no') . "\n"; +echo 'Wrong type? ' . ($userType->isValid(['id' => 'one', 'name' => 'John', 'active' => true]) ? 'yes' : 'no') . "\n"; +echo 'Extra field? ' . ($userType->isValid(['id' => 1, 'name' => 'John', 'active' => true, 'email' => 'j@x.com']) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/structure/description.md b/web/landing/content/examples/topics/types/validation/structure/description.md new file mode 100644 index 0000000000..ff2faf3001 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/structure/description.md @@ -0,0 +1 @@ +Validate array structures with isValid(). Check for required keys, correct types, and nested structures safely. diff --git a/web/landing/content/examples/topics/types/validation/structure/documentation.md b/web/landing/content/examples/topics/types/validation/structure/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/structure/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/time/_meta.yaml b/web/landing/content/examples/topics/types/validation/time/_meta.yaml new file mode 100644 index 0000000000..a1d79141df --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time/_meta.yaml @@ -0,0 +1,2 @@ +priority: 12 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/time/code.php b/web/landing/content/examples/topics/types/validation/time/code.php new file mode 100644 index 0000000000..cecd71da84 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time/code.php @@ -0,0 +1,12 @@ +isValid('14:30:00') ? 'yes' : 'no') . "\n"; +echo 'Is "09:15" valid? ' . (type_time()->isValid('09:15') ? 'yes' : 'no') . "\n"; +echo 'Is "25:00:00" valid? ' . (type_time()->isValid('25:00:00') ? 'yes' : 'no') . "\n"; +echo 'Is "invalid" valid? ' . (type_time()->isValid('invalid') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/time/description.md b/web/landing/content/examples/topics/types/validation/time/description.md new file mode 100644 index 0000000000..c1dff93d57 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time/description.md @@ -0,0 +1 @@ +Validate time values. Returns true for valid time strings in various formats. diff --git a/web/landing/content/examples/topics/types/validation/time/documentation.md b/web/landing/content/examples/topics/types/validation/time/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/time_zone/_meta.yaml b/web/landing/content/examples/topics/types/validation/time_zone/_meta.yaml new file mode 100644 index 0000000000..5c128501ed --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time_zone/_meta.yaml @@ -0,0 +1,2 @@ +priority: 13 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/time_zone/code.php b/web/landing/content/examples/topics/types/validation/time_zone/code.php new file mode 100644 index 0000000000..d942a5974c --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time_zone/code.php @@ -0,0 +1,13 @@ +isValid('Europe/Warsaw') ? 'yes' : 'no') . "\n"; +echo 'Is "UTC" valid? ' . (type_time_zone()->isValid('UTC') ? 'yes' : 'no') . "\n"; +echo 'Is "America/New_York" valid? ' . (type_time_zone()->isValid('America/New_York') ? 'yes' : 'no') . "\n"; +echo 'Is "Invalid/Zone" valid? ' . (type_time_zone()->isValid('Invalid/Zone') ? 'yes' : 'no') . "\n"; +echo 'Is DateTimeZone valid? ' . (type_time_zone()->isValid(new \DateTimeZone('UTC')) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/time_zone/description.md b/web/landing/content/examples/topics/types/validation/time_zone/description.md new file mode 100644 index 0000000000..b92fb2a908 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time_zone/description.md @@ -0,0 +1 @@ +Validate timezone values. Returns true for valid timezone identifier strings and DateTimeZone objects. diff --git a/web/landing/content/examples/topics/types/validation/time_zone/documentation.md b/web/landing/content/examples/topics/types/validation/time_zone/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/time_zone/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/union/_meta.yaml b/web/landing/content/examples/topics/types/validation/union/_meta.yaml new file mode 100644 index 0000000000..363d58f0f5 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/union/_meta.yaml @@ -0,0 +1,2 @@ +priority: 40 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/union/code.php b/web/landing/content/examples/topics/types/validation/union/code.php new file mode 100644 index 0000000000..ade7c8cb76 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/union/code.php @@ -0,0 +1,12 @@ +isValid('hello') ? 'yes' : 'no') . "\n"; +echo 'Is 42 valid string|int? ' . (type_union(type_string(), type_integer())->isValid(42) ? 'yes' : 'no') . "\n"; +echo 'Is 3.14 valid string|int? ' . (type_union(type_string(), type_integer())->isValid(3.14) ? 'yes' : 'no') . "\n"; +echo 'Is null valid string|null? ' . (type_union(type_string(), type_null())->isValid(null) ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/union/description.md b/web/landing/content/examples/topics/types/validation/union/description.md new file mode 100644 index 0000000000..672e9bb1dc --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/union/description.md @@ -0,0 +1 @@ +Validate union types combining multiple types. Check if values match any of the specified types for flexible validation. diff --git a/web/landing/content/examples/topics/types/validation/union/documentation.md b/web/landing/content/examples/topics/types/validation/union/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/union/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/uuid/_meta.yaml b/web/landing/content/examples/topics/types/validation/uuid/_meta.yaml new file mode 100644 index 0000000000..1ec56097eb --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/uuid/_meta.yaml @@ -0,0 +1,2 @@ +priority: 20 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/uuid/code.php b/web/landing/content/examples/topics/types/validation/uuid/code.php new file mode 100644 index 0000000000..3488885fa9 --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/uuid/code.php @@ -0,0 +1,11 @@ +isValid('550e8400-e29b-41d4-a716-446655440000') ? 'yes' : 'no') . "\n"; +echo 'Is "not-a-uuid" valid? ' . (type_uuid()->isValid('not-a-uuid') ? 'yes' : 'no') . "\n"; +echo 'Is partial UUID valid? ' . (type_uuid()->isValid('550e8400-e29b') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/uuid/description.md b/web/landing/content/examples/topics/types/validation/uuid/description.md new file mode 100644 index 0000000000..6530ce639d --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/uuid/description.md @@ -0,0 +1 @@ +Validate UUID strings against RFC 4122 format. Check both lowercase and uppercase UUIDs without throwing exceptions. diff --git a/web/landing/content/examples/topics/types/validation/uuid/documentation.md b/web/landing/content/examples/topics/types/validation/uuid/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/uuid/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/types/validation/xml/_meta.yaml b/web/landing/content/examples/topics/types/validation/xml/_meta.yaml new file mode 100644 index 0000000000..1ec56097eb --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/xml/_meta.yaml @@ -0,0 +1,2 @@ +priority: 20 +hidden: false diff --git a/web/landing/content/examples/topics/types/validation/xml/code.php b/web/landing/content/examples/topics/types/validation/xml/code.php new file mode 100644 index 0000000000..33723d83dd --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/xml/code.php @@ -0,0 +1,15 @@ +value'; +$invalidXml = ''; + +echo 'Is valid XML valid? ' . (type_xml()->isValid($validXml) ? 'yes' : 'no') . "\n"; +echo 'Is invalid XML valid? ' . (type_xml()->isValid($invalidXml) ? 'yes' : 'no') . "\n"; +echo 'Is DOMDocument valid? ' . (type_xml()->isValid(new \DOMDocument()) ? 'yes' : 'no') . "\n"; +echo 'Is empty string valid? ' . (type_xml()->isValid('') ? 'yes' : 'no') . "\n"; diff --git a/web/landing/content/examples/topics/types/validation/xml/description.md b/web/landing/content/examples/topics/types/validation/xml/description.md new file mode 100644 index 0000000000..00c027c14d --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/xml/description.md @@ -0,0 +1 @@ +Validate XML documents. Returns true for well-formed XML strings and DOMDocument objects. diff --git a/web/landing/content/examples/topics/types/validation/xml/documentation.md b/web/landing/content/examples/topics/types/validation/xml/documentation.md new file mode 100644 index 0000000000..84f0f1948f --- /dev/null +++ b/web/landing/content/examples/topics/types/validation/xml/documentation.md @@ -0,0 +1 @@ +- [Types Library](/documentation/components/libs/types) diff --git a/web/landing/content/examples/topics/window_functions/_meta.yaml b/web/landing/content/examples/topics/window_functions/_meta.yaml new file mode 100644 index 0000000000..69a868d27b --- /dev/null +++ b/web/landing/content/examples/topics/window_functions/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: true diff --git a/web/landing/content/examples/topics/window_functions/dens_rank/_meta.yaml b/web/landing/content/examples/topics/window_functions/dens_rank/_meta.yaml new file mode 100644 index 0000000000..0abc3a40d7 --- /dev/null +++ b/web/landing/content/examples/topics/window_functions/dens_rank/_meta.yaml @@ -0,0 +1,2 @@ +priority: 99 +hidden: false diff --git a/web/landing/content/examples/topics/window_functions/dens_rank/code.php b/web/landing/content/examples/topics/window_functions/dens_rank/code.php new file mode 100644 index 0000000000..c67ad8960d --- /dev/null +++ b/web/landing/content/examples/topics/window_functions/dens_rank/code.php @@ -0,0 +1,24 @@ +read( + from_array([ + ['id' => 1, 'name' => 'Greg', 'department' => 'IT', 'salary' => 6000], + ['id' => 2, 'name' => 'Michal', 'department' => 'IT', 'salary' => 5000], + ['id' => 3, 'name' => 'Tomas', 'department' => 'Finances', 'salary' => 11_000], + ['id' => 4, 'name' => 'John', 'department' => 'Finances', 'salary' => 9000], + ['id' => 5, 'name' => 'Jane', 'department' => 'Finances', 'salary' => 14_000], + ['id' => 6, 'name' => 'Janet', 'department' => 'Finances', 'salary' => 4000], + ]) + ) + ->withEntry('rank', dense_rank()->over(window()->partitionBy(ref('department'))->orderBy(ref('salary')->desc()))) + ->sortBy(ref('department'), ref('rank')) + ->collect() + ->write(to_output(truncate: false)) + ->run(); diff --git a/web/landing/content/examples/topics/window_functions/dens_rank/documentation.md b/web/landing/content/examples/topics/window_functions/dens_rank/documentation.md new file mode 100644 index 0000000000..bc1beb29cf --- /dev/null +++ b/web/landing/content/examples/topics/window_functions/dens_rank/documentation.md @@ -0,0 +1 @@ +- [Window Functions](/documentation/components/core/window-functions) diff --git a/web/landing/src/Flow/Website/Controller/DocumentationController.php b/web/landing/src/Flow/Website/Controller/DocumentationController.php index f818458c86..056d7f1266 100644 --- a/web/landing/src/Flow/Website/Controller/DocumentationController.php +++ b/web/landing/src/Flow/Website/Controller/DocumentationController.php @@ -103,9 +103,8 @@ public function example(string $topic, string $example) : Response 'currentTopic' => $topic, 'currentExample' => $example, 'description' => $this->examples->description($currentTopic, $currentExample), - 'composer' => $this->examples->composer($currentTopic, $currentExample), + 'documentation' => $this->examples->documentation($currentTopic, $currentExample), 'code' => $this->examples->code($currentTopic, $currentExample), - 'output' => $this->examples->output($currentTopic, $currentExample), ]); } diff --git a/web/landing/src/Flow/Website/Controller/ExamplesController.php b/web/landing/src/Flow/Website/Controller/ExamplesController.php index 81fd478660..33a3d86351 100644 --- a/web/landing/src/Flow/Website/Controller/ExamplesController.php +++ b/web/landing/src/Flow/Website/Controller/ExamplesController.php @@ -6,7 +6,7 @@ use Flow\Website\Service\Examples; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; -use Symfony\Component\HttpFoundation\Response; +use Symfony\Component\HttpFoundation\{BinaryFileResponse, Response}; use Symfony\Component\Routing\Attribute\Route; final class ExamplesController extends AbstractController @@ -16,6 +16,18 @@ public function __construct( ) { } + #[Route('/playground/{topic}/{example}/data/{path}', name: 'example_data', requirements: ['path' => '.+'], priority: 15)] + public function data(string $topic, string $example, string $path) : Response + { + $filePath = $this->examples->dataFilePath($topic, $example, $path); + + if (null === $filePath || !\file_exists($filePath)) { + throw $this->createNotFoundException(); + } + + return new BinaryFileResponse($filePath); + } + #[Route('/{topic}/{example}/', name: 'example', priority: -140)] public function example(string $topic, string $example) : Response { @@ -29,9 +41,45 @@ public function example(string $topic, string $example) : Response 'currentExample' => $example, 'currentOption' => null, 'description' => $this->examples->description($topic, $example, $firstOption), - 'composer' => $this->examples->composer($topic, $example, $firstOption), + 'documentation' => $this->examples->documentation($topic, $example, $firstOption), 'code' => $this->examples->code($topic, $example, $firstOption), - 'output' => $this->examples->output($topic, $example, $firstOption), + 'playgroundUrl' => $this->examples->playgroundUrl($topic, $example, $firstOption), + ]); + } + + #[Route('/playground/{topic}/{example}/{option}', name: 'example_option_playground', priority: 10)] + public function exampleOptionPlayground(string $topic, string $example, string $option) : Response + { + return $this->render('example/playground.html.twig', [ + 'topic' => $topic, + 'example' => $example, + 'option' => $option, + 'code' => $this->examples->code($topic, $example, $option), + 'data_files' => $this->examples->dataFiles($topic, $example, $option), + 'backUrl' => $this->generateUrl('example_option', [ + 'topic' => $topic, + 'example' => $example, + 'option' => $option, + ]), + ]); + } + + #[Route('/playground/{topic}/{example}', name: 'example_playground', priority: 5)] + public function examplePlayground(string $topic, string $example) : Response + { + $firstOption = $this->examples->firstOption($topic, $example); + + return $this->render('example/playground.html.twig', [ + 'topic' => $topic, + 'example' => $example, + 'option' => $firstOption, + 'code' => $this->examples->code($topic, $example, $firstOption), + 'data_files' => $this->examples->dataFiles($topic, $example, $firstOption), + 'backUrl' => $this->generateUrl($firstOption ? 'example_option' : 'example', \array_filter([ + 'topic' => $topic, + 'example' => $example, + 'option' => $firstOption, + ])), ]); } @@ -46,27 +94,41 @@ public function option(string $topic, string $example, string $option) : Respons 'currentExample' => $example, 'currentOption' => $option, 'description' => $this->examples->description($topic, $example, $option), - 'composer' => $this->examples->composer($topic, $example, $option), + 'documentation' => $this->examples->documentation($topic, $example, $option), 'code' => $this->examples->code($topic, $example, $option), - 'output' => $this->examples->output($topic, $example, $option), + 'playgroundUrl' => $this->examples->playgroundUrl($topic, $example, $option), ]); } + #[Route('/playground/{topic}/{example}/{option}/data/{path}', name: 'example_option_data', requirements: ['path' => '.+'], priority: 20)] + public function optionData(string $topic, string $example, string $option, string $path) : Response + { + $filePath = $this->examples->dataFilePath($topic, $example, $path, $option); + + if (null === $filePath || !\file_exists($filePath)) { + throw $this->createNotFoundException(); + } + + return new BinaryFileResponse($filePath); + } + #[Route('/{topic}/', name: 'topic', priority: -120)] public function topic(string $topic) : Response { - $topics = $this->examples->topics(); $firstExample = $this->examples->firstExample($topic); $firstOption = $this->examples->firstOption($topic, $firstExample); return $this->render('example/index.html.twig', [ - 'topicsNavigation' => $topics, + 'topicsNavigation' => $this->examples->topicsNavigation(), + 'examplesNavigation' => $this->examples->examplesNavigation($topic), + 'optionsNavigation' => $this->examples->optionsNavigation($topic, $firstExample), 'currentTopic' => $topic, - 'currentOption' => null, + 'currentExample' => $firstExample, + 'currentOption' => $firstOption, 'description' => $this->examples->description($topic, $firstExample, $firstOption), - 'composer' => $this->examples->composer($topic, $firstExample, $firstOption), + 'documentation' => $this->examples->documentation($topic, $firstExample, $firstOption), 'code' => $this->examples->code($topic, $firstExample, $firstOption), - 'output' => $this->examples->output($topic, $firstExample, $firstOption), + 'playgroundUrl' => $this->examples->playgroundUrl($topic, $firstExample, $firstOption), ]); } } diff --git a/web/landing/src/Flow/Website/Controller/HomeController.php b/web/landing/src/Flow/Website/Controller/HomeController.php index a368c78d18..b596b89b2c 100644 --- a/web/landing/src/Flow/Website/Controller/HomeController.php +++ b/web/landing/src/Flow/Website/Controller/HomeController.php @@ -20,7 +20,7 @@ public function __construct( public function home() : Response { return $this->render('main/index.html.twig', [ - 'navigation' => $this->examples->topicsNavigation(), + 'topicsNavigation' => $this->examples->topicsNavigation(), ]); } diff --git a/web/landing/src/Flow/Website/Service/Example/Output.php b/web/landing/src/Flow/Website/Service/Example/Output.php deleted file mode 100644 index 756ac4b615..0000000000 --- a/web/landing/src/Flow/Website/Service/Example/Output.php +++ /dev/null @@ -1,12 +0,0 @@ -examplesPath), $topic, $example, $option); - } elseif ($this->hasOptions($topic, $example)) { - $options = $this->options($topic, $example); + $basePath = $this->examplePath($topic, $example, $option); + $filePath = $basePath . '/' . $relativePath; - if (0 === \count($options)) { - throw new \RuntimeException(\sprintf('Example "%s" in topic "%s" has no valid options.', $example, $topic)); - } - $firstOption = \current($options); - $path = \sprintf('%s/topics/%s/%s/%s/composer.json', \realpath($this->examplesPath), $topic, $example, $firstOption); - } else { - $path = \sprintf('%s/topics/%s/%s/composer.json', \realpath($this->examplesPath), $topic, $example); + if (!\file_exists($filePath) || !\is_file($filePath)) { + return null; } - if (false === \file_exists($path)) { - throw new \RuntimeException(\sprintf('Composer file doesn\'t exists, it should be located in path: "%s".', $path)); + return $filePath; + } + + /** + * Returns a map of virtual paths to filesystem paths for data files in an example's input directory. + * + * @return array Map of virtual path (e.g., 'input/dataset.csv') to relative filesystem path + */ + public function dataFiles(string $topic, string $example, ?string $option = null) : array + { + $basePath = $this->examplePath($topic, $example, $option); + $inputDir = $basePath . '/input'; + + if (!\is_dir($inputDir)) { + return []; } - $composer = \json_decode(\file_get_contents($path), true, 512, \JSON_THROW_ON_ERROR); + $files = []; + $iterator = new \RecursiveIteratorIterator( + new \RecursiveDirectoryIterator($inputDir, \FilesystemIterator::SKIP_DOTS), + \RecursiveIteratorIterator::LEAVES_ONLY + ); - if (\array_key_exists('archive', $composer)) { - unset($composer['archive']); + foreach ($iterator as $file) { + if ($file->isFile()) { + $virtualPath = \str_replace($basePath . '/', '', $file->getPathname()); + $files[$virtualPath] = $virtualPath; + } } - return \json_encode($composer, \JSON_PRETTY_PRINT | \JSON_UNESCAPED_SLASHES); + return $files; } public function description(string $topic, string $example, ?string $option = null) : ?string + { + // For 2-level examples (no options), return directly without merge logic + if (!$this->hasOptions($topic, $example)) { + $path = \sprintf('%s/topics/%s/%s/description.md', \realpath($this->examplesPath), $topic, $example); + + return \file_exists($path) ? \file_get_contents($path) : null; + } + + // For 3-level examples, check for example-level description + $exampleLevelPath = \sprintf('%s/topics/%s/%s/description.md', \realpath($this->examplesPath), $topic, $example); + $exampleDescription = \file_exists($exampleLevelPath) ? \file_get_contents($exampleLevelPath) : null; + + // Get option-level description + if (null === $option) { + $option = $this->firstOption($topic, $example); + } + + $optionPath = \sprintf('%s/topics/%s/%s/%s/description.md', \realpath($this->examplesPath), $topic, $example, $option); + $optionDescription = \file_exists($optionPath) ? \file_get_contents($optionPath) : null; + + // Merge descriptions with horizontal rule separator + if (null !== $exampleDescription && null !== $optionDescription) { + return $exampleDescription . "\n\n---\n\n" . $optionDescription; + } + + return $exampleDescription ?? $optionDescription; + } + + public function documentation(string $topic, string $example, ?string $option = null) : ?string { if ($option !== null) { - $path = \sprintf('%s/topics/%s/%s/%s/description.md', \realpath($this->examplesPath), $topic, $example, $option); + $path = \sprintf('%s/topics/%s/%s/%s/documentation.md', \realpath($this->examplesPath), $topic, $example, $option); } elseif ($this->hasOptions($topic, $example)) { $options = $this->options($topic, $example); @@ -79,9 +121,9 @@ public function description(string $topic, string $example, ?string $option = nu return null; } $firstOption = \current($options); - $path = \sprintf('%s/topics/%s/%s/%s/description.md', \realpath($this->examplesPath), $topic, $example, $firstOption); + $path = \sprintf('%s/topics/%s/%s/%s/documentation.md', \realpath($this->examplesPath), $topic, $example, $firstOption); } else { - $path = \sprintf('%s/topics/%s/%s/description.md', \realpath($this->examplesPath), $topic, $example); + $path = \sprintf('%s/topics/%s/%s/documentation.md', \realpath($this->examplesPath), $topic, $example); } if (false === \file_exists($path)) { @@ -102,7 +144,7 @@ public function examples(string $topic) : array throw new \RuntimeException(\sprintf('Topic "%s" doesn\'t exists, it should be located in path: "%s".', $topic, $path)); } - $examples = \array_values(\array_diff(\scandir($path), ['..', '.', '.gitignore', 'priority.txt'])); + $examples = \array_values(\array_diff(\scandir($path), ['..', '.', '.gitignore', '_meta.yaml'])); if (0 === \count($examples)) { throw new \RuntimeException(\sprintf('Topic "%s" doesn\'t have any example, there should be at least one example in path "%s".', $topic, $path)); @@ -111,21 +153,16 @@ public function examples(string $topic) : array $priorities = []; foreach ($examples as $example) { - $path = \sprintf('%s/topics/%s/%s/priority.txt', \realpath($this->examplesPath), $topic, $example); - - if (false === \file_exists($path)) { - $priorities[$example] = 99; - } else { - $priorities[$example] = (int) \file_get_contents($path); - } + $meta = $this->readMeta(\sprintf('%s/topics/%s/%s', \realpath($this->examplesPath), $topic, $example)); + $priorities[$example] = $meta['priority']; } \asort($priorities); foreach (\array_keys($priorities) as $example) { - $isHidden = \file_exists(\sprintf('%s/topics/%s/%s/hidden.txt', \realpath($this->examplesPath), $topic, $example)); + $meta = $this->readMeta(\sprintf('%s/topics/%s/%s', \realpath($this->examplesPath), $topic, $example)); - if ($isHidden) { + if ($meta['hidden']) { unset($priorities[$example]); } } @@ -202,7 +239,7 @@ public function options(string $topic, string $example) : array return []; } - $items = \array_values(\array_diff(\scandir($path), ['..', '.', '.gitignore', 'priority.txt', 'hidden.txt'])); + $items = \array_values(\array_diff(\scandir($path), ['..', '.', '.gitignore', '_meta.yaml'])); $options = []; foreach ($items as $item) { @@ -220,16 +257,16 @@ public function options(string $topic, string $example) : array $priorities = []; foreach ($options as $option) { - $priorityPath = \sprintf('%s/%s/priority.txt', $path, $option); - $priorities[$option] = \file_exists($priorityPath) ? (int) \file_get_contents($priorityPath) : 99; + $meta = $this->readMeta(\sprintf('%s/%s', $path, $option)); + $priorities[$option] = $meta['priority']; } \asort($priorities); foreach (\array_keys($priorities) as $option) { - $isHidden = \file_exists(\sprintf('%s/%s/hidden.txt', $path, $option)); + $meta = $this->readMeta(\sprintf('%s/%s', $path, $option)); - if ($isHidden) { + if ($meta['hidden']) { unset($priorities[$option]); } } @@ -272,56 +309,29 @@ public function optionsNavigation(string $topic, string $example) : array return $navigation; } - public function output(string $topic, string $example, ?string $option = null) : ?Output + /** + * @return array{name: string, arguments: array} + */ + public function playgroundUrl(string $topic, string $example, ?string $option = null) : array { if ($option !== null) { - $folder = \sprintf('%s/topics/%s/%s/%s', \realpath($this->examplesPath), $topic, $example, $option); - } elseif ($this->hasOptions($topic, $example)) { - $options = $this->options($topic, $example); - - if (0 === \count($options)) { - return null; - } - $firstOption = \current($options); - $folder = \sprintf('%s/topics/%s/%s/%s', \realpath($this->examplesPath), $topic, $example, $firstOption); - } else { - $folder = \sprintf('%s/topics/%s/%s', \realpath($this->examplesPath), $topic, $example); - } - - $paths = \glob( - \sprintf( - '{%s/output.{txt,xml,csv,json},%s/output.*.{txt,xml,csv,json}}', - $folder, - $folder - ), - GLOB_BRACE - ); - - if (!\count($paths)) { - return null; + return [ + 'name' => 'example_option_playground', + 'arguments' => [ + 'topic' => $topic, + 'example' => $example, + 'option' => $option, + ], + ]; } - $content = ''; - - foreach ($paths as $path) { - $content .= \file_get_contents($path); - - if (\count($paths) > 1) { - $content .= \PHP_EOL; - } - } - - if (\count($paths) > 1) { - $extension = 'shell'; - } else { - $extension = \pathinfo($paths[0], \PATHINFO_EXTENSION); - - if ($extension === 'txt') { - $extension = 'shell'; - } - } - - return new Output($content, $extension); + return [ + 'name' => 'example_playground', + 'arguments' => [ + 'topic' => $topic, + 'example' => $example, + ], + ]; } /** @@ -344,21 +354,16 @@ public function topics() : array $priorities = []; foreach ($topics as $topic) { - $path = \sprintf('%s/topics/%s/priority.txt', \realpath($this->examplesPath), $topic); - - if (false === \file_exists($path)) { - $priorities[$topic] = 99; - } else { - $priorities[$topic] = (int) \file_get_contents($path); - } + $meta = $this->readMeta(\sprintf('%s/topics/%s', \realpath($this->examplesPath), $topic)); + $priorities[$topic] = $meta['priority']; } \asort($priorities); foreach (\array_keys($priorities) as $topic) { - $isHidden = \file_exists(\sprintf('%s/topics/%s/hidden.txt', \realpath($this->examplesPath), $topic)); + $meta = $this->readMeta(\sprintf('%s/topics/%s', \realpath($this->examplesPath), $topic)); - if ($isHidden) { + if ($meta['hidden']) { unset($priorities[$topic]); } } @@ -390,6 +395,27 @@ public function topicsNavigation() : array return $navigation; } + private function examplePath(string $topic, string $example, ?string $option = null) : string + { + if ($option !== null) { + return \sprintf('%s/topics/%s/%s/%s', \realpath($this->examplesPath), $topic, $example, $option); + } + + if ($this->hasOptions($topic, $example)) { + $options = $this->options($topic, $example); + + if (0 === \count($options)) { + throw new \RuntimeException(\sprintf('Example "%s" in topic "%s" has no valid options.', $example, $topic)); + } + + $firstOption = \current($options); + + return \sprintf('%s/topics/%s/%s/%s', \realpath($this->examplesPath), $topic, $example, $firstOption); + } + + return \sprintf('%s/topics/%s/%s', \realpath($this->examplesPath), $topic, $example); + } + private function hasOptions(string $topic, string $example) : bool { $path = \sprintf('%s/topics/%s/%s', \realpath($this->examplesPath), $topic, $example); @@ -420,4 +446,26 @@ private function hasOptions(string $topic, string $example) : bool return false; } + + /** + * Read _meta.yaml file and return priority and hidden values. + * + * @return array{priority: int, hidden: bool} + */ + private function readMeta(string $path) : array + { + $metaPath = $path . '/_meta.yaml'; + + if (!\file_exists($metaPath)) { + return ['priority' => 99, 'hidden' => false]; + } + + $content = \file_get_contents($metaPath); + $meta = Yaml::parse($content); + + return [ + 'priority' => $meta['priority'] ?? 99, + 'hidden' => $meta['hidden'] ?? false, + ]; + } } diff --git a/web/landing/src/Flow/Website/StaticSourceProvider/ExamplesSourceProvider.php b/web/landing/src/Flow/Website/StaticSourceProvider/ExamplesSourceProvider.php index 6032a58034..33308cb993 100644 --- a/web/landing/src/Flow/Website/StaticSourceProvider/ExamplesSourceProvider.php +++ b/web/landing/src/Flow/Website/StaticSourceProvider/ExamplesSourceProvider.php @@ -27,9 +27,11 @@ public function all() : array if (\count($options) > 0) { foreach ($options as $option) { $sources[] = new Source('example_option', ['topic' => $topic, 'example' => $example, 'option' => $option]); + $sources[] = new Source('example_option_playground', ['topic' => $topic, 'example' => $example, 'option' => $option]); } } else { $sources[] = new Source('example', ['topic' => $topic, 'example' => $example]); + $sources[] = new Source('example_playground', ['topic' => $topic, 'example' => $example]); } } } diff --git a/web/landing/templates/base.html.twig b/web/landing/templates/base.html.twig index 06c6efc025..14f1822d4d 100644 --- a/web/landing/templates/base.html.twig +++ b/web/landing/templates/base.html.twig @@ -64,6 +64,7 @@ {% endblock %} + {% block header %}
+ {% endblock %}
{% block hero %} @@ -152,10 +154,12 @@ scroll back to top + {% block footer %} + {% endblock %} \ No newline at end of file diff --git a/web/landing/templates/base_wide.html.twig b/web/landing/templates/base_wide.html.twig new file mode 100644 index 0000000000..a61f50eddb --- /dev/null +++ b/web/landing/templates/base_wide.html.twig @@ -0,0 +1,81 @@ +{% extends 'base.html.twig' %} + +{% block header %} +
+ +
+{% endblock %} + +{% block footer %} + +{% endblock %} diff --git a/web/landing/templates/documentation/dsl.html.twig b/web/landing/templates/documentation/dsl.html.twig index 77954c8d16..c3008e2dc5 100644 --- a/web/landing/templates/documentation/dsl.html.twig +++ b/web/landing/templates/documentation/dsl.html.twig @@ -1,4 +1,4 @@ -{% extends 'base.html.twig' %} +{% extends 'base_wide.html.twig' %} {%- block title -%} DSL - Documentation - Flow PHP - Data Processing Framework @@ -13,9 +13,9 @@ {% endblock %} {% block main %} -
-
-
+
+
+

DSL References

@@ -54,7 +54,7 @@ {% endfor %}
-
+

DSL stands for Domain Specific Language. In the case of Flow, the DSL is used to define simple functions that can be used to transform data. @@ -100,7 +100,7 @@ {% endif %} {% endfor %}

-
+
{{ render(controller('Flow\\Website\\Controller\\DocumentationController::navigationRight')) }}
diff --git a/web/landing/templates/documentation/dsl/function.html.twig b/web/landing/templates/documentation/dsl/function.html.twig index e96fed71c7..0e11813fde 100644 --- a/web/landing/templates/documentation/dsl/function.html.twig +++ b/web/landing/templates/documentation/dsl/function.html.twig @@ -1,4 +1,4 @@ -{% extends 'base.html.twig' %} +{% extends 'base_wide.html.twig' %} {%- block title -%} {{ definition.name }} - function - DSL - Flow PHP @@ -9,9 +9,9 @@ {%- endblock -%} {% block main %} -
-
-
+
+
+

DSL

  • @@ -28,7 +28,7 @@ {% endfor %}
-
+

Definition

@@ -88,7 +88,7 @@ async>
-
+
{{ render(controller('Flow\\Website\\Controller\\DocumentationController::navigationRight')) }}
diff --git a/web/landing/templates/documentation/example.html.twig b/web/landing/templates/documentation/example.html.twig index 83660ecb79..8853879549 100644 --- a/web/landing/templates/documentation/example.html.twig +++ b/web/landing/templates/documentation/example.html.twig @@ -1,4 +1,4 @@ -{% extends 'base.html.twig' %} +{% extends 'base_wide.html.twig' %} {%- block title -%} Flow PHP - {{ currentTopic|humanize }} - {{ currentExample|humanize }} - Example @@ -12,12 +12,12 @@ {% endblock %} {% block main %} -
-
-
+
+
+
{{ render(controller('Flow\\Website\\Controller\\DocumentationController::navigationLeft')) }}
-
+

Example: {{ currentExample|humanize }}

@@ -43,19 +43,16 @@ {% endif %} - - {% if composer %} - composer.json -
- -
{{- composer | raw -}}
-
+ {% if documentation %} +

Documentation

+
+ {{ documentation|markdown_to_html }} +
{% endif %} + {% apply spaceless %} - code.php +

Code

- {% if output %} -

Output

-
- {% apply spaceless %} - -
-                
-                    {{- output.content | escape('html') -}}
-                
-            
- {% endapply %} -
- {% endif %} -
-
+
{{ render(controller('Flow\\Website\\Controller\\DocumentationController::navigationRight')) }}
diff --git a/web/landing/templates/example/index.html.twig b/web/landing/templates/example/index.html.twig index 5914849c2e..4f40c0abb6 100644 --- a/web/landing/templates/example/index.html.twig +++ b/web/landing/templates/example/index.html.twig @@ -38,8 +38,11 @@ {% if optionsNavigation|length > 0 %} -