splash/phpcore

Splash Foundation Module for All Php Applications

Installs: 59 853

Dependents: 9

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 5

Open Issues: 0

Type:package

pkg:composer/splash/phpcore

2.3.12 2025-03-25 15:58 UTC

README

N|Solid

Splash Php-Core

Core library for building Splash Sync connectors in PHP.

What is Splash Sync?

Splash Sync is a universal data synchronization framework. Connectors built with this library can exchange data (Products, Orders, Customers, etc.) between any application and the Splash ecosystem.

Features

  • Base classes for Objects and Widgets
  • Fluent API for field definitions
  • Helpers for complex fields (prices, images, files)
  • Auto-discovery of fields and getters/setters with IntelParserTrait
  • Object extensions and filters

Installation

composer require splash/phpcore

Requirements

  • PHP 7.4+ (8.x recommended)
  • Extensions: xml, soap, simplexml, xmlwriter, libxml

Documentation

See the full documentation for:

Quick Example

<?php

namespace Splash\Local\Objects;

use Splash\Core\Models\AbstractObject;
use Splash\Core\Models\Objects\IntelParserTrait;

class ThirdParty extends AbstractObject
{
    use IntelParserTrait;
    use ThirdParty\CrudTrait;
    use ThirdParty\CoreTrait;

    protected static string $name = "Third Party";
    protected static string $description = "Customer or Supplier";
    protected static string $ico = "fa fa-user";
}

Ecosystem

Package Description
Toolkit Development environment (CLI/Docker)
Php-Bundle Symfony integration
OpenAPI REST API connectors
Metadata PHP 8 attributes support

License

This module is part of SplashSync project.