Download the PHP package alex-kassel/dev-kit without Composer
On this page you can find all versions of the php package alex-kassel/dev-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alex-kassel/dev-kit
More information about alex-kassel/dev-kit
Files in alex-kassel/dev-kit
Package dev-kit
Short Description Development workspace tools for modular Laravel applications.
License MIT
Homepage https://github.com/alex-kassel/dev-kit
Informations about the package dev-kit
🛠️ DevKit
Comprehensive development workspace automation and package engineering toolkit for modular Laravel monorepos
Key Features • Requirements • Installation • Usage • Testing • Changelog
Key Features
- Deterministic Workspace Setup (pkg:install): Prepares host path repositories, gitignore rules, Artisan command shortcuts, automatic Laravel Boost integration (
boost:install), and synchronizes agent instructions with optional --force overwrite. - Smart Package Generator (pkg:make): Scaffolds enterprise packages with archetype presets (library, engine, domain), customizable publishable stubs (
vendor:publish --tag=dev-kit-stubs), strict typing, and full test suites. - Remote Git Ingestion (pkg:clone): Clones standalone packages from remote Git repositories with automatic default branch detection, recursive SemVer dependency localization, and streaming
composer update. - Safe Package Removal (pkg:remove): Safely removes local packages with uncommitted/unpushed Git hygiene guards, removes the root dependency declaration; Composer installation state is updated separately.
- Concurrency File Locking: Advisory
flockprotection with bounded randomized retry on all workspace manifest operations, coordinating cooperating DevKit commands; atomic file replacement protects individual writes. - Comprehensive Quality Gate (pkg:check): Executes 4-stage quality verification (Composer validation, Pint style fixing, PHPStan Level 8, PHPUnit tests).
- Package Inventory (pkg:list): Scans the workspace, reports versioning and path repository registration status.
- Automated Monorepo Sync (pkg:sync): Detects local packages and synchronizes them with root dependencies and path repositories.
- Standard README Validator (pkg:readme): Validates enterprise documentation against the standard 7-badge palette and canonical section schema.
- Release Gate Pre-flight (pkg:release-check): Verifies working tree cleanliness, independent Git history, audit certificates, and export-ignore directives before release.
Requirements
- PHP: 8.3+ (tested on 8.3, 8.4)
- Laravel Framework: 11.x | 12.x | 13.x
- Composer: 2.2+ (with runtime API 2.1+)
Installation
Require alex-kassel/dev-kit as a development dependency in your Laravel project:
Initialize your workspace and install AI agent tooling:
To set up a fresh environment and immediately localize dev-kit for package development:
Usage
Workspace Preparation & Package Discovery
Ingesting & Localizing Packages (pkg:clone)
Safe Package Removal (pkg:remove)
Scaffolding & Quality Assurance
Documentation & Release Pre-flight
AI Agent Integration
dev-kit automatically equips host repositories with standardized agent runbooks and modular skills, working seamlessly alongside Laravel Boost:
AGENTS.md: Repository guidelines, core architectural invariants, and command indexes (composed cleanly with<laravel-boost-guidelines>)..agents/skills/: Procedural knowledge modules for autonomous agents (Antigravity, Cursor, Copilot):package-scaffolding: Deterministic package initialization.package-verification: Linting, PHPStan Level 8 analysis, and test suites.package-readme: Enterprise documentation standards.package-audit: 2-phase verification audits.package-release: Packagist release pipeline and SemVer tagging.
Configuration
Publish the configuration file to customize Git patterns and trusted organizations:
Options in config/dev-kit.php:
organizations: List of trusted vendor organizations for recursive localization.default_source_pattern: Default Git URL template (defaults to[email protected]:{vendor}/{package}.gitwith automatic HTTPS fallback).sources: Explicit repository URL overrides for specific packages.
[!TIP] Zero-Friction Ingestion:
pkg:cloneautomatically falls back to HTTPS if SSH authentication (missing key or host verification) fails. When localizing packages previously installed with fixed SemVer constraints (e.g.^0.0.2),pkg:syncautomatically unbinds the constraint to@devacrossrequireandrequire-devto prevent Composer solver conflicts.
Verification and Removal Guarantees
pkg:check runs Composer validation, Pint, PHPStan and tests locally. A selected check that is unavailable or unconfigured produces incomplete, not passed, and a failing exit code. Unknown or empty --only selections are rejected. PHPUnit configurations may be named phpunit.xml or phpunit.xml.dist; an empty suite fails.
pkg:check vendor/package --isolated additionally exports the current Git checkout (tracked and non-ignored files, including tests and uncommitted changes), installs dependencies into a fresh temporary vendor/, and executes that package's declared PHPUnit or Pest runner. It excludes the host autoloader, global Composer configuration, package lock file, .env, Git metadata and existing dependency directories. Path repositories are rejected. Network access and independently resolvable package dependencies are required. Each installation/test process has a ten-minute timeout. Temporary files are removed afterward, including after failure.
This is an installation and executable-test check, not a static proof that every referenced symbol is declared directly or that untested paths are correct. The former regex-based PhantomDependencyDetector API was removed; IsolatedPackageVerifier provides the actual standalone check. pkg:release-check requires all five checks to pass. The standalone copy retains tests marked export-ignore; it is not a validation of the distribution archive's exact contents.
pkg:remove vendor/package --yes confirms deletion while retaining Git checks. --json changes output format only and does not authorize deletion. Without --force, removal refuses non-Git directories, Git errors, missing upstreams, detached HEAD, dirty or ignored files, stashes and local commits not covered by remote tracking refs. These refs reflect the last fetch; removal does not contact remotes. --force bypasses Git preservation checks, never path validation. Linked package directories and traversal arguments are rejected. A manifest failure stops before deletion; a deletion failure restores the original manifest and reports that files may have been partially removed.
--unlink only removes the dependency declaration, retaining files. Neither unlink nor removal runs Composer or changes composer.lock/vendor; reconcile the host installation with Composer afterward. A later pkg:sync can register a retained directory again.
Localization validates versions associated with the current checkout: an explicit manifest version, valid tags pointing at a clean HEAD, and the current branch/its numeric Composer branch alias. Historical tags never certify another checkout. Unknown or incompatible versions stop localization with an actionable message; stability flags such as @dev do not bypass numeric constraints. Composer remains responsible for final dependency resolution.
The network-backed consumer regression suite is separate from the fast local suite:
It proves both successful standalone installation with declared dependencies and failure when a grouped import uses an undeclared Laravel component. CI runs it on the PHP 8.4 / Laravel 13 stable jobs for all three operating systems.
Testing
Run the dev-kit test suite via standard Composer tooling shortcut:
Or run directly via PHPUnit or universal verification:
Changelog
Please see CHANGELOG.md for details on changes in recent releases.
Security Vulnerabilities
Please review Security Policies on how to report vulnerabilities.
License
The MIT License (MIT). Please see LICENSE for license details.
All versions of dev-kit with dependencies
composer-runtime-api Version ^2.1
illuminate/console Version ^11.0 || ^12.0 || ^13.0
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/filesystem Version ^11.0 || ^12.0 || ^13.0
illuminate/process Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
symfony/process Version ^7.0 || ^8.0
symfony/filesystem Version ^7.0 || ^8.0
composer/semver Version ^3.4
nunomaduro/termwind Version ^2.0
laravel/boost Version ^2.0
orchestra/testbench Version ^9.0 || ^10.0 || ^11.0
phpunit/phpunit Version ^11.0 || ^12.0
phpstan/phpstan Version ^1.12 || ^2.0