chore: rename package to relaticle/ink (v2.0.0 breaking)#10
Merged
Conversation
Pure namespace + branding rename, no behavior changes.
Renamed:
- composer name: manukminasyan/filament-blog -> relaticle/ink
- PHP namespace: ManukMinasyan\FilamentBlog\ -> Relaticle\Ink\
- Service provider: FilamentBlogServiceProvider -> InkServiceProvider
- Filament plugin: FilamentBlogPlugin -> InkPlugin
- Config file: config/filament-blog.php -> config/ink.php
- Publish tags: filament-blog-{config,views,migrations,translations} -> ink-*
- Blade prefix: x-blog::* -> x-ink::*
- View namespace: view('blog::X') -> view('ink::X')
Preserved (no migration required):
- Database tables: blog_posts, blog_categories, blog_tags, blog_post_tag
- Route names: blog.index, blog.show, blog.category, blog.preview, blog.feed, blog.tag
- URL prefix default: /blog (configurable via config('ink.prefix'))
- All public model methods, component APIs, MCP tool signatures
Docs, README, CHANGELOG, UPGRADING.md updated. All 23 package tests pass.
There was a problem hiding this comment.
Pull request overview
Mechanical namespace + branding rename of the package from manukminasyan/filament-blog to relaticle/ink. Service provider, plugin, view namespace, Blade component prefix, config file, and publish tags all renamed. Database tables, route names, and the /blog URL prefix are intentionally preserved for compatibility.
Changes:
- Renamed PHP namespace, service provider, plugin, config file, view namespace, and Blade component prefix throughout
src/,resources/,database/,tests/,routes/,composer.json. - Added
UPGRADING.mdandCHANGELOG.md2.0.0 entry; updatedcomposer.jsonmetadata (keywords/homepage/support). - Updated docs site (
README,docs/) to point at the new repo URL and use the new namespace/component examples.
Reviewed changes
Copilot reviewed 82 out of 83 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| composer.json | Renamed package, namespace, provider; added keywords/homepage/support. |
| config/ink.php | New config file replacing config/filament-blog.php (imports App\Models\User directly — fragile). |
| routes/web.php | Updated controller import & config key; fallback prefix incorrectly changed to 'ink'. |
| src/InkServiceProvider.php | Renamed class; $name and $viewNamespace changed. |
| src/InkPlugin.php | Renamed class and resource discovery FQN. |
| src/Models/*.php, src/Enums/PostStatus.php | Namespace + factory imports updated; config keys swapped. |
| src/Filament/Resources/**/*.php | Namespace updates; directory('blog') → directory('ink') for uploads (silent breaking change). |
| src/Mcp/Tools/*.php | Namespace updates only. |
| src/Components/*.php, src/Http/Controllers/BlogController.php, src/BlogSitemapGenerator.php | Namespace + view name + config key updates. |
| resources/views/**/*.blade.php | <x-blog::*> → <x-ink::*>, config('filament-blog.*') → config('ink.*'). |
| database/factories/*.php | Namespace + config key updates. |
| tests/**/*.php | Namespace, provider, and config key updates. |
| README.md, CHANGELOG.md, UPGRADING.md | Branding/usage docs updated; v2.0.0 entry + upgrade recipe added. |
| docs/** | Namespace, repo URL, publish tags refreshed (docs/app.config.ts partially updated — owner & titles still reference old name). |
Comments suppressed due to low confidence (2)
docs/app.config.ts:15
docs/app.config.tswas only partially updated as part of the rename:repois nowink, butowneris stillManukMinasyan, and thedocus.title/seo.title/descriptionstrings still say "Filament Blog". The github edit links will resolve tohttps://github.com/ManukMinasyan/ink, which is not the repo. Updateownertorelaticleand refresh the title/description strings for consistency with the new branding.
export default defineAppConfig({
docus: {
title: 'Filament Blog',
description: 'Headless blog package for Filament with SEO, MCP tools, and publishable components.',
},
seo: {
title: 'Filament Blog',
description: 'Headless blog package for Filament with SEO, MCP tools, and publishable components.',
},
github: {
repo: 'ink',
owner: 'ManukMinasyan',
edit: true,
rootDir: 'docs'
},
src/InkServiceProvider.php:15
- The
$namestatic property changed from'filament-blog'to'ink'. spatie/laravel-package-tools uses this to derive the migration filename prefix (e.g.create_filament-blog_table.php→create_ink_table.php) and other publish artifacts. If any existing installs have already published migrations under the old name, or if any test fixtures/CI rely on the old prefix, this rename could cause migration conflicts or duplicate runs. Worth verifying the package has nodatabase/migrations/create_filament-blog_table.phpstyle files left behind, and noting the migration tag rename in UPGRADING.md (already done) is sufficient.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| use Relaticle\Ink\Http\Controllers\BlogController; | ||
|
|
||
| $prefix = config('filament-blog.prefix', 'blog'); | ||
| $prefix = config('ink.prefix', 'ink'); |
| ->image() | ||
| ->disk('public') | ||
| ->directory('blog'); | ||
| ->directory('ink'); |
| use App\Http\Controllers\BlogController; | ||
|
|
||
| Route::prefix('blog')->name('blog.')->group(function () { | ||
| Route::prefix('ink')->name('blog.')->group(function () { |
| ``` | ||
|
|
||
| The shipped view at `resources/views/vendor/blog/pages/tag.blade.php` uses the `<x-blog::post-card>` component. Publish and edit it to customize. | ||
| The shipped view at `resources/views/vendor/blog/pages/tag.blade.php` uses the `<x-ink::post-card>` component. Publish and edit it to customize. |
4 tasks
ManukMinasyan
added a commit
that referenced
this pull request
May 13, 2026
The deployed site at https://relaticle.github.io/ink/ was serving HTML with asset paths hardcoded to /filament-blog/* (the old repo name), causing every CSS and JS file to 404. - deploy-docs.yml: NUXT_APP_BASE_URL /filament-blog/ -> /ink/ - deploy-docs.yml: NUXT_SITE_URL manukminasyan -> relaticle - nuxt.config.ts: site.name 'Filament Blog' -> 'Ink' - docs/content/*, app.config.ts: remaining 'Filament Blog' brand strings This commit was originally part of PR #10 but the squash-merge happened before the second commit landed. Hotfixing on top.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pure namespace + branding rename of the package from
manukminasyan/filament-blogtorelaticle/ink. No behavior changes — every public model method, component API, MCP tool, route name, table schema, and config key value stays identical.This unblocks
relaticle/inkshowing up on Packagist and lets Relaticle (the only known consumer) stop importing from a personal vendor namespace.What changed
manukminasyan/filament-blogrelaticle/inkManukMinasyan\FilamentBlog\Relaticle\Ink\FilamentBlogServiceProviderInkServiceProviderFilamentBlogPluginInkPluginconfig/filament-blog.phpconfig/ink.phpconfig('filament-blog.X')config('ink.X')<x-blog::post-card>etc.<x-ink::post-card>etc.view('blog::pages.show')view('ink::pages.show')--tag=filament-blog-{config,views,migrations,translations}--tag=ink-*Added
keywords,homepage, andsupportfields tocomposer.json.What did NOT change
blog_posts,blog_categories,blog_tags,blog_post_tag— no data migration requiredblog.index,blog.show,blog.category,blog.preview,blog.feed,blog.tag— public API contract preserved/blog(configurable viaconfig('ink.prefix'))Diff stats
83 files changed, 492 insertions(+), 375 deletions(-) — mostly mechanical sed across
src/,resources/,database/,tests/, anddocs/.Migration (for downstream apps)
See
UPGRADING.mdfor the consumer-side sed recipe.Test plan
vendor/bin/pint --testpassesManukMinasyan/FilamentBlogreferences insrc/,resources/,config/,database/,tests/,routes/,composer.json,README.md,docs/content/,CHANGELOG.mdv2.0.0after mergerelaticle/inkon Packagistmanukminasyan/filament-blogasreplaces: relaticle/inkon Packagist (or abandon with replacement pointer)Followups (not in this PR)
composer.jsonand namespace usages — separate PR#211againstrelaticle/relaticlemainv2.1.0