Download the PHP package sandermuller/repo-new without Composer

On this page you can find all versions of the php package sandermuller/repo-new. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package repo-new

sandermuller/repo-new

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Interactive CLI wizard that scaffolds a new PHP repo against the canonical Sander / hihaho baseline defined by sandermuller/repo-init. Same UX as laravel new — pick a category, answer a few questions, and get a repo with Composer dependencies installed, CI and quality tooling wired up, AI tooling synced, and composer test green on the first run.

Install (one-time per machine)

Make sure your global Composer bin directory (~/.composer/vendor/bin or ~/.config/composer/vendor/bin) is on your PATH. sandermuller/repo-init — the source of the stubs and dependency lists — is pulled in automatically as a dependency; no separate install needed.

On first run, repo syncs its bundled AI skills to your user scope (~/.claude/skills/, ~/.codex/skills/, etc.) so they're available to every agent on the machine — no manual boost sync --scope=user step needed. Subsequent runs no-op via a per-version sentinel. Set BOOST_SKIP_AUTOSYNC=1 to disable.

Use

Interactive (recommended) — the wizard walks you through every choice:

Non-interactive (CI / scripting) — supply choices as flags:

See repo new --help for the full flag list.

Categories

repo-new scaffolds seven repo categories. Choose one interactively, or pass --type:

Category (--type) What it scaffolds Runtime dependencies wired in Category options
laravel-project A full Laravel application via laravel new --boost, with the shared tooling baseline overlaid on top Laravel skeleton (laravel new) --with-hihaho-rules, --with-security-advisories
laravel-package A Laravel package — spatie/laravel-package-tools-based service provider, src/, tests/, publishable config illuminate/contracts, illuminate/support, spatie/laravel-package-tools --laravel=<constraint>
php-package A framework-agnostic PHP library none (pure library)
phpstan-extension A PHPStan rule / extension package phpstan/phpstan: ^2 --laravel-aware (swaps in larastan/larastan)
rector-extension A Rector rule / ruleset package rector/rector: ^2, symplify/rule-doc-generator-contracts --laravel-aware (adds driftingly/rector-laravel)
composer-plugin A Composer plugin — command provider and/or event subscriber skeleton composer-plugin-api: ^2.6 --plugin-shape=command-provider\|event-subscriber\|both\|none
skill-bundle A boost-core skill bundle — pure-markdown AI skills under resources/boost/skills/, no PHP source or test runner sandermuller/boost-core

What it sets up

Beyond the category-specific source skeleton above, every scaffolded repo gets the same baseline:

Per-category runtime and dev dependencies come from repo-init's references/per-category-deps.yml, so the dependency set always matches the current canonical baseline.

skill-bundle is the lean exception: it ships pure-markdown skills with no PHP, so it skips the PHP toolchain (PHPStan, Rector, PHPUnit, .mcp.json, the phpstan / rector-check workflows) and the test runner — keeping Pint, lean-package-validator, the meta files, and the pint-check + update-changelog workflows.

How it works

  1. The wizard collects: category → vendor → package name → description → PHP version → (Laravel constraint for laravel-package, plugin shape for composer-plugin) → test framework → boost-skills tags → opt-ins.
  2. Runs laravel new --boost (for laravel-project) or copies the category stubs (for package categories) from the installed repo-init.
  3. Substitutes placeholders (__VENDOR__, __NAMESPACE__, __PACKAGE_STUDLY__, …) across composer.json, source files, and CI workflows.
  4. Pre-allows Composer plugins (phpstan/extension-installer, pestphp/pest-plugin) before requiring dependencies, so install never aborts on the plugin allowlist.
  5. Runs composer install and the per-category composer require lists.
  6. Fires vendor/bin/boost sync to generate the AI tooling files.
  7. Initializes a git repo (add --commit for an initial commit) and prints a copy-pasteable handoff prompt for Claude or your agent of choice.

Testing

Changelog

See releases.

Security

See SECURITY.md.

License

MIT — see LICENSE.


All versions of repo-new with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
sandermuller/repo-init Version ^1.6
symfony/console Version ^7.0||^8.0
symfony/process Version ^7.0||^8.0
symfony/yaml Version ^7.0||^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sandermuller/repo-new contains the following files

Loading the files please wait ...