Skip to content

feat: add make:middleware command #97

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

Merged

Conversation

ahmed-abdelnaby-fahmy
Copy link
Contributor

No description provided.

@albertcht
Copy link
Contributor

albertcht commented May 19, 2025

Hi @ahmed-abdelnaby-fahmy ,

Thanks for your pull request, I think maybe a Laravel-style middleware stub by default will be better?
And this command can support psr15 option to create a PSR15 middleware for developers in need?

@albertcht albertcht added the enhancement Improved feature or adjustments. label May 19, 2025
…to feat/make-middleware-command

# Conflicts:
#	src/devtool/src/Generator/MiddlewareCommand.php
@ahmed-abdelnaby-fahmy
Copy link
Contributor Author

Hi @albertcht
agree with your suggestion. I’ve just pushed an update:
The default stub is now Laravel-style, and the --psr15 flag generates the PSR-15 version. Let me know if anything else needs tweaking

@albertcht albertcht merged commit 4bad3c3 into hypervel:main May 20, 2025
6 checks passed
@ahmed-abdelnaby-fahmy ahmed-abdelnaby-fahmy deleted the feat/make-middleware-command branch May 21, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improved feature or adjustments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants