$ git clone https://github.com/cakmoel/Scriptlog.git
$ cd Scriptlog
# Install dependencies
$ composer install
# From project root (recommended)
$ php -S localhost:8080 -t src
# Or from within src directory
$ cd /src
$ php -S localhost:8000
Why Scriptlog?
Built with developers in mind, Scriptlog offers a modern, secure, and extensible architecture.
MVC Architecture
Clean separation of concerns with DAO, Service, and Controller layers for maintainable code.
Secure by Default
CSRF protection, XSS prevention, SQL injection prevention, and encrypted session cookies.
Flexible Theming
Create custom themes with our template system. Full RTL and i18n support out of the box.
Plugin System
Extend functionality with custom plugins using our hook-based architecture.
Import/Export
Migrate from WordPress, Ghost, or Blogspot. Export to multiple formats.
Multi-language
Full internationalization with 7 languages supported. RTL languages fully supported.
Documentation
Everything you need to get started and master Scriptlog
Installation & Setup
Get Scriptlog running on your server in minutes
- Installation Guide
- Configuration
- Database Setup
Architecture
Understand the MVC structure and request flow
- Request Flow
- Core Components
- Directory Structure
Components
DAO, Service, and Controller patterns explained
- DAO Pattern
- Service Layer
- Controllers
Theming
Create beautiful custom themes for your blog
- Template Files
- Functions
- Assets
Plugin Development
Extend functionality with custom plugins
- Hook System
- Plugin Structure
- Examples
API Reference
RESTful API endpoints and authentication
- Endpoints
- Authentication
- Response Format
Database Schema
Complete reference for all database tables
- Table Definitions
- Relationships
- Indexes
Testing
PHPUnit, PHPStan, and CI/CD integration
- Unit Tests
- Static Analysis
- Best Practices
System Requirements
Make sure your server meets these requirements before installation
PHP
7.4 or higher
Database
MySQL 5.7+ / MariaDB 10.2+
Web Server
Apache 2.4+ / Nginx
Composer
Latest stable version
Quick Start
Get Scriptlog running in 5 simple steps
Clone the Repository
git clone https://github.com/cakmoel/Scriptlog.git
cd Scriptlog
Install Dependencies
composer install
Run PHP Development Server
# From project root (recommended)
php -S localhost:8080 -t src
# Or from within src directory
cd /src
php -S localhost:8000
Run Installation Wizard
Open the installer in your browser and follow the setup wizard to configure your database.
http://localhost:8080/install/
Access Admin Panel
Log in with your admin credentials to start managing your blog.
http://localhost:8080/admin/
Architecture Overview
Scriptlog follows a layered architecture pattern for maintainability and scalability
Front Controller
index.php / admin/index.php
Bootstrap
Initializes services and database
Dispatcher
Routes requests to controllers
View / Theme
Templates render the response
User Access Levels
Scriptlog includes a granular permission system for user management.
| Feature | Admin | Manager | Editor | Author | Contributor | Subscriber |
|---|---|---|---|---|---|---|
| Posts | ||||||
| Pages | ||||||
| Comments | ||||||
| Media Library | ||||||
| Categories | ||||||
| Themes | ||||||
| Plugins | ||||||
| Users | ||||||
| Privacy/GDPR |