ReferencePremium
CoullWorks Blog for Laravel configuration reference
Every configuration key of the package by config file, with type, default and what it controls.
Updated 16 November 2026Back to the package pageBuy
Every option below is read from the coullworks-blog configuration key. Each key is shown in full, so you can read it with config('coullworks-blog.<key>'). Options for optional modules (comments, analytics, import, AI) only matter once that module is switched on with its enabled key.
Core configuration keys#
Defined in the package's core config file, config/coullworks-blog.php, published with php artisan vendor:publish --tag=cwb-config.
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.tables.prefix | string | cwb_ | Prefix for every package table (default cwb_). Read by Tables::name(). |
coullworks-blog.tables.names | list | [] | Per-table overrides keyed by the default suffix (for example posts). |
coullworks-blog.frontend | string | blade | blade, livewire, inertia or none (headless). |
coullworks-blog.language_switcher | boolean | true | Show the reader-facing language switcher (plain links to the same page in each language) on every front end of a blog with more than one language. false hides it; the hreflang links in the head stay. See Language switcher. |
coullworks-blog.licence.key | string (from environment) | none | Overrides the key typed in the admin when set. Reads env COULLWORKS_BLOG_LICENCE_KEY. |
coullworks-blog.licence.url | string (from environment) | https://licensing.coullworks.com | Base URL of the licensing server; the remote checker throws a ConnectionException when it is empty. Reads env COULLWORKS_BLOG_LICENCE_URL. |
coullworks-blog.licence.module | string | coullworks/laravel-blog | Module name sent to the licensing server. |
coullworks-blog.licence.buy_url | string | https://coullworks.com | Where the Licence screen sends a buyer (the Buy a licence button). |
coullworks-blog.licence.portal_url | string | https://coullworks.com/account | Where a customer manages a licence (the Licence portal button). |
coullworks-blog.licence.warn_after_days | integer | 7 | Days without a successful licence answer before the admin shows a "check the connection" notice (Licence page and dashboard). It never switches a blog off: a licence is perpetual. |
coullworks-blog.licence.local_hosts | list | [] | Extra hosts treated as local, honoured only when the app environment is not production. A convenience for development machines, not a security control. An IP address is never local unless it is listed here. |
coullworks-blog.redirects.groups | list | ['web'] | Middleware groups that get the old-address lookup. |
coullworks-blog.redirects.global | boolean | true | Also run the lookup as global middleware: group middleware never runs for unmatched URLs. |
coullworks-blog.redirects.gone_on_delete | boolean | true | Deleting a published post leaves a 410 Gone for its addresses when true (DeletePost). |
coullworks-blog.redirects.record_hits | boolean | true | Count each redirect hit (after the response, never in the request) and log addresses that answered 404. |
coullworks-blog.redirects.log_not_found | boolean | true | Log the addresses that answered 404, for the Not found screen. |
coullworks-blog.redirects.not_found_max | integer | 5000 | Most distinct 404 addresses kept per blog; past it only known addresses count. |
coullworks-blog.images.disk | string or null | none | Filesystem disk for images; null uses the default disk (BlogConfig::imageDisk). |
coullworks-blog.images.visibility | string | public | Visibility used when writing image variants and AI images. |
coullworks-blog.images.variants | boolean | true | Generate resized WebP/original-format variants through the GenerateImageVariants queued job; AVIF is skipped. |
coullworks-blog.images.widths | list | [480, 768, 1200] | Variant widths in pixels, sorted ascending. |
coullworks-blog.images.max_bytes | integer | 10485760 | Largest upload accepted by StoreImage (10 MiB). Also the Import media size cap. |
coullworks-blog.images.max_pixels | integer | 40000000 | Largest width x height accepted (40 million). Also the Import media pixel cap. |
coullworks-blog.urls.patterns.index | string | {locale} | URL pattern for the index page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.post | string | {locale}/{slug} | URL pattern for the post page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.category | string | {locale}/category/{slug} | URL pattern for the category page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.tag | string | {locale}/tag/{slug} | URL pattern for the tag page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.author | string | {locale}/author/{slug} | URL pattern for the author page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.archive | string | {locale}/archive/{year}/{month} | URL pattern for the archive page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.search | string | {locale}/search | URL pattern for the search page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.preview | string | {locale}/{slug} | URL pattern for the preview page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.page | string | {locale}/page/{page} | URL pattern for the page page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.sitemap | string | sitemap.xml | URL pattern for the sitemap page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.feed | string | feed/{locale}.xml | URL pattern for the feed page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.urls.patterns.feed_category | string | feed/{locale}/category/{slug}.xml | URL pattern for the feed_category page; tokens in braces ({locale}, {slug}, {year}, {month}, {page}). The Permalinks setting words (category/tag/author/suffix) override category, tag and author at run time. |
coullworks-blog.feeds.items | integer | 20 | Default RSS feed size; the per-blog setting feeds.items overrides it (default of that setting is this value, clamped 1-100). |
coullworks-blog.feeds.max_age | integer | 3600 | Seconds a rendered feed is cached and sent in Cache-Control. |
coullworks-blog.sitemap.per_file | integer | 50000 | URLs per sitemap file before an index is used. |
coullworks-blog.sitemap.chunk | integer | 500 | Rows read per database chunk when the sitemap is built. |
coullworks-blog.sitemap.max_age | integer | 3600 | Cache-Control max-age of sitemap responses, seconds. |
coullworks-blog.xml.throttle | integer | 60 | Requests per minute per IP on the sitemap/feed route (limiter cwb-xml). |
coullworks-blog.search.throttle | integer | 30 | Requests per minute per IP on public search (limiter blog-web-search). |
coullworks-blog.search.like_locales | list | ['ja', 'zh', 'ko', 'th'] | Locales searched with LIKE instead of full-text (CJK and Thai). |
coullworks-blog.search.pg_configs | list | [] | PostgreSQL text-search configuration per locale (bound, not index-backed). |
coullworks-blog.reserved_slugs | list | see below | Slugs a post may not take, so it cannot collide with the listing prefixes (category, tag and author are still allowed when the prefix word is changed). |
coullworks-blog.content.max_blocks | integer | 500 | Core content validator: most top-level blocks in a saved document (500). The Blocks module has its own lower cap, blocks.max_blocks (200). |
coullworks-blog.content.max_bytes | integer | 1048576 | Core content validator: largest serialised document in bytes (1 MiB). |
coullworks-blog.categories.max_depth | integer | 6 | Deepest category tree (SaveCategory, MoveCategory refuse deeper). |
coullworks-blog.listing.per_page | integer | 12 | Default posts per page; the setting listing.per_page uses it as its default (clamped 1-100). |
coullworks-blog.access.guard | string or null | none | The guard the ContentAccess viewer is read from; null is the default guard. Unused while the default binding allows everyone. |
coullworks-blog.preview.ttl_minutes | integer | 60 | Lifetime of a signed preview token. |
coullworks-blog.seo.tracking_params | list | ['utm_*', 'fbclid', 'gclid', 'cpage'] | Query parameters dropped from canonical URLs; a trailing * matches a prefix. |
coullworks-blog.sanitiser.max_bytes | integer | 1048576 | Largest HTML input the DOM sanitiser accepts. |
coullworks-blog.sanitiser.max_depth | integer | 50 | Deepest element nesting the sanitiser keeps. |
coullworks-blog.log_channel | string or null (from environment) | none | The logging channel for the package's own messages (licence, AI, scheduled publishing, image and block warnings). Null uses the application's default channel. Reads env COULLWORKS_BLOG_LOG_CHANNEL. |
Long defaults:
coullworks-blog.reserved_slugs:['category', 'tag', 'author', 'archive', 'search', 'feed', 'page', 'preview']
Blocks configuration keys#
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.blocks.max_blocks | integer | 200 | a document is capped at this many top-level blocks. |
coullworks-blog.blocks.disabled | list | [] | Types hidden from pickers. Stored content of a disabled type still validates, indexes and renders (A8). |
coullworks-blog.blocks.custom | list | [] | Class names of app-defined BlockType implementations, registered at boot. |
coullworks-blog.blocks.embed_providers | list | ['x', 'bluesky', 'codepen', 'gist', 'spotify', 'loom'] | the default embed provider allow-list; a blog overrides it with the blocks.embed_providers setting. |
Comments configuration keys#
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.comments.enabled | boolean | false | The module is optional: nothing is registered (no route, listener, contributor or extra) while this is false. |
coullworks-blog.comments.middleware | list | [] | Extra middleware for the three public routes. Add 'web' to let signed-in readers be recognised by session (then exempt these routes from CSRF, or send the token with the form). |
coullworks-blog.comments.guard | string or null | none | The auth guard used to recognise a signed-in reader; null is the default guard. |
coullworks-blog.comments.honeypot_field | string | cwb_website | The field a human never fills. |
coullworks-blog.comments.token_ttl_minutes | integer | 1440 | How long a form token stays valid. |
coullworks-blog.comments.user_model | string or null | none | The host's user model (a class name), or null. When set, deleting a user of that model anonymises that user's comments (the stored key is the user's auth identifier); a model that soft deletes triggers it on the force delete. Null: nothing is hooked. |
coullworks-blog.comments.throttle.read | integer | 60 | Per client per minute. |
coullworks-blog.comments.throttle.form_token | integer | 60 | Per client per minute. |
coullworks-blog.comments.throttle.unsubscribe | integer | 60 | Per client per minute. |
coullworks-blog.comments.turnstile.url | string | https://challenges.cloudflare.com/turnstile/v0/siteverify | Provider verify endpoints and secrets. The secrets belong in the host's .env, never in the database. |
coullworks-blog.comments.turnstile.secret | string (from environment) | none | Provider verify endpoints and secrets. The secrets belong in the host's .env, never in the database. Reads env COULLWORKS_BLOG_TURNSTILE_SECRET. |
coullworks-blog.comments.recaptcha.url | string | https://www.google.com/recaptcha/api/siteverify | reCAPTCHA siteverify endpoint (read as comments.<provider>.url by ProviderVerifier). |
coullworks-blog.comments.recaptcha.secret | string (from environment) | none | Secret for server-side verification. Keep it in .env. Reads env COULLWORKS_BLOG_RECAPTCHA_SECRET. |
Analytics configuration keys#
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.analytics.enabled | boolean | false | The module is optional: nothing is registered (no route, listener, command, schedule, extra or panel extension) while this is false. |
coullworks-blog.analytics.middleware | list | [] | Extra middleware for the view endpoint. It must not start a session: the page may come from a full-page cache. |
coullworks-blog.analytics.dedup_minutes | integer | 30 | Minutes one client is counted once per post (A3). |
coullworks-blog.analytics.throttle | integer | 120 | Requests per minute per client on the view endpoint. |
coullworks-blog.analytics.queue | string or null | none | The queue the count job and the recompute jobs use; null is the default queue. |
coullworks-blog.analytics.popular_cache_seconds | integer | 300 | Seconds the popular and related lists are cached; 0 turns the cache off. |
coullworks-blog.analytics.related_cache_seconds | integer | 300 | Seconds related lists are cached; 0 turns the cache off. |
coullworks-blog.analytics.bots | list | see below | User-agent fragments that are never counted, matched case-insensitively. A host list replaces this one. |
Long defaults:
coullworks-blog.analytics.bots:['bot', 'crawl', 'spider', 'slurp', 'curl', 'wget', 'python-requests', 'python-urllib', 'go-http-client', 'httpclient', 'java/', 'okhttp', 'libwww', 'headless', 'lighthouse', 'facebookexternalhit', 'embedly', 'preview', 'monitor', 'uptime', 'pingdom', 'scrapy', 'phantomjs']
Import configuration keys#
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.import.enabled | boolean | false | The module is optional: nothing is registered (no command, listener or panel extension) while this is false. |
coullworks-blog.import.media.timeout | integer | 20 | Seconds to wait for one download. The size and pixel caps are Core's (images.max_bytes, images.max_pixels). |
coullworks-blog.import.media.max_redirects | integer | 5 | Redirects followed per media download; hosts are checked against private addresses at each hop. |
coullworks-blog.import.flush_every | integer | 100 | Counts are written to the database every this many records so a screen can poll progress. |
AI configuration keys#
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.ai.enabled | boolean | false | The module is optional: nothing is registered (no screen, listener, job, command or schedule) while this is false. |
coullworks-blog.ai.drivers | list | see below | The built-in drivers. A host binds its own by tagging a class that implements AiProvider with cwb.ai-providers. |
coullworks-blog.ai.providers.anthropic.models | list | ['claude-opus-5-5', 'claude-sonnet-5-5', 'claude-haiku-4-5'] | Models offered on the AI Writer brief for Anthropic; per-blog setting ai.models.anthropic replaces it. |
coullworks-blog.ai.providers.anthropic.default_model | string | claude-opus-5-5 | Default Anthropic text model; the per-blog setting ai.default_model.anthropic wins. |
coullworks-blog.ai.providers.openai.models | list | ['gpt-6.1-sol', 'gpt-6-astra', 'gpt-6-luna'] | Models offered for OpenAI text; per-blog setting ai.models.openai replaces it. |
coullworks-blog.ai.providers.openai.default_model | string | gpt-6.1-sol | Default OpenAI text model; the per-blog setting wins. |
coullworks-blog.ai.providers.openai.image_models | list | ['gpt-image-2.5-flare', 'gpt-image-2.5-sunburst'] | OpenAI image models; setting ai.image_models.openai replaces it. |
coullworks-blog.ai.providers.openai.default_image_model | string | gpt-image-2.5-flare | Default OpenAI image model (wizard pre-fills it). |
coullworks-blog.ai.providers.gemini.models | list | [] | Gemini offers no text models (empty): Gemini is image-only. |
coullworks-blog.ai.providers.gemini.image_models | list | ['gemini-3-pro-image'] | Gemini image models; setting ai.image_models.gemini replaces it. |
coullworks-blog.ai.providers.gemini.default_image_model | string | gemini-3-pro-image | Default Gemini image model. |
coullworks-blog.ai.pricing.claude-opus-5-5.in | integer | 4 | Estimated price per million input tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.claude-opus-5-5.out | integer | 20 | Estimated price per million output tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.claude-sonnet-5-5.in | integer | 2 | Estimated price per million input tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.claude-sonnet-5-5.out | integer | 10 | Estimated price per million output tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.claude-haiku-4-5.in | integer | 1 | Estimated price per million input tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.claude-haiku-4-5.out | integer | 5 | Estimated price per million output tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-6.1-sol.in | integer | 2 | Estimated price per million input tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-6.1-sol.out | integer | 10 | Estimated price per million output tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-6-astra.in | integer | 10 | Estimated price per million input tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-6-astra.out | integer | 50 | Estimated price per million output tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-6-luna.in | number | 0.1 | Estimated price per million input tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-6-luna.out | number | 0.5 | Estimated price per million output tokens, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-image-2.5-flare.image | number | 0.04 | Estimated price per generated image, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gpt-image-2.5-sunburst.image | number | 0.17 | Estimated price per generated image, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.gemini-3-pro-image.image | number | 0.134 | Estimated price per generated image, in the currency of coullworks-blog.ai.currency. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.default.in | integer | 10 | Estimated price per million input tokens, in the currency of coullworks-blog.ai.currency. It is the fallback for a model with no entry of its own. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.default.out | integer | 50 | Estimated price per million output tokens, in the currency of coullworks-blog.ai.currency. It is the fallback for a model with no entry of its own. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.pricing.default.image | number | 0.25 | Estimated price per generated image, in the currency of coullworks-blog.ai.currency. It is the fallback for a model with no entry of its own. Per-blog setting ai.pricing (JSON) replaces same-named models. |
coullworks-blog.ai.currency | string | USD | Currency label for estimated spend (the monthly cap input says "In USD"). |
coullworks-blog.ai.max_tokens.research | integer | 16000 | Largest answer for the research step; spend reservation is priced from it. Per-blog setting ai.max_tokens.research overrides. |
coullworks-blog.ai.max_tokens.outline | integer | 8000 | Largest answer for the outline step. |
coullworks-blog.ai.max_tokens.article | integer | 32000 | Largest answer for the article step. |
coullworks-blog.ai.max_tokens.refresh | integer | 16000 | Largest answer for the refresh step. |
coullworks-blog.ai.timeout | integer | 300 | Provider HTTP timeout in seconds. |
coullworks-blog.ai.retries | integer | 2 | Provider HTTP retries (ProviderHttp). |
coullworks-blog.ai.writer_block_types | list | see below | The block types the writer may use. Takeaways, FAQ, images and sources are added by code from the other fields. |
coullworks-blog.ai.image_folder | string | ai | Folder under blogs/{id}/ on the image disk for AI images. |
Long defaults:
coullworks-blog.ai.drivers:['CoullWorks\Blog\Ai\Drivers\AnthropicDriver', 'CoullWorks\Blog\Ai\Drivers\OpenAiDriver', 'CoullWorks\Blog\Ai\Drivers\GeminiDriver']coullworks-blog.ai.writer_block_types:['coullworks.heading', 'coullworks.text', 'coullworks.callout', 'coullworks.table']
API configuration keys#
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.api.enabled | boolean | true | false registers no route and no limiter. |
coullworks-blog.api.prefix | string | api/blog/v1 | the URL prefix of every API route. |
coullworks-blog.api.middleware | list | [] | middleware the host adds to every API route (for example a token guard). |
coullworks-blog.api.page.size | integer | 12 | Default JSON:API page size. |
coullworks-blog.api.page.max | integer | 50 | Largest page[size] accepted (see QueryParser). |
coullworks-blog.api.rate_limit.default | integer | 60 | per minute, per user id when the host authenticates, else per IP. write is the per user limit of the write routes. |
coullworks-blog.api.rate_limit.search | integer | 20 | per minute, per user id when the host authenticates, else per IP. write is the per user limit of the write routes. |
coullworks-blog.api.rate_limit.write | integer | 30 | per minute, per user id when the host authenticates, else per IP. write is the per user limit of the write routes. |
coullworks-blog.api.write.enabled | boolean | false | the admin write routes exist only when enabled is true. The host's guard authenticates them (the package requires no auth package): middleware is what the host puts in front, auth by default. |
coullworks-blog.api.write.middleware | list | ['auth'] | the admin write routes exist only when enabled is true. The host's guard authenticates them (the package requires no auth package): middleware is what the host puts in front, auth by default. |
coullworks-blog.api.cache.max_age | integer | 60 | seconds. max_age and s_maxage go to Cache-Control; ttl is the server cache lifetime. |
coullworks-blog.api.cache.s_maxage | integer | 300 | seconds. max_age and s_maxage go to Cache-Control; ttl is the server cache lifetime. |
coullworks-blog.api.cache.ttl | integer | 300 | seconds. max_age and s_maxage go to Cache-Control; ttl is the server cache lifetime. |
Blade configuration keys#
Defined in the package's blade config file, published with --tag=cwb-blade-config as config/coullworks-blog-blade.php.
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.blade.framework | string | tailwind | tailwind or bootstrap: the view set every page and component uses. |
coullworks-blog.blade.compiled_css | boolean | true | true: the default layout links the stylesheet the package ships for the view set (compiled, nothing to build). false: it links tokens.css and blog.css only, for a host that builds the Tailwind classes itself (@source the views). |
coullworks-blog.blade.layout | string or null | none | A Blade layout that yields "content" and stacks "cw-head"; null uses the package layout. |
coullworks-blog.blade.middleware | list | ['web'] | Route middleware, before Core's blog, licence and preview middleware. |
coullworks-blog.blade.max_age | integer | 0 | Public page caching headers, in seconds. The browser lifetime is 0: it revalidates with the ETag on every visit, so a post published a moment ago is never hidden by a browser cache. A CDN or proxy keeps a page for s_maxage. |
coullworks-blog.blade.s_maxage | integer | 600 | CDN/proxy cache lifetime (s-maxage) of public pages, seconds. |
coullworks-blog.blade.rail | boolean | true | Show the quick rail (table of contents, share) beside posts. |
coullworks-blog.blade.featured_count | integer | 1 | How many featured posts the index slot shows (0 to 3). |
coullworks-blog.blade.load_more | boolean | false | Show a "load more" link under listings. |
coullworks-blog.blade.components.search | string | cw::search-form | Components the Livewire front end (or a host) can replace. |
coullworks-blog.blade.components.pagination | string | cw::pagination | Components the Livewire front end (or a host) can replace. |
coullworks-blog.blade.components.load_more | string | cw::load-more | Components the Livewire front end (or a host) can replace. |
coullworks-blog.blade.components.list | string | cw::list | Components the Livewire front end (or a host) can replace. |
coullworks-blog.blade.preview_pattern | string | {locale}/preview/{token} | Used for the preview route when Core's preview pattern carries no {token}. |
coullworks-blog.blade.consent_cookie | string | cwb_consent | First-party cookie holding the visitor's embed consent; Blocks' ConsentChecker must read the same name. |
coullworks-blog.blade.share | list | ['x', 'linkedin', 'facebook', 'bluesky', 'email'] | Share targets shown on posts, in order (x, linkedin, facebook, bluesky, email). |
coullworks-blog.blade.recent | integer | 5 | Posts the Recent posts sidebar widget lists when a front end does not say. |
Livewire configuration keys#
Defined in the package's livewire config file, published with --tag=cwb-livewire-config as config/coullworks-blog-livewire.php.
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.livewire.suggestions | integer | 5 | Suggestions shown under the search box (1 to 10) and the quiet time after typing, in milliseconds. |
coullworks-blog.livewire.debounce | integer | 300 | Milliseconds of quiet after typing before suggestions load. |
coullworks-blog.livewire.search_limit | integer | 30 | Requests per minute per IP: suggestion requests and load-more or page-change requests. |
coullworks-blog.livewire.more_limit | integer | 60 | Requests per minute per IP for load-more and page-change requests (limiter blog-livewire-more). |
Inertia configuration keys#
Defined in the package's inertia config file, published with --tag=coullworks-blog-inertia-config as config/coullworks-blog-inertia.php.
| Key | Type | Default | What it does |
|---|---|---|---|
coullworks-blog.inertia.prefix | string | blog | The URL prefix the route stub is generated with. The blog's own path_prefix decides at run time. |
coullworks-blog.inertia.page_prefix | string | blog/pages/ | The Inertia component name root of the published pages, relative to the host's page resolver (A5). |
coullworks-blog.inertia.preview_pattern | string | preview/{token} | the preview route, under the prefix. The token carries the post and locale. |
coullworks-blog.inertia.middleware | list | ['web'] | Middleware the host adds to every generated route. |
coullworks-blog.inertia.featured_count | integer | 1 | how many featured posts the index slot shows. |
coullworks-blog.inertia.cache_ttl | integer | 300 | seconds a built props array is kept. |
Analytics settings stored per blog#
These four values are per-blog settings, not config keys. Read and written through Settings::get($blog, $key) and Settings::set($blog, $key, $value). Core registers the reading-speed setting, so a blog without the analytics module has it too.
| Setting | Type | Default | What it does |
|---|---|---|---|
analytics.words_per_minute | int | 200 | Reading speed used for reading time. Rules: min:50, max:1000. |
analytics.retention_days | int | 90 | Days of per-day view rows kept (cwb:analytics-prune). Rules: min:1, max:3650. |
analytics.related_count | int | 4 | Related posts shown. Rules: min:1, max:20. |
analytics.popular_count | int | 5 | Popular posts shown. Rules: min:1, max:20. |







