PHPackages                             launchmind/craft-launchmind-blog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. launchmind/craft-launchmind-blog

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

launchmind/craft-launchmind-blog
================================

Publish your Launchmind AI-generated SEO &amp; GEO blog on your Craft CMS site.

v1.0.0(yesterday)00proprietaryPHPPHP &gt;=8.2

Since Jun 18Pushed yesterdayCompare

[ Source](https://github.com/Promesses-alfa/launchmind-craft)[ Packagist](https://packagist.org/packages/launchmind/craft-launchmind-blog)[ RSS](/packages/launchmind-craft-launchmind-blog/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Launchmind Blog for Craft CMS
=============================

[](#launchmind-blog-for-craft-cms)

Publish your [Launchmind](https://launchmind.io) AI-generated SEO &amp; GEO blog on your Craft CMS 5 site. Articles are pulled live from the Launchmind API and cached — nothing is written to your Craft database, so your content always reflects the latest from Launchmind.

Requirements
------------

[](#requirements)

- Craft CMS 5.0.0 or later
- PHP 8.2 or later
- A Launchmind account and API key

Installation
------------

[](#installation)

From the Plugin Store: search for **Launchmind Blog** and click **Install**.

Or with Composer:

```
composer require launchmind/craft-launchmind-blog
php craft plugin/install launchmind-blog
```

Setup
-----

[](#setup)

1. Go to **Settings → Plugins → Launchmind Blog**.
2. Paste your **API key** (find it in your Launchmind dashboard under *Settings → Connectors*). You can also reference an environment variable, e.g. `$LAUNCHMIND_API_KEY`.
3. Set the **Blog path** (default `blog`).
4. Click **Test connection**, then **Save**.

Your blog is now live at `/blog` (list) and `/blog/` (articles).

> Tip: use the API key `lm_test_demo1234567890` to preview the plugin with sample content before connecting a real account.

Two ways to render
------------------

[](#two-ways-to-render)

**Bundled templates (zero config).** The plugin ships starter templates and registers the routes for you. Override them by copying any file from `vendor/launchmind/craft-launchmind-blog/src/templates/launchmind-blog/` into `templates/launchmind-blog/` in your own project.

**Your own templates (full control).** Pull the data wherever you like:

```
{% set posts = craft.launchmind.posts({ limit: 6 }) %}
{% for post in posts %}

    {{ post.title }}
    {{ post.excerpt }}

{% endfor %}

{# A single article #}
{% set post = craft.launchmind.post('my-article-slug') %}
{{ post.html|raw }}
```

Each post exposes: `id`, `slug`, `title`, `excerpt`, `html`, `coverImage`, `tags`, `author`, `publishedAt`, `language`, `availableLanguages`, `wordCount`, `isVoiceArticle`, and `seo.title` / `seo.description`.

Configuration file (optional)
-----------------------------

[](#configuration-file-optional)

Create `config/launchmind-blog.php` to manage settings in code / per environment:

```
