The official Bootgly starter template
One kit for both platforms: create Console (CLI / TUI) or Web projects from a single template β the project wizard sets everything up for you.
curl -fsSL https://bootgly.com/install | bashThe installer checks your environment (git + PHP 8.4+), clones this kit, initializes the Bootgly platform and opens the project wizard β where you pick your extra platforms (Console and/or Web), boot the resource folders and create your first project from scratch or by importing a platform project (like the Demos) or a Git remote.
Start your project right after:
cd bootgly.kit
bootgly project list
bootgly project <Name> startProjects that ship database resources β like the Web platform demos (Blog, Tasks, Auth) β prepare their database before the first start:
bootgly project <Name> migrate up # create the database schema
bootgly project <Name> seed run # seed the database
bootgly project <Name> startThe CLI advises these exact steps right after a project with database resources is created or imported.
bootgly test runs your workspace suites β register them in tests/autoboot.php; imported demo projects ship an example suite under tests/ as a writing guide. The framework and platform suites run behind flags:
bootgly test # your suites (tests/autoboot.php)
bootgly test --bootgly # the Bootgly framework suites
bootgly test --console # the Console platform suites
bootgly test --web # the Web platform suitesRun bootgly project import with no arguments to choose the source interactively β the Platforms (Demos, games and Web scaffolds) or a Git remote. Any directory with a *.project.php file at its root is a Bootgly project; import one directly from a git repository:
php bootgly project import https://github.com/foo/project1 Project1bootgly.kit/
βββ Bootgly/ β the Bootgly platform (git submodule)
βββ Console/ β Console platform extras (optional submodule)
βββ Web/ β Web platform extras (optional submodule)
βββ projects/ β your projects (installed by `bootgly boot`)
βββ tests/ β your test suites (`bootgly test`)
βββ bootgly β the Bootgly CLI launcher
βββ index.php β the Web front controller
Install the CLI globally (optional):
sudo php bootgly setup