Download the PHP package humanmade/hm-popup-block without Composer

On this page you can find all versions of the php package humanmade/hm-popup-block. 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 hm-popup-block

Popup Block

A lightweight, modern popup block for WordPress that displays any content as a modal dialog.

Features

Trigger Modes

Display Styles

Anchor Positioning

Position popups relative to their trigger button using CSS anchor positioning:

Anchored popups automatically reposition when they would overflow the viewport.

Styling Options

Accessibility

Usage

  1. Add a Popup Block to your page
  2. Set an anchor/ID for the popup (e.g., my-popup)
  3. Add your content inside the popup
  4. Create a button or link with URL #my-popup to trigger it

Exit Intent Popup

  1. Add a Popup Block and set trigger to "On exit intent"
  2. Configure cookie expiration (days before showing again)
  3. The popup will appear when users move to leave the page

Anchored Popup

  1. Add a Popup Block with click trigger
  2. Enable "Use Anchoring" in block settings
  3. Select anchor position (bottom, top, left, right, etc.)
  4. The popup will appear attached to the trigger button

Requirements

Release Process

Releases are cut by the Release GitHub Actions workflow (.github/workflows/release.yml), triggered manually from the Actions tab.

The workflow does everything before the tag exists, then creates the tag once and never touches it again — this keeps every tag immutable, which is what Packagist requires (it rejects tag updates).

Creating a release

  1. Make sure main is green and contains the code you want to ship.
  2. Go to Actions → Release → Run workflow.
  3. Enter the version without a leading v (e.g. 1.2.3).
  4. Run it.

The workflow will then:

  1. Validate the version (must be X.Y.Z) and fail fast if the vX.Y.Z tag already exists.
  2. Build the production assets (npm ci && npm run build).
  3. Stamp the version into popup.php, replacing the __VERSION__ placeholder.
  4. Commit the built assets and stamped version, create an annotated tag vX.Y.Z pointing at that commit, and push the tag — once, never force-pushed.
  5. Build the distribution ZIP with npm run plugin-zip (popup.zip) and publish a GitHub release with auto-generated notes.

The version on main is always the literal placeholder __VERSION__; the real number only ever exists inside a release tag. Follow Semantic Versioning. Because tags are immutable, if a release was wrong, publish a new patch version rather than trying to move a tag.

License

GPL-2.0-or-later


All versions of hm-popup-block with dependencies

PHP Build Version
Package Version
Requires composer/installers 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 humanmade/hm-popup-block contains the following files

Loading the files please wait ...