marshmallow / commands
Verschillende handige commands.
Requires
- php: ^7.0|^8.0
This package is auto-updated.
Last update: 2026-06-19 08:02:52 UTC
README
Marshmallow Commands
A collection of handy Artisan commands that can be reused across all Marshmallow projects.
Installation
Install the package via Composer:
composer require marshmallow/commands
The service provider (Marshmallow\Commands\CommandsServiceProvider) is auto-discovered, so there is nothing else to register. The commands become available as soon as the package is installed.
Commands
| Command | Description |
|---|---|
env:set {key} {value} |
Add a variable to your .env file, or update it in place if the key already exists. |
marshmallow:resource {resource_name?} {package_name?} {--force} |
Generate a Laravel Nova resource from the package's stub into your app/Nova folder. Prompts for any missing argument; use --force to overwrite an existing resource without confirmation. |
marshmallow:clear |
Run all of Laravel's cache-clearing commands in one go (cache:clear, route:clear, config:clear, view:clear, clear-compiled). |
package:status {--cs-fixer} {--has-workflow=} |
List a table of symlinked path-repository packages (read from the project composer.json) that have outstanding git changes. |
cron:show |
Experimental: parse the scheduler defined in app/Console/Kernel.php and derive a single combined cron expression. |
Note:
cron:showis a work in progress and currently dumps its intermediate output for debugging rather than returning a finished cron line.
Usage
Set (or update) an environment variable:
php artisan env:set APP_NAME Marshmallow
Generate a Nova resource from the bundled stub:
php artisan marshmallow:resource Order orders
Clear all Laravel caches at once:
php artisan marshmallow:clear
Changelog
Please see CHANGELOG for recent changes.
Contributing
Contributions are welcome. Please open an issue or pull request on the repository and follow Marshmallow's standard contribution process.
Security Vulnerabilities
Please report security vulnerabilities by email to stef@marshmallow.dev rather than via the public issue tracker.
Credits
License
The MIT License. Please see the License File for more information.