Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "chrisabner/cordon-modulith",
"description": "Cordon off your modules: verifiable boundaries between modules in Laravel applications.",
"keywords": ["laravel", "modules", "modular-monolith", "architecture", "static-analysis", "boundaries"],
"keywords": ["laravel", "modules", "modular-monolith", "modulith", "architecture", "static-analysis", "boundaries", "module-boundaries", "dependency-cycles", "architecture-testing"],
"license": "MIT",
"type": "library",
"homepage": "https://chrisabner.github.io/Cordon-Modulith/",
Expand Down
23 changes: 23 additions & 0 deletions docs-site/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,32 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: 'Cordon Modulith',
description: 'Verifiable boundaries between the modules of a Laravel application.',
titleTemplate: ':title | Cordon Modulith for Laravel',
base: '/Cordon-Modulith/',
cleanUrls: true,
lastUpdated: true,
sitemap: {
hostname: 'https://chrisabner.github.io/Cordon-Modulith/',
},
head: [
['meta', { name: 'google-site-verification', content: 'r4UmrVpPvmEebxtn41MmWvJP1XTFvlSnSyV2A-1P8HI' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:site_name', content: 'Cordon Modulith' }],
['meta', { property: 'og:image', content: 'https://chrisabner.github.io/Cordon-Modulith/og-image.png' }],
['meta', { property: 'og:image:width', content: '1280' }],
['meta', { property: 'og:image:height', content: '640' }],
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
['meta', { name: 'twitter:image', content: 'https://chrisabner.github.io/Cordon-Modulith/og-image.png' }],
],
transformHead({ pageData, title, description }) {
const path = pageData.relativePath.replace(/(^|\/)index\.md$/, '$1').replace(/\.md$/, '')

return [
['meta', { property: 'og:title', content: title }],
['meta', { property: 'og:description', content: description }],
['meta', { property: 'og:url', content: `https://chrisabner.github.io/Cordon-Modulith/${path}` }],
]
},
themeConfig: {
nav: [
{ text: 'Guide', link: '/guide/introduction' },
Expand Down
6 changes: 5 additions & 1 deletion docs-site/comparison.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Comparison
---
titleTemplate: false
---

# Cordon Modulith vs Deptrac, Pest arch() and Packwerk

Cordon Modulith is not the only way to keep a Laravel codebase in shape. Here is an honest comparison to help you choose, or combine. For the results of running Cordon, Pest `arch()` and Deptrac on the same fixture, see [Comparison in practice](./comparison-in-practice).

Expand Down
2 changes: 2 additions & 0 deletions docs-site/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
title: "Cordon Modulith: module boundaries for Laravel"
titleTemplate: false
layout: home

hero:
Expand Down
Binary file added docs-site/public/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading