Download the PHP package eighteen73/spark without Composer

On this page you can find all versions of the php package eighteen73/spark. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package spark

Spark

A WordPress plugin that fetches and manages block patterns from a remote API, providing a centralised pattern library for consistent design across multiple websites.

Overview

Spark solves the problem of manually updating block patterns across multiple client websites. Instead of updating patterns individually on each site, you can manage them centrally and have them automatically distributed to all connected websites.

Features

Requirements

Installation

Manual Installation

  1. Download the plugin files
  2. Upload the spark folder to your /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Configure your credentials (see Configuration section)

Via WP-CLI

Configuration

Credentials Setup

Add your username and password to your wp-config.php file:

Important: Never store credentials in the database or plugin files. Always use wp-config.php for security.

API Endpoint

The plugin connects to any compatible pattern service API. The endpoint URL is configurable via the SPARK_API_URI constant. Contact your administrator for the correct endpoint URL and credentials.

Usage

Initial Setup

  1. Configure API Settings: Add your username, password, and API URI to wp-config.php
  2. Fetch Patterns: Go to Settings → Spark and click "Update Patterns"
  3. Verify Patterns: Check that patterns appear in the table and are available in the block editor

Admin Interface

Navigate to Settings → Spark to access the plugin's admin interface:

Block Editor Integration

Once patterns are fetched, they automatically appear in the WordPress block editor:

  1. Open any post or page in the block editor
  2. Click the "+" button to add a block
  3. Navigate to the "Patterns" tab
  4. Find your patterns organised by category

Automatic Synchronisation

The plugin automatically syncs patterns weekly using WordPress cron:

Pattern Information

Each pattern includes comprehensive metadata:

Field Description
Name Unique pattern identifier
Title Display name in the editor
Categories Pattern categories for organisation
Description Pattern description and usage notes
Last Updated When the pattern was last modified
Block Types Compatible block types
Post Types Compatible post types
Template Types Compatible template types
Viewport Width Recommended viewport width
Inserter Whether pattern appears in inserter

Security

Development

File Structure

Hooks and Filters

The plugin provides several WordPress hooks for customization:

License

GPL-2.0-or-later


All versions of spark with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package eighteen73/spark contains the following files

Loading the files please wait ...