Search by

strukt / install

pitsolu

Strukt Framework Installer

v1.1.0 2025-04-03 17:18 UTC

This package is auto-updated.

Last update: 2026-11-18 17:56:23 UTC


README

Installation

composer global require "strukt/install"

Usage

Create your application.

strukt new payroll
cd payroll

Create an application from Strukt master archives instead of Packagist.

strukt new:dev payroll
cd payroll

The new:dev command reads the [dev] section of strukt.ini, downloads missing GitHub archives, extracts Strukt packages into ~/.cache/strukt/<branch>/, and reuses already cached packages on later runs. They are registered as Composer path repositories while Packagist stays enabled for third-party dependencies.

Pass --refresh to re-download cached packages.

Add a bundle to an existing project from the same cache.

cd payroll
strukt add:dev book

The bundle is resolved as bundle-<name> when needed. add:dev checks ~/.cache/strukt/local/ and ~/.cache/strukt/<branch>/ before downloading. If the bundle cannot be found, the command aborts and asks you to contact the vendor.

Install the latest stable bundle from Packagist.

strukt add auth

add resolves auth to strukt/bundle-auth, selects the newest stable version published on Packagist, and requires it with Composer.

Update Installer.

strukt update:me