---
title: "Scaffold Packages with the `laravel package` Command in Laravel Installer v5.31.0"
url: https://daily.dev/posts/scaffold-packages-with-the-laravel-package-command-in-laravel-installer-v5-31-0-aifvxww4p
source_url: https://laravel-news.com/laravel-installer-5-31-0
type: article
source: "Laravel News"
published: 2026-07-20T14:06:21.855Z
updated: 2026-08-24T06:50:40.942Z
tags: ["php", "laravel", "cli", "github-actions"]
reading_time: 3
upvotes: 10
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Scaffold Packages with the `laravel package` Command in Laravel Installer v5.31.0

**[Laravel News](https://daily.dev/sources/ln)** · 3 min read · 10 upvotes · 0 comments

## Summary

Laravel Installer v5.31.0 ships a new `laravel package` command that scaffolds Laravel packages by cloning the official package-skeleton repo, cleaning git history, installing dependencies, and running the configuration script. The command supports flags for including config files, routes, views, migrations, facades, and more, plus metadata options for author and package details. Other additions include automatic PHP version matching for GitHub Actions CI workflows, propagation of the `--no-node` flag to starter kit hooks via an environment variable, a fallback for missing `Laravel\Prompts\callout()`, and a Windows fix adding `--timeout=0` to queue listeners.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/laravel-installer-5-31-0>

## Similar posts on daily.dev

- [Laravel Extended Commands](https://daily.dev/posts/laravel-extended-commands-eksznaprk) · Laravel News · 39 upvotes · 1 comments
- [Laravel Prompts v0.3.15 Adds Streaming, Tasks, Autocomplete, and More](https://daily.dev/posts/laravel-prompts-v0-3-15-adds-streaming-tasks-autocomplete-and-more-safcphwib) · Laravel News · 11 upvotes · 1 comments

---

Tags: [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel), [#cli](https://daily.dev/tags/cli), [#github-actions](https://daily.dev/tags/github-actions)

[View this post on daily.dev](https://daily.dev/posts/scaffold-packages-with-the-laravel-package-command-in-laravel-installer-v5-31-0-aifvxww4p)
