Download the PHP package justinholtweb/craft-leads without Composer

On this page you can find all versions of the php package justinholtweb/craft-leads. 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-leads

Leads — Popup & Lead Generation for Craft CMS

Popup and lead generation plugin for Craft CMS 5. Create modals, slide-ins, notification bars, and inline forms with targeting rules, email service integrations, and analytics — all natively within your control panel.

Requirements

Installation

Features

Feature Description
Popup types Modal, slide-in, notification bar, inline form
Triggers Time delay, scroll percentage, exit intent, click
Templates 8 built-in designs (clean, bold, minimal)
Integrations Mailchimp, ConvertKit, webhook
Analytics Impressions, conversions, conversion rates
Targeting Page URLs, device type, visitor frequency
Spam protection Honeypot field, rate limiting
Queue sync Background sync to email providers via Craft queue

Configuration

All settings are available in the control panel under Leads → Settings, or via config/leads.php:

Usage

Auto-Inject (Default)

When autoInjectScript is enabled, active popups are automatically injected on all frontend pages. No template changes needed.

Manual Twig Functions

Disable auto-inject and add to your template manually:

Template Variable

Access popup data via the craft.leads variable:

Popup Types

Type Description Position Options
modal Centered overlay with backdrop —
slidein Corner panel bottom-right, bottom-left
bar Full-width notification strip top, bottom
inline Embedded in page content —

Trigger Types

Trigger Value Description
time Seconds (e.g., 3) Show after N seconds
scroll Percentage (e.g., 50) Show when user scrolls past N%
exit — Show on exit intent (mouse leaves viewport)
click CSS selector (e.g., .cta-btn) Show when element is clicked

Built-in Templates

8 templates across 3 style families:

Email Integrations

Each popup can sync submissions to an email service provider. Syncing happens in the background via the Craft queue.

Mailchimp

Set integrationProvider to mailchimp and provide:

ConvertKit

Set integrationProvider to convertkit and provide:

Webhook

Set integrationProvider to webhook and provide:

Analytics

Leads tracks three daily metrics per popup:

Stats are aggregated daily (one row per popup per day) for efficient querying. View them on the Leads → Dashboard page with date range filtering.

Submissions

All form submissions are stored in the leads_submissions table and viewable under Leads → Submissions. Export as CSV for use in other tools.

Permissions

Permission Description
leads:accessPlugin Access the Leads CP section
leads:managePopups Create, edit, delete popups
leads:viewSubmissions View submissions list
leads:exportSubmissions Export submissions as CSV
leads:deleteSubmissions Delete individual submissions
leads:viewDashboard View the analytics dashboard
leads:manageSettings Modify plugin settings

Events

Listen to events in a custom module or plugin:

Programmatic Usage

License

This plugin is proprietary software. A valid license is required for each installation. Licenses can be purchased at plugins.craftcms.com.


All versions of craft-leads with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
craftcms/cms Version ^5.3.0
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 justinholtweb/craft-leads contains the following files

Loading the files please wait ...