Download the PHP package zerofront/module-zero-gift-card without Composer

On this page you can find all versions of the php package zerofront/module-zero-gift-card. 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 module-zero-gift-card

Zero_GiftCard

Gift cards: sold as a product, emailed once paid, spent at checkout like money.

Codes: 16 characters in four groups, no look-alike characters; typed codes are read in any case, with or without dashes. Cards are per website, in its base currency; expiry optional (Cards Expire After, Days). Settings: Stores > Configuration > Zero > Gift Cards.

Tables: zero_giftcard, zero_giftcard_history; columns on quote, sales_order, sales_invoice, sales_creditmemo.

Install

Requires Magento Open Source 2.4.7–2.4.9 and PHP 8.2–8.4 with the GD extension built with WebP (php -r 'var_dump(function_exists("imagewebp"));' says true; Magento's own PHP requirements cover the rest). Without WebP in GD, Zero skips its WebP image copies and serves the originals.

Composer installs zerofront/module-zero-checkout with it.

Part of zerofront/zero, which installs the Zero theme and every Zero module at once.

Tests

Test/Unit/Model/CodesTest.php; dev/tests/zero-e2e/tests/giftcard.spec.ts (ZERO_GIFTCARD_PRODUCT), giftcard-admin.spec.ts (a card made by hand pays a whole order).

Disabling or removing

Its data lives in its own tables (zero_giftcard, zero_giftcard_history). With the module's code still in place, bin/magento module:disable Zero_GiftCard followed by setup:upgrade drops those tables (Magento's declarative schema), and enabling the module again brings them back empty. To keep the data, switch the feature off in Stores > Configuration where it has a setting, or back up first: bin/magento setup:upgrade --safe-mode=1 dumps the data before anything is dropped (--data-restore=1 puts it back). Deleting the module's code instead leaves the tables in place.

License

OSL-3.0 or AFL-3.0, your choice: see NOTICE.md.


Vilmate

Zero is made by Fixstacks in partnership with Vilmate, a software development company. Documentation: https://zerofront.dev/docs. Demo store: https://demo.zerofront.dev.


All versions of module-zero-gift-card with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0||~8.3.0||~8.4.0
magento/framework Version 103.0.*
magento/module-backend Version *
magento/module-catalog Version *
magento/module-catalog-rule Version *
magento/module-checkout Version *
magento/module-config Version *
magento/module-eav Version *
magento/module-email Version *
magento/module-quote Version *
magento/module-sales Version *
magento/module-store Version *
magento/module-tax Version *
zerofront/module-zero-checkout Version ^1.3.6
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 zerofront/module-zero-gift-card contains the following files

Loading the files please wait ...