| 🇹🇷 Türkçe | 🇬🇧 English |
PHP ve Markdown kullanarak basit ve modern bir blog sistemi. SEO dostu URL’ler, RSS beslemesi, admin paneli ve güvenlik önlemleri ile tam donanımlı.
git clone https://github.com/anbarli/PHP-MBBS.git
cd PHP-MBBS
cp config.local.example.php config.local.php
cp admin/admin.env.example admin/admin.env
config.local.php: Site ayarlarıadmin/admin.env: Admin bilgileriposts/ klasörüne .md dosyaları ekleyinhttp://localhost/blog/http://localhost/blog/admin/---
title: Yazı Başlığı
category: Kategori
tags: [etiket1, etiket2]
date: 2024-01-15
---
# İçerik
Markdown formatında yazınız...
/blog/
├── posts/ # Blog yazıları
├── admin/ # Admin paneli
├── includes/ # Sistem dosyaları
├── cache/ # Önbellek (otomatik)
├── index.php # Ana sayfa
├── post.php # Yazı sayfası
├── search.php # Arama
├── rss.php # RSS beslemesi
└── config.php # Yapılandırma
A simple and modern blog system using PHP and Markdown. Fully equipped with SEO-friendly URLs, RSS feed, admin panel, and security measures.
git clone https://github.com/anbarli/PHP-MBBS.git
cd PHP-MBBS
cp config.local.example.php config.local.php
cp admin/admin.env.example admin/admin.env
config.local.php: Site settingsadmin/admin.env: Admin credentials.md files to posts/ folderhttp://localhost/blog/http://localhost/blog/admin/---
title: Post Title
category: Category
tags: [tag1, tag2]
date: 2024-01-15
---
# Content
Write your content in Markdown format...
/blog/
├── posts/ # Blog posts
├── admin/ # Admin panel
├── includes/ # System files
├── cache/ # Cache (auto-generated)
├── index.php # Homepage
├── post.php # Post page
├── search.php # Search
├── rss.php # RSS feed
└── config.php # Configuration
MIT License - see LICENSE file for details.
For issues, use GitHub Issues.
admin/admin.env icindeki ADMIN_PASSWORD alani artik password_hash() cikti formatini kullanir ($2y$... / bcrypt-argon2).assetPath() ile versiyonlanir (?v=filemtime) ve cache kaynakli eski dosya sorunu azalir..htaccess CSP kurallari guncellendi:
script-src: https://static.cloudflareinsights.com eklendi.connect-src: https://cdn.jsdelivr.net ve https://static.cloudflareinsights.com eklendi.ADMIN_PASSWORD in admin/admin.env now expects password_hash() output format ($2y$... / bcrypt-argon2).assetPath() (?v=filemtime) to reduce stale-cache issues..htaccess CSP has been updated:
script-src: added https://static.cloudflareinsights.comconnect-src: added https://cdn.jsdelivr.net and https://static.cloudflareinsights.comCreate a draft post file from terminal:
./new-post "Post Title"
Windows:
new-post.cmd "Post Title"
Options:
./new-post "Post Title" --category=Genel --tags=php,blog --status=draft --description="Kisa ozet" --date=2026-03-01