crasivo/wordpress-installer

Lightweight Composer project template to quickly prepare a WordPress environment with public directory isolation.

Maintainers

Package info

github.com/crasivo/wordpress-installer

Type:project

pkg:composer/crasivo/wordpress-installer

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-07-25 20:05 UTC

This package is auto-updated.

Last update: 2026-07-25 21:02:12 UTC


README

License PHP Version Composer Type

A lightweight Composer skeleton/adapter designed to quickly prepare a clean environment for WordPress installation with public directory isolation.

🎯 Goal & Core Idea

This project is not a pre-packaged CMS installation. It is a minimalist adapter that prepares the target workspace and dynamically downloads and extracts the official WordPress core archive during composer create-project.

Key Design Decisions:

  • Directory Isolation: Prepared for a secure structure where the web server root points to a public/ directory, isolating code files like vendor/ and configuration files from the public web space.
  • Zero Bloat: Intentionally contains zero third-party Composer packages (like Symfony components, PSR libraries, ORMs). The project remains extremely lightweight and only checks for PHP version and required extensions.
  • Dynamic Loading: No CMS source code is stored in this repository. Everything is fetched securely at install time via Composer's post-create-project-cmd hooks.

âš¡ Quick Start

To initialize a new WordPress environment, run the standard Composer command:

composer create-project crasivo/wordpress-installer my-wordpress-site

What Happens Under the Hood:

  1. Composer verifies that your environment meets the minimum PHP version and extension requirements.
  2. The folder structure is prepared.
  3. The latest WordPress archive is dynamically downloaded from the official website and extracted directly into the public/ directory (stripping the root wordpress/ directory inside the archive), and then the temporary archive is cleaned up.

📄 License

This project is open-source and licensed under the MIT License.