$ 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
Create Database
Create a MySQL database with
utf8mb4_general_ci collation and note your credentials.
Run Installation
Open install/ in your browser and
follow the setup wizard.
http://localhost/install/
Access Admin Panel
Navigate to admin/ and log in with your
admin credentials.
http://localhost/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 |