Skip to content
This repository was archived by the owner on Nov 30, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,26 @@
BACKERS.md export-ignore
CONTRIBUTING.md export-ignore
CHANGELOG.md export-ignore

# The package ships as the self-contained phar in builds/. Leaving the source out of the
# dist archive keeps Composer from adding the CLI's App\ classes to projects that install it.
/app export-ignore
/bootstrap export-ignore
/config export-ignore
/resources export-ignore
/scripts export-ignore
/tests export-ignore
/cloud export-ignore
/.cursorrules export-ignore
/.editorconfig export-ignore
/.env.example export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/AI_CLI_DESIGN_PRINCIPLES.md export-ignore
/CLAUDE.md export-ignore
/bosun.json export-ignore
/box.json export-ignore
/composer.lock export-ignore
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
/pint.json export-ignore
4 changes: 4 additions & 0 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

use LaravelZero\Framework\Application;

// Loaded here rather than through Composer's "files" autoload, which would also load the
// helpers into every project that installs the CLI with `composer require`.
require_once dirname(__DIR__).'/app/helpers.php';

return Application::configure(basePath: dirname(__DIR__))->create();
9 changes: 2 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,8 @@
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
},
"files": [
"app/helpers.php"
]
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
Expand Down