Download the PHP package seoul-commerce/magento2-alpinejs-collapse without Composer

On this page you can find all versions of the php package seoul-commerce/magento2-alpinejs-collapse. 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 magento2-alpinejs-collapse

FriendsOfHyva_AlpineJsPersist

This is a Magento module specifically for Hyvä, which adds the AlpineJS persist plugin to Hyvä. This plugin allows you to persist Alpine.js component data between page reloads.

Alpine.js Persist Plugin

The Alpine.js persist plugin is a plugin that allows you to persist Alpine.js component data between page reloads. This plugin can be used to store data associated with Alpine.js components in the browser's local storage or session storage, allowing it to be retrieved and restored when the user returns to the page.

For more information on how to use the AlpineJS persist plugin, please refer to the official Alpine.js documentation.

Example

To use the persist plugin in your Hyvä theme, you can add the $persist property to your Alpine.js component and specify which data properties should be persisted.

In this Alpine.js example, the count property is initialized with a default value of 0 using the $persist function, which enables the property to persist its value between page reloads using local storage.

Installation

To install the FriendsOfHyva_AlpineJsPersist module via composer, run the following command:

This module requires Hyvä theme 1.2.0 or higher and AlpineJS v3.

Using AlpineJS persist to save Magewire component data

See more details here.

Note

This module is made specifically for Hyvä and doesn't work with native Magento.

For more information on Hyvä, please visit the official Hyvä website.

Copyright & License

Copyright (c) 2023 Friends of Hyvä

The module is released under the MIT.


All versions of magento2-alpinejs-collapse with dependencies

PHP Build Version
Package Version
Requires php Version ~7.4|~8.2
magento/magento-composer-installer Version *
hyva-themes/magento2-theme-module Version ^1.2
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 seoul-commerce/magento2-alpinejs-collapse contains the following files

Loading the files please wait ....