Download the PHP package jotham-lec/statamic-marketing-toolkit without Composer

On this page you can find all versions of the php package jotham-lec/statamic-marketing-toolkit. 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 statamic-marketing-toolkit

Marketing Toolkit

The Marketing overview, with the SEO score, the failing checks, recent 404s, redirects, and the brand

SEO, redirects, 404s, SEO reports, tracking tags and Consent Mode for Statamic. Built for teams where marketing has ownership over SEO & Analytics, so that designers/developers can focus on app logic and design. A Laravel Boost extension gives AI coding agents the same knowledge.

For marketers

For developers

How it works under the hood is in For developers.

For AI coding agents: a Laravel Boost extension

The addon extends Laravel Boost, Laravel's official AI toolkit, so that Claude Code, Cursor, Codex and other agents work with it rather than around it. Install Boost (composer require laravel/boost --dev) and run php artisan boost:install: the addon is listed among the packages with guidelines and skills.

Every name starts with marketing-toolkit-, beside Boost's and Statamic's own and never in their place. Without Boost nothing changes, and nothing leaves the site. Details are in configuration.md.

Screens

The preview updates as you type, for Google and for shares on Facebook, LinkedIn, WhatsApp, and X.

An entry's SEO tab, with the Google preview and the share cards for Facebook and X

An SEO report with a score of 98, two failing checks, and the Export CSV button
Each check lists the pages it flagged. Export the report as a CSV.
The toolbar in the bottom-left corner of a page, its SEO score panel open on two warnings, with icons for the control panel, editing, preview, redirects, tracking, the cache and settings
Signed in, each page of the live site shows its score and what to fix.
The redirects list, with a wildcard redirect, a 410, and a redirect marked Automatic
Moved pages get their redirect automatically.
The Tracking tab of the Marketing settings, warning that Tag Manager and Google Analytics are both set
You're warned when GTM and another tag would count each visit twice.

Requirements

Details are in Getting started.

Installation

php artisan migrate creates the mt_redirects, mt_redirect_hits, mt_404s, mt_reports, mt_report_pages and mt_search_stats tables. mt:install:

Running it again overwrites nothing. It adds only what is missing, such as the fields a newer version brings.

Then add one tag after <meta charset> and the viewport, and one right after <body>:

In Antlers, use {{ mt:head }} and {{ mt:body }}.

Next steps are in Getting started. Moving a site that already has SEO set up? Follow the migration checklist, or hand it to an AI agent with the migration skill.

Where things are

Everything is in the Marketing section of the control panel, after Statamic's own sections (each user can move it under Preferences → Nav):

Screen What's there
Overview The latest score, recent 404s, redirects, Search Console clicks, and the files the site serves, with any file in public/ that shadows one
Reports Run a report, see each check and the pages it flagged, export a CSV, and schedule reports
Redirects Add, import and export redirects
404s Missing pages real visitors hit, how often, and the last page that linked there
Search Console Connect Google Search Console, step by step, and import its numbers
Brand Title separator, default description and share image, icon, publisher, share-card colours
Settings Tracking IDs, Consent Mode, leads, verification codes, robots.txt, ads.txt, and the feature switches

Each entry's SEO fields and preview are on its SEO tab. Who sees which screen is set under Users → Roles, in the Marketing group.

Scheduled tasks

Registered automatically, provided Laravel's scheduler is running:

Command When
mt:report Off by default. Daily or weekly, at 03:00 unless you choose another time (Marketing → Reports → Settings)
mt:search-console Daily, 04:30, once a Search Console property is connected

Security and privacy

How it compares with other add-ons

Statamic has great add-ons for each part of this. Pick them instead if:

Add-on What it covers
SEO Pro SEO, sitemap, redirects, 404s, and reports, by the Statamic team
Advanced SEO SEO, sitemaps, redirects, social images, and multi-site
Aardvark SEO On-page SEO, schema, and redirects
Redirect Redirects and 404s
404 Logger A log of 404 requests
Consent Manager A cookie banner and consent for tracking scripts
Favicons Favicons from one image
AB Tester A/B experiments

Documentation

Development

How the tests are set up, and how to run them on Postgres, is in CONTRIBUTING.

Licence and support

Free and open source under the MIT licence. No editions, no licence key. Questions and bugs go to GitHub issues.

If it's useful to you, please give it a heart on the Statamic Marketplace, and if it saves you time, you can buy me a coffee.


All versions of statamic-marketing-toolkit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-curl Version *
ext-dom Version *
simonhamp/the-og Version ^0.8
statamic/cms Version ^6.34
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 jotham-lec/statamic-marketing-toolkit contains the following files

Loading the files please wait ...