Skip to content

[12.x] Add documentation for make:job command options: --batched and --sync #10486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 12.x
Choose a base branch
from

Conversation

amirhshokri
Copy link
Contributor

@amirhshokri amirhshokri commented Jun 8, 2025

This update adds documentation for the php artisan make:job command, specifically covering the new --batched and existing --sync options.

  • The --batched option allows the creation of batchable jobs, enabling them to be dispatched as part of a job batch.
  • The --sync option generates a job that runs synchronously, without implementing the ShouldQueue interface.

These additions provide clearer guidance on generating different types of job classes based on application needs.

@amirhshokri amirhshokri changed the title [12.x] Add make:job command with --batched option to queue documentation [12.x] Add Documentation for php artisan make:job Options: --batched and --sync Jun 8, 2025
@amirhshokri amirhshokri changed the title [12.x] Add Documentation for php artisan make:job Options: --batched and --sync [12.x] Add documentation for make:job command options: --batched and --sync Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant