Download the PHP package larsgowebdev/wp-battery-cli without Composer

On this page you can find all versions of the php package larsgowebdev/wp-battery-cli. 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 wp-battery-cli

WP-Battery CLI Plugin

A WordPress CLI plugin that provides commands for creating and managing WP-Battery theme components. This plugin extends WP-CLI to streamline the development workflow with WP-Battery themes.

Requirements

Installation

  1. Install the plugin with composer:

  2. Make sure the plugin is activated:

  3. Verify installation:

Available Commands

Initialize WP-Battery Structure

Creates the required folder structure for a WP-Battery theme.

Usage:

This creates the following structure in your theme:

Create Block

Creates a new block with required files and structure.

Required arguments:

Usage:

Creates:

Create Page Template

Creates a new page template with required files.

Required arguments:

Usage:

Creates:

Create Menu Configuration

Creates a new menu configuration file.

Required arguments:

Usage:

Creates:

Create Options Page

Creates a new ACF options page configuration.

Required arguments:

Usage:

Creates:

Create Custom Post Type

Creates a custom post type configuration file to be automatically loaded by WP-Battery.

Required arguments:

Usage:

Creates:

Create Custom Taxonomy

Creates a custom taxonomy configuration file to be automatically loaded by WP-Battery.

Required arguments:

Usage:

Creates:

Naming Conventions

All component names must follow these rules:

Examples:


Renderer Functions

Both blocks and pages support custom render functions for data processing. These functions must:

Example:

Safety Features

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

This project is licensed under the GPL-2.0 License.


All versions of wp-battery-cli with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
roots/wordpress Version >= 6.6.1
larsgowebdev/wp-battery Version >=0.7.0 <1.0.0
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 larsgowebdev/wp-battery-cli contains the following files

Loading the files please wait ....