Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Archetype Laravel Package

ajthinking/archetype

Archetype is a Laravel code generation package that lets you define models, migrations, controllers and more through a fluent PHP API, then scaffolds the files instantly—speeding up new features and project setup.

View on GitHub
Deep Wiki
Context7
2.0.1

Maintenance only. No API changes, and nothing here can break existing usage.

Added

  • Support for PHP 8.1 through 8.4, and for Laravel 10, 11, 12 and 13 — now verified in CI across twelve combinations rather than assumed. Laravel 13 is included because statamic/cms 6 already allows it.
  • A php requirement (^8.1) in composer.json. The package never declared one, so Composer could not warn anybody. 8.1 is the floor the code actually needs and the whole range CI exercises; the upper bound is deliberate, because PHP 9 removes dynamic properties and the AST node-identity mechanism still relies on them.
  • LICENSE.md. The package has always been MIT; the file was missing.
  • This changelog.
  • .github/dependabot.yml, so dependency updates are configured rather than running on defaults.

Changed

  • The test suite now runs against a pinned application skeleton in tests/fixtures/laravel instead of copying one out of vendor/laravel/laravel at runtime. Laravel 11 removed most of the files the suite relied on (app/Console/Kernel.php, app/Exceptions/Handler.php, RouteServiceProvider and the middleware), which made the old approach untestable on current Laravel. laravel/laravel is no longer a dev dependency.
  • CI runs on actions/checkout@v4 and actions/cache@v4, and no longer uses the ::set-output command that GitHub has disabled.
  • phpunit.xml migrated to the PHPUnit 10+ schema.
  • Archetype\Tests\ moved out of the production autoloader into autoload-dev.
  • minimum-stability is now stable.

Fixed

  • Seven implicit-nullable parameters that raised deprecation notices on PHP 8.4 (PHPFile::namespace(), Namespace_::namespace(), FileInput::load(), InputInterface::load(), EndpointProvider::__construct(), PHPParserPropertyMap::propertyMap() and ASTQueryBuilder::traverseIntoClass()).
  • getReflection() now catches Throwable rather than Exception. A file whose parent class or trait cannot be autoloaded raises an Error, which previously escaped and killed the entire query instead of skipping that one file. This affects LaravelFile::models(), controllers() and serviceProviders().
  • tests/Pest.php no longer defines a global context() helper. Laravel 11 ships its own context(), and the collision brought the whole suite down before a single test could run.
2.0.0

Changed

  • Breaking: upgraded to nikic/php-parser ^5.0. Thanks to @jasonvarga (#85).
1.1.5

Last release of the 1.x line, which requires nikic/php-parser ^4.11.

1.x cannot be installed alongside anything that needs php-parser 5 — including Pest 3 and newer. If Composer refuses to resolve ajthinking/archetype, upgrade to 2.x.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route