Skip to content

bootgly/bootgly.kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

54 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

bootgly-logo

Bootgly.Kit

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.

⚑ Get started (one command)

curl -fsSL https://bootgly.com/install | bash

The 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> start

πŸ—„ Database projects

Projects 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> start

The CLI advises these exact steps right after a project with database resources is created or imported.

πŸ§ͺ Tests

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 suites

🧩 Importing projects

Run 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 Project1

πŸ—‚ Structure

bootgly.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

πŸ“š Documentation

License

MIT

About

πŸ“¦ The Bootgly Kit β€” the official Bootgly starter template

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages