PHP-MBBS

PHP-MBBS / PHP Markdown Based Blog System

🇹🇷 Türkçe 🇬🇧 English

🇹🇷 Türkçe

📝 Açıklama

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ı.

✨ Temel Özellikler

🔧 Gereksinimler

📦 Kurulum

  1. Projeyi klonlayın:
    git clone https://github.com/anbarli/PHP-MBBS.git
    cd PHP-MBBS
    
  2. Ayarları yapılandırın:
    cp config.local.example.php config.local.php
    cp admin/admin.env.example admin/admin.env
    
  3. Dosyaları düzenleyin:
    • config.local.php: Site ayarları
    • admin/admin.env: Admin bilgileri
  4. Blog yazılarını ekleyin:
    • posts/ klasörüne .md dosyaları ekleyin
  5. Tarayıcıda açın:
    • Ana sayfa: http://localhost/blog/
    • Admin paneli: http://localhost/blog/admin/

📝 Blog Yazısı Formatı

---
title: Yazı Başlığı
category: Kategori
tags: [etiket1, etiket2]
date: 2024-01-15
---

# İçerik
Markdown formatında yazınız...

🏗️ Proje Yapısı

/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

🔒 Güvenlik

📊 SEO Özellikleri


🇬🇧 English

📝 Description

A simple and modern blog system using PHP and Markdown. Fully equipped with SEO-friendly URLs, RSS feed, admin panel, and security measures.

✨ Key Features

🔧 Requirements

📦 Installation

  1. Clone the project:
    git clone https://github.com/anbarli/PHP-MBBS.git
    cd PHP-MBBS
    
  2. Configure settings:
    cp config.local.example.php config.local.php
    cp admin/admin.env.example admin/admin.env
    
  3. Edit files:
    • config.local.php: Site settings
    • admin/admin.env: Admin credentials
  4. Add blog posts:
    • Add .md files to posts/ folder
  5. Open in browser:
    • Homepage: http://localhost/blog/
    • Admin panel: http://localhost/blog/admin/

📝 Blog Post Format

---
title: Post Title
category: Category
tags: [tag1, tag2]
date: 2024-01-15
---

# Content
Write your content in Markdown format...

🏗️ Project Structure

/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

🔒 Security

📊 SEO Features


📄 License

MIT License - see LICENSE file for details.

🤝 Contributing

  1. Fork the repository
  2. Create feature branch
  3. Commit changes
  4. Push to branch
  5. Open Pull Request

🆘 Support

For issues, use GitHub Issues.


28.20.2026 / Update Notes

Turkish (TR)

English (EN)

CLI Quick Post

Create 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