Scriptlog is a simple, secure, modular, and robust personal blogging platform. It is a refactored fork of Piluscart 1.4.1, engineered to emphasize simplicity, privacy, and security without the overhead of a complex Content Management System.
Scriptlog is not designed to replace full-scale CMS frameworks. Instead, it is meticulously engineered to:
Request → Controller → Service → DAO → Database)Ensure your hosting environment meets the following requirements:
mod_rewrite enabled) or Nginxpdo, mysqli, curl, gd, mbstring, fileinfo, zip, exifDownload & Extract
Unzip the package into your web root directory.
Install Dependencies
Scriptlog uses Composer for dependency management.
bash
composer install
Set Permissions
Ensure the following directories are writeable by the web server user:
install/public/log/public/cache/public/themes/admin/plugins/ (if present)
Database Setup
Create a new empty database (use utf8mb4_general_ci collation).
Run the Installer
Navigate to /install/ in your web browser (e.g., http://your-site.com/install/) and follow the wizard:
Administrator Account Setup
Cleanup (Critical)
For security purposes, delete the install/ directory immediately after installation is complete.
If the installer cannot write the configuration file, rename config.sample.php to config.php and update it manually:
return [
'db' => [
'host' => 'localhost',
'user' => 'your_db_user',
'pass' => 'your_db_password',
'name' => 'your_db_name'
],
'app' => [
'url' => 'http://your-site.com',
'email' => 'admin@example.com',
'key' => 'generated-app-key'
]
];
admin/: Administrator panel logic and UI.lib/: Core application logic (Controllers, Services, DAOs).public/: Web root for assets, themes, and user uploads.themes/: Frontend templates.files/: User uploads.tests/: PHPUnit test suite.docs/: Developer guides and API documentation.Scriptlog adheres to PSR-12 coding standards and uses Conventional Commits.
vendor/bin/phpunitphp tests/setup_test_db.phpWhen adding features, follow the layered implementation pattern:
lib/dao/ (Database interactions)lib/service/ (Business logic)lib/controller/ (Request handling)SessionMaker).CSRFGuard and csrf_defender.Anti-XSS and HTMLPurifier.defuse/php-encryption.Contributions are welcome! Please read our Contributing Guidelines before submitting pull requests.
Please read our Code of Conduct to keep our community approachable and respectable.
For security vulnerabilities, please read our Security Policy for responsible disclosure guidelines.
Scriptlog is Open Source and Free PHP Blog Software licensed under the MIT License.
Thank you for creating with Scriptlog.