Show local/prod in the Filament topbar, jump to create post in one click, tighten sidebar spacing, and stop Hello World from 500ing when its tables are missing. Co-authored-by: Cursor <cursoragent@cursor.com>
1.4 KiB
1.4 KiB
LaraLog Features
Modern blog migrated from SaBlog-X: Filament admin, themes, plugins, sablog import, S3 attachments, Workerman AI queue.
Local development
- Site: http://laralog.test
- Admin: http://laralog.test/admin
- Account:
admin@laralog.test/password - Database: MySQL
laralog(Herd, root / empty password) - Remote:
git@gitea.neatcn.com:gouki/laralog.git
See README.md and docs/ for install, import, plugins, and themes.
Admin chrome
- Top-right badge shows the current app environment (
local/prod/ others). - Top-right 写文章 button jumps to
/admin/posts/create. - Sidebar nav is compacted (Filament default
gap-y-7/py-8is too tall for this site).
Hello World plugin
- Enabling a plugin now runs that plugin's
database/migrationsautomatically. - Plugin boot / hook failures are isolated so one plugin cannot take down the whole admin.
/hello-worldstays available even ifhello_world_logsis missing.
Media library (xpier)
- Package:
xpier/filament-media-library(admin Media Library + MediaPicker). - Markdown body must store
or[name](media:ID), never a CDN/object-storage URL. HTML uses[media=ID]. - Insert flow: pick a file → Insert into body. Cover uses
cover_media_id. - Legacy sablog
[attach=ID]/{{attach:ID}}still render from Spatie media. - Details:
docs/media.md.