radiate-framework / framework

A WordPress plugin and theme framework
https://radiate-framework.github.io/
MIT License
4 stars 0 forks source link

Auth controller generators #6

Closed BenRutlandWeb closed 3 years ago

BenRutlandWeb commented 3 years ago

Is your feature request related to a problem? Please describe. generating/publishing multiple controllers for lost password, login, register etc takes time

Describe the solution you'd like vendor:publish --tag=auth would speed this up

Describe alternatives you've considered make:auth command but that isn't as descriptive of it's function and would re-implement vendor:publish

Additional context It's a niche case to want generate as wp already has auth covered however, it would be nice for implementing custom login pages or an API signup

BenRutlandWeb commented 3 years ago

This seems project specific rather than for the framework to handle. WP already handles auth and the Auth facade is just a nice way to access the authenticated user. Building out controller routes may have project specific requirements.

If this is a common requirement it can be created as a vendor package rather than bloating the framework