Skip to content
Available for new work
Pages in Blog

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.

KeyTypeDefaultWhat it does
coullworks-blog.tables.prefixstringcwb_Prefix for every package table (default cwb_). Read by Tables::name().
coullworks-blog.tables.nameslist[]Per-table overrides keyed by the default suffix (for example posts).
coullworks-blog.frontendstringbladeblade, livewire, inertia or none (headless).
coullworks-blog.language_switcherbooleantrueShow 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.keystring (from environment)noneOverrides the key typed in the admin when set. Reads env COULLWORKS_BLOG_LICENCE_KEY.
coullworks-blog.licence.urlstring (from environment)https://licensing.coullworks.comBase URL of the licensing server; the remote checker throws a ConnectionException when it is empty. Reads env COULLWORKS_BLOG_LICENCE_URL.
coullworks-blog.licence.modulestringcoullworks/laravel-blogModule name sent to the licensing server.
coullworks-blog.licence.buy_urlstringhttps://coullworks.comWhere the Licence screen sends a buyer (the Buy a licence button).
coullworks-blog.licence.portal_urlstringhttps://coullworks.com/accountWhere a customer manages a licence (the Licence portal button).
coullworks-blog.licence.warn_after_daysinteger7Days 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_hostslist[]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.groupslist['web']Middleware groups that get the old-address lookup.
coullworks-blog.redirects.globalbooleantrueAlso run the lookup as global middleware: group middleware never runs for unmatched URLs.
coullworks-blog.redirects.gone_on_deletebooleantrueDeleting a published post leaves a 410 Gone for its addresses when true (DeletePost).
coullworks-blog.redirects.record_hitsbooleantrueCount each redirect hit (after the response, never in the request) and log addresses that answered 404.
coullworks-blog.redirects.log_not_foundbooleantrueLog the addresses that answered 404, for the Not found screen.
coullworks-blog.redirects.not_found_maxinteger5000Most distinct 404 addresses kept per blog; past it only known addresses count.
coullworks-blog.images.diskstring or nullnoneFilesystem disk for images; null uses the default disk (BlogConfig::imageDisk).
coullworks-blog.images.visibilitystringpublicVisibility used when writing image variants and AI images.
coullworks-blog.images.variantsbooleantrueGenerate resized WebP/original-format variants through the GenerateImageVariants queued job; AVIF is skipped.
coullworks-blog.images.widthslist[480, 768, 1200]Variant widths in pixels, sorted ascending.
coullworks-blog.images.max_bytesinteger10485760Largest upload accepted by StoreImage (10 MiB). Also the Import media size cap.
coullworks-blog.images.max_pixelsinteger40000000Largest width x height accepted (40 million). Also the Import media pixel cap.
coullworks-blog.urls.patterns.indexstring{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.poststring{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.categorystring{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.tagstring{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.authorstring{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.archivestring{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.searchstring{locale}/searchURL 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.previewstring{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.pagestring{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.sitemapstringsitemap.xmlURL 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.feedstringfeed/{locale}.xmlURL 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_categorystringfeed/{locale}/category/{slug}.xmlURL 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.itemsinteger20Default 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_ageinteger3600Seconds a rendered feed is cached and sent in Cache-Control.
coullworks-blog.sitemap.per_fileinteger50000URLs per sitemap file before an index is used.
coullworks-blog.sitemap.chunkinteger500Rows read per database chunk when the sitemap is built.
coullworks-blog.sitemap.max_ageinteger3600Cache-Control max-age of sitemap responses, seconds.
coullworks-blog.xml.throttleinteger60Requests per minute per IP on the sitemap/feed route (limiter cwb-xml).
coullworks-blog.search.throttleinteger30Requests per minute per IP on public search (limiter blog-web-search).
coullworks-blog.search.like_localeslist['ja', 'zh', 'ko', 'th']Locales searched with LIKE instead of full-text (CJK and Thai).
coullworks-blog.search.pg_configslist[]PostgreSQL text-search configuration per locale (bound, not index-backed).
coullworks-blog.reserved_slugslistsee belowSlugs 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_blocksinteger500Core 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_bytesinteger1048576Core content validator: largest serialised document in bytes (1 MiB).
coullworks-blog.categories.max_depthinteger6Deepest category tree (SaveCategory, MoveCategory refuse deeper).
coullworks-blog.listing.per_pageinteger12Default posts per page; the setting listing.per_page uses it as its default (clamped 1-100).
coullworks-blog.access.guardstring or nullnoneThe guard the ContentAccess viewer is read from; null is the default guard. Unused while the default binding allows everyone.
coullworks-blog.preview.ttl_minutesinteger60Lifetime of a signed preview token.
coullworks-blog.seo.tracking_paramslist['utm_*', 'fbclid', 'gclid', 'cpage']Query parameters dropped from canonical URLs; a trailing * matches a prefix.
coullworks-blog.sanitiser.max_bytesinteger1048576Largest HTML input the DOM sanitiser accepts.
coullworks-blog.sanitiser.max_depthinteger50Deepest element nesting the sanitiser keeps.
coullworks-blog.log_channelstring or null (from environment)noneThe 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#

KeyTypeDefaultWhat it does
coullworks-blog.blocks.max_blocksinteger200a document is capped at this many top-level blocks.
coullworks-blog.blocks.disabledlist[]Types hidden from pickers. Stored content of a disabled type still validates, indexes and renders (A8).
coullworks-blog.blocks.customlist[]Class names of app-defined BlockType implementations, registered at boot.
coullworks-blog.blocks.embed_providerslist['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#

KeyTypeDefaultWhat it does
coullworks-blog.comments.enabledbooleanfalseThe module is optional: nothing is registered (no route, listener, contributor or extra) while this is false.
coullworks-blog.comments.middlewarelist[]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.guardstring or nullnoneThe auth guard used to recognise a signed-in reader; null is the default guard.
coullworks-blog.comments.honeypot_fieldstringcwb_websiteThe field a human never fills.
coullworks-blog.comments.token_ttl_minutesinteger1440How long a form token stays valid.
coullworks-blog.comments.user_modelstring or nullnoneThe 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.readinteger60Per client per minute.
coullworks-blog.comments.throttle.form_tokeninteger60Per client per minute.
coullworks-blog.comments.throttle.unsubscribeinteger60Per client per minute.
coullworks-blog.comments.turnstile.urlstringhttps://challenges.cloudflare.com/turnstile/v0/siteverifyProvider verify endpoints and secrets. The secrets belong in the host's .env, never in the database.
coullworks-blog.comments.turnstile.secretstring (from environment)noneProvider 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.urlstringhttps://www.google.com/recaptcha/api/siteverifyreCAPTCHA siteverify endpoint (read as comments.<provider>.url by ProviderVerifier).
coullworks-blog.comments.recaptcha.secretstring (from environment)noneSecret for server-side verification. Keep it in .env. Reads env COULLWORKS_BLOG_RECAPTCHA_SECRET.

Analytics configuration keys#

KeyTypeDefaultWhat it does
coullworks-blog.analytics.enabledbooleanfalseThe module is optional: nothing is registered (no route, listener, command, schedule, extra or panel extension) while this is false.
coullworks-blog.analytics.middlewarelist[]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_minutesinteger30Minutes one client is counted once per post (A3).
coullworks-blog.analytics.throttleinteger120Requests per minute per client on the view endpoint.
coullworks-blog.analytics.queuestring or nullnoneThe queue the count job and the recompute jobs use; null is the default queue.
coullworks-blog.analytics.popular_cache_secondsinteger300Seconds the popular and related lists are cached; 0 turns the cache off.
coullworks-blog.analytics.related_cache_secondsinteger300Seconds related lists are cached; 0 turns the cache off.
coullworks-blog.analytics.botslistsee belowUser-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#

KeyTypeDefaultWhat it does
coullworks-blog.import.enabledbooleanfalseThe module is optional: nothing is registered (no command, listener or panel extension) while this is false.
coullworks-blog.import.media.timeoutinteger20Seconds to wait for one download. The size and pixel caps are Core's (images.max_bytes, images.max_pixels).
coullworks-blog.import.media.max_redirectsinteger5Redirects followed per media download; hosts are checked against private addresses at each hop.
coullworks-blog.import.flush_everyinteger100Counts are written to the database every this many records so a screen can poll progress.

AI configuration keys#

KeyTypeDefaultWhat it does
coullworks-blog.ai.enabledbooleanfalseThe module is optional: nothing is registered (no screen, listener, job, command or schedule) while this is false.
coullworks-blog.ai.driverslistsee belowThe built-in drivers. A host binds its own by tagging a class that implements AiProvider with cwb.ai-providers.
coullworks-blog.ai.providers.anthropic.modelslist['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_modelstringclaude-opus-5-5Default Anthropic text model; the per-blog setting ai.default_model.anthropic wins.
coullworks-blog.ai.providers.openai.modelslist['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_modelstringgpt-6.1-solDefault OpenAI text model; the per-blog setting wins.
coullworks-blog.ai.providers.openai.image_modelslist['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_modelstringgpt-image-2.5-flareDefault OpenAI image model (wizard pre-fills it).
coullworks-blog.ai.providers.gemini.modelslist[]Gemini offers no text models (empty): Gemini is image-only.
coullworks-blog.ai.providers.gemini.image_modelslist['gemini-3-pro-image']Gemini image models; setting ai.image_models.gemini replaces it.
coullworks-blog.ai.providers.gemini.default_image_modelstringgemini-3-pro-imageDefault Gemini image model.
coullworks-blog.ai.pricing.claude-opus-5-5.ininteger4Estimated 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.outinteger20Estimated 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.ininteger2Estimated 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.outinteger10Estimated 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.ininteger1Estimated 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.outinteger5Estimated 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.ininteger2Estimated 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.outinteger10Estimated 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.ininteger10Estimated 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.outinteger50Estimated 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.innumber0.1Estimated 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.outnumber0.5Estimated 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.imagenumber0.04Estimated 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.imagenumber0.17Estimated 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.imagenumber0.134Estimated 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.ininteger10Estimated 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.outinteger50Estimated 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.imagenumber0.25Estimated 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.currencystringUSDCurrency label for estimated spend (the monthly cap input says "In USD").
coullworks-blog.ai.max_tokens.researchinteger16000Largest answer for the research step; spend reservation is priced from it. Per-blog setting ai.max_tokens.research overrides.
coullworks-blog.ai.max_tokens.outlineinteger8000Largest answer for the outline step.
coullworks-blog.ai.max_tokens.articleinteger32000Largest answer for the article step.
coullworks-blog.ai.max_tokens.refreshinteger16000Largest answer for the refresh step.
coullworks-blog.ai.timeoutinteger300Provider HTTP timeout in seconds.
coullworks-blog.ai.retriesinteger2Provider HTTP retries (ProviderHttp).
coullworks-blog.ai.writer_block_typeslistsee belowThe block types the writer may use. Takeaways, FAQ, images and sources are added by code from the other fields.
coullworks-blog.ai.image_folderstringaiFolder 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#

KeyTypeDefaultWhat it does
coullworks-blog.api.enabledbooleantruefalse registers no route and no limiter.
coullworks-blog.api.prefixstringapi/blog/v1the URL prefix of every API route.
coullworks-blog.api.middlewarelist[]middleware the host adds to every API route (for example a token guard).
coullworks-blog.api.page.sizeinteger12Default JSON:API page size.
coullworks-blog.api.page.maxinteger50Largest page[size] accepted (see QueryParser).
coullworks-blog.api.rate_limit.defaultinteger60per 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.searchinteger20per 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.writeinteger30per 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.enabledbooleanfalsethe 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.middlewarelist['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_ageinteger60seconds. max_age and s_maxage go to Cache-Control; ttl is the server cache lifetime.
coullworks-blog.api.cache.s_maxageinteger300seconds. max_age and s_maxage go to Cache-Control; ttl is the server cache lifetime.
coullworks-blog.api.cache.ttlinteger300seconds. 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.

KeyTypeDefaultWhat it does
coullworks-blog.blade.frameworkstringtailwindtailwind or bootstrap: the view set every page and component uses.
coullworks-blog.blade.compiled_cssbooleantruetrue: 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.layoutstring or nullnoneA Blade layout that yields "content" and stacks "cw-head"; null uses the package layout.
coullworks-blog.blade.middlewarelist['web']Route middleware, before Core's blog, licence and preview middleware.
coullworks-blog.blade.max_ageinteger0Public 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_maxageinteger600CDN/proxy cache lifetime (s-maxage) of public pages, seconds.
coullworks-blog.blade.railbooleantrueShow the quick rail (table of contents, share) beside posts.
coullworks-blog.blade.featured_countinteger1How many featured posts the index slot shows (0 to 3).
coullworks-blog.blade.load_morebooleanfalseShow a "load more" link under listings.
coullworks-blog.blade.components.searchstringcw::search-formComponents the Livewire front end (or a host) can replace.
coullworks-blog.blade.components.paginationstringcw::paginationComponents the Livewire front end (or a host) can replace.
coullworks-blog.blade.components.load_morestringcw::load-moreComponents the Livewire front end (or a host) can replace.
coullworks-blog.blade.components.liststringcw::listComponents the Livewire front end (or a host) can replace.
coullworks-blog.blade.preview_patternstring{locale}/preview/{token}Used for the preview route when Core's preview pattern carries no {token}.
coullworks-blog.blade.consent_cookiestringcwb_consentFirst-party cookie holding the visitor's embed consent; Blocks' ConsentChecker must read the same name.
coullworks-blog.blade.sharelist['x', 'linkedin', 'facebook', 'bluesky', 'email']Share targets shown on posts, in order (x, linkedin, facebook, bluesky, email).
coullworks-blog.blade.recentinteger5Posts 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.

KeyTypeDefaultWhat it does
coullworks-blog.livewire.suggestionsinteger5Suggestions shown under the search box (1 to 10) and the quiet time after typing, in milliseconds.
coullworks-blog.livewire.debounceinteger300Milliseconds of quiet after typing before suggestions load.
coullworks-blog.livewire.search_limitinteger30Requests per minute per IP: suggestion requests and load-more or page-change requests.
coullworks-blog.livewire.more_limitinteger60Requests 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.

KeyTypeDefaultWhat it does
coullworks-blog.inertia.prefixstringblogThe URL prefix the route stub is generated with. The blog's own path_prefix decides at run time.
coullworks-blog.inertia.page_prefixstringblog/pages/The Inertia component name root of the published pages, relative to the host's page resolver (A5).
coullworks-blog.inertia.preview_patternstringpreview/{token}the preview route, under the prefix. The token carries the post and locale.
coullworks-blog.inertia.middlewarelist['web']Middleware the host adds to every generated route.
coullworks-blog.inertia.featured_countinteger1how many featured posts the index slot shows.
coullworks-blog.inertia.cache_ttlinteger300seconds 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.

SettingTypeDefaultWhat it does
analytics.words_per_minuteint200Reading speed used for reading time. Rules: min:50, max:1000.
analytics.retention_daysint90Days of per-day view rows kept (cwb:analytics-prune). Rules: min:1, max:3650.
analytics.related_countint4Related posts shown. Rules: min:1, max:20.
analytics.popular_countint5Popular posts shown. Rules: min:1, max:20.

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.