Download the PHP package roots/acorn-fse-helper without Composer

On this page you can find all versions of the php package roots/acorn-fse-helper. 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 acorn-fse-helper

Acorn FSE Helper

Latest Stable Version Total Downloads Build Status

Acorn FSE Helper provides an easy way to initialize and work with block templates in themes powered by Acorn.

Requirements

Installation

Install via Composer:

Getting Started

Once installed, begin by initializing full-site editing in your theme using Acorn's CLI:

Initializing ensures your current activated theme supports block-templates as well as provides you with the option to publish initial stubs to get started with.

Usage

Once initialized, any block templates located in templates/ will be given priority over existing Blade views.

Blade Directives

To assist with hybrid theme development, Acorn FSE Helper includes a few useful Blade directives out of the box for working with blocks inside of views.

@blocks

The @blocks directive allows you to render raw block markup inside of a view using do_blocks():

@blockpart

The @blockpart directive provides a convenient way to render block template parts inside of your views using block_template_part():

To render multiple template parts at once, you may pass an array in the order you wish them to be rendered in:

Bug Reports

If you discover a bug in Acorn FSE Helper, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

Acorn FSE Helper is provided under the MIT License.


All versions of acorn-fse-helper with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
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 roots/acorn-fse-helper contains the following files

Loading the files please wait ....