Download the PHP package made-by-bramble/craft-ecards without Composer

On this page you can find all versions of the php package made-by-bramble/craft-ecards. 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 craft-ecards

eCards by Bramble

A powerful and flexible eCards plugin for Craft CMS that integrates with Craft Commerce to provide digital greeting card functionality for your e-commerce store.

Features

🎨 Design Management

💌 eCard Management

🛍️ Commerce Integration

⏰ Scheduling System

📧 Email Features

🔧 Developer Features

Requirements

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project's Control Panel and search for "eCards by Bramble". Then click "Install".

With Composer

Open your terminal and run the following commands:

Configuration

After installation, you can configure the plugin through the Control Panel under Settings → eCards by Bramble.

Usage

Creating eCard Designs

  1. Navigate to eCards by Bramble → Designs in the Control Panel
  2. Click "New Design"
  3. Upload your design image
  4. Configure the email template if required. If left blank, the default email template will be used.
  5. Save your design

Adding eCards to Products

  1. Edit your product type
  2. Add the "Ecard Multi Design" field type and give it a suitable handle
  3. Assign designs to your products

Updating Your Product Page

The plugin requires that you specify several options when adding your products to the cart.

For convenience, a function has been added to the EcardMultiDesignField class that will generate the necessary HTML for the designId for you. Ensure you replace the field handle with the handle you gave your field.

Alternatively, you can build your own HTML. As long as you pass through all of the required options, the plugin will handle the rest.

The sendAt field is a date picker field. If you want to send the eCard immediately, you can set the date to today or leave it blank.

Validating eCard Information

The plugin will automatically validate the eCard information when the product is added to the cart. If the information is not valid, an array of errors will be added to the order and the add to cart will fail. You can then use the craft.commerce.carts.cart.errors function to access and display the errors to the user.

Managing eCards

  1. Navigate to eCards by Bramble → Manager
  2. View all sent and scheduled eCards
  3. Search and filter eCards
  4. Resend or delete eCards as needed

Order Processing

The plugin automatically processes eCards when an order is completed:

Scheduled eCards

The plugin can automatically send scheduled eCards. To enable this behaviour you must create a cron job that calls the index method of the CronController class. This is an example of how you can do this in a Linux environment:

This will run the cron job every minute. You can adjust the frequency as needed.

Support

For support, please contact [email protected]

License

This plugin requires a commercial license which can be purchased through the Craft Plugin Store.


All versions of craft-ecards with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
craftcms/cms Version ^5.5
craftcms/commerce Version ^5.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 made-by-bramble/craft-ecards contains the following files

Loading the files please wait ....