Download the PHP package norea/bagisto-announce without Composer

On this page you can find all versions of the php package norea/bagisto-announce. 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 bagisto-announce

Bagisto Announce

Latest Version Total Downloads

Coming-soon product status, "notify me" subscriptions, and an admin release-newsletter manager for Bagisto 2.x.

Turn any product into an announcement ("coming soon"): the storefront shows a Notify me form instead of the price/buy button, e-mails are collected per product, and from Admin → Marketing → Announcements you compose and send a release newsletter to the people who subscribed — only to those you haven't notified yet.

License: MIT.


Screenshots

Admin → Marketing → Announcements — every coming-soon product with its subscriber counts:

Compose & send a release newsletter Storefront — "notify me"

Requirements

Installation

Install via Composer:

Or pin the major version: composer require norea/bagisto-announce:^1.0

Run the migrations (creates the subscriber/campaign tables and the coming_soon attribute):

Optionally publish the config:

Clear caches so the new menu item and routes are picked up:

Storefront integration (one include)

The admin side works out of the box. To show the Notify me form on the product page, add this include where the buy button is — in a theme override of packages/Webkul/Shop/src/Resources/views/products/view.blade.php (or your theme's copy):

To also hide the price / add-to-cart for announced products, wrap those blocks:

That's it — the partial includes its own JavaScript and posts to the package's CSRF-exempt, rate-limited announce/notify endpoint.

Optional: badge on catalog cards

If you expose the attribute in your product API resource ('coming_soon' => (bool) $this->coming_soon), you can show a "Coming soon" badge on listing cards and hide their add-to-cart button with a simple v-if="! product.coming_soon" in the card component.

Usage

  1. Edit a product → in the settings turn on Coming soon, save.
  2. The product page shows the Notify me form; visitors subscribe.
  3. Go to Admin → Marketing → Announcements. Each announced product shows how many subscribed and how many are new.
  4. Click Compose newsletter, edit subject/body, Send — it queues and mails only the new subscribers, then marks them sent.
  5. Click the subscriber count to view/edit the list; uncheck Sent to include someone again next time. Save to apply.
  6. When the product actually launches, turn Coming soon off — it becomes a normal, purchasable product.

Configuration

config/announce.php:

Key Default Description
attribute_code coming_soon Boolean product attribute that flags an announcement.
chunk_size 50 Recipients processed per batch when a campaign runs.

How it stores data

License

MIT © zilber-llm


All versions of bagisto-announce 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 norea/bagisto-announce contains the following files

Loading the files please wait ...