Skip to content
Available for new work
Pages in Blog

ReferencePremium

CoullWorks Blog for Laravel import reference

Each import source with its options, and how the import pipeline orders, records and guards a run.

Updated 16 November 2026Back to the package pageBuy

Import with php artisan cwb:import <source>; see Commands and queues for the options. Always run with --dry-run first.

Import sources#

Applies to every row below: Dry run writes nothing; rerun changes nothing (hash rule); redirects from old addresses; media downloaded with private-host guard (import.media.timeout 20, max_redirects 5); counts flushed every import.flush_every (100).

wordpress (WordPress export (WXR))#

posts, pages (--include-pages), authors, categories, tags, comments, attachments; streamed; every permalink becomes a 301.

Options: file (required), old_base_url, category_base, tag_base, author_map

ghost (Ghost (JSON export))#

posts, authors, tags.

Options: file (required), old_base_url, tag_base

markdown (Markdown folder)#

front matter: title, slug, date, tags, categories, authors; files with no body skipped; UnsupportedFrontMatter exception.

Options: file = folder of .md/.markdown (required), old_base_url

magefan (Magefan Blog)#

posts, categories, tags, authors, comments, feed route; DatabaseSource.

Options: connection (required), table_prefix, old_base_url

mageplaza (Mageplaza Blog)#

same family.

Options: connection, table_prefix, old_base_url

mirasvit (Mirasvit Blog MX)#

same family.

Options: connection, table_prefix, old_base_url

aheadworks (Aheadworks Blog)#

same family (Amasty unsupported).

Options: connection, table_prefix, old_base_url

stephenjude (stephenjude/filament-blog)#

posts, categories, tags (LaravelPackageSource).

Options: connection, table_prefix, old_base_url, old_url_pattern

firefly (firefly/filament-blog)#

posts, categories, tags (LaravelPackageSource).

Options: connection, table_prefix, old_base_url, old_url_pattern

Import behaviour#

  • Import pipeline order: author, category, tag, post, comment, feed.
  • Import statuses: queued, running, done/failed (job rows) ; ImportAlreadyRunning refuses a second run on the same blog.
  • Import safeguards: PathConfinement (file/folder must stay under the disk), PublicHostGuard (no private addresses), backup confirmation for live runs.

Available for new work

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