Flow PHP Documentation

repository·1.x·Indexed 21 days ago

https://github.com/flow-php/flow

A strongly typed, memory-efficient data processing framework for PHP supporting PHP 8.3, 8.4, and 8.5. Flow enables complex data manipulations including DataFrame operations, joins, and aggregations. It features a comprehensive ecosystem of ETL adapters for CSV, JSON, XML, Excel, Google Sheets, PostgreSQL, Doctrine, Parquet, and HTTP, as well as various bridges for AWS, Azure, Monolog, OpenAPI, and PHPUnit.

Tokens
280.5K
Snippets
820
Records
1.1K
Agent score
74%

What's inside Flow PHP

  1. Overview of Snappy PHP

    1.x

    Snappy is a pure PHP implementation of the Google Snappy compression algorithm. It is a port of the snappyjs JavaScript library.

    Performance Note: While this library provides a pure PHP implementation, it is highly recommended to install the PHP Extension for better performance whenever possible. If the extension is not installed, this library will automatically register polyfill functions to ensure functionality.

  2. Overview of the PostgreSQL ETL Adapter

    1.x
    The PostgreSQL ETL Adapter integrates PostgreSQL into Flow PHP ETL workflows. It is built on top of the flow-php/postgresql library and provides efficient data extraction with built-in pagination support. It is designed for large-scale and data-intensive environments where precise database interaction and efficient data processing are required.
  3. Overview of Symfony PostgreSQL Bundle features

    1.x

    The flow-php/symfony-postgresql-bundle integrates Flow PHP's PostgreSQL capabilities into the Symfony ecosystem. It is built on top of flow-php/postgresql and flow-php/pg-query-ext.

    Key capabilities include:

    • Multiple database connections: Independent management of several PostgreSQL connections.
    • Database management commands: Console commands to create/drop databases and execute SQL.
    • Migration framework: Tools to generate, execute, and track schema migrations.
    • Schema diffing: Automatic migration generation by comparing databases to catalog definitions.
    • Rollback support: Reversible migrations with automatic rollback files.
    • Telemetry integration: Distributed tracing, query logging, and metrics per connection.
    • Catalog provider system: Defining target schemas via PHP attributes, service references, or inline YAML.
  4. Overview of the Google Sheet ETL Adapter

    1.x
    The Google Sheet ETL Adapter is a library designed for Flow PHP to enable seamless interaction with Google Sheets within ETL (Extract, Transform, Load) workflows. It allows developers to extract data from Google Sheets or load data into them as part of a data transformation pipeline. This adapter is part of the Flow PHP ecosystem and is intended for large-scale and data-intensive projects requiring robust Google Sheets integration.
  5. Overview of ETL Adapter: HTTP

    1.x
    The etl-adapter-http library is a component of the Flow PHP ecosystem designed to integrate HTTP protocol interactions directly into ETL (Extract, Transform, Load) workflows. It provides a streamlined API for sending and receiving HTTP requests, allowing developers to treat HTTP communication as a standard step within a data transformation pipeline. This is particularly useful for data-intensive environments where data must be extracted from or loaded into web services via HTTP.
  6. Overview of the Azure SDK for Flow PHP

    1.x
    The Azure SDK is a lightweight, modular, and dependency-free SDK for Azure services built on PSR contracts. It is specifically optimized for handling Azure Blob Storage and is designed to provide seamless integration between the Flow Filesystem and Azure Blob Storage.
  7. Overview of ETL Adapter: ChartJS

    1.x
    The etl-adapter-chartjs library integrates ChartJS into Flow PHP's ETL (Extract, Transform, Load) workflows. It is designed to allow developers to render and interact with charts as part of a data transformation pipeline, facilitating data visualization within large-scale or data-intensive environments. It provides a streamlined API for managing chart rendering tasks directly within the Flow PHP ecosystem.
  8. Overview of ETL Adapter: JSON

    1.x
    The etl-adapter-json library is a specialized component of Flow PHP designed for handling JSON data within ETL (Extract, Transform, Load) workflows. It provides a streamlined API for extracting data from JSON formats or loading data into them, making it suitable for complex data transformation tasks in data-intensive environments.
  9. Overview of ETL Adapter: Text

    1.x
    The etl-adapter-text library is a specialized component of the Flow PHP ecosystem designed for handling text data within ETL (Extract, Transform, Load) workflows. It provides a streamlined API for extracting data from text formats or loading data into them, facilitating precise text data processing and complex transformations in data-intensive projects.
  10. Overview of PHPUnit PostgreSQL Bridge

    1.x
    The PHPUnit PostgreSQL Bridge is a PHPUnit extension designed for use with flow-php/postgresql. Its primary purpose is to allow developers to wrap their database tests within transactions, ensuring that changes made during a test are rolled back and do not persist in the database between test runs.