DeviseInstallCommand
class DeviseInstallCommand extends Command
Properties
| InstallWizard | $wizard | The Devise install wizard | |
| DeviseInstallCommand | $io | This input output object for writing to console | |
| Mockery | $envMock | Mocks the environment |
Methods
Setup the application container as we'll need this for running migrations.
Run the package migrations.
Runs the install commands for migrations, seeds, publishing assets and configs
Changes the default out of the box Laravel database config to include other env() settings that we will use in Devise such as 'default' and we also update the sqlite driver stuff
Changes the email config file out of the box to include devise as the password reminder view instead of the other view
Details
at line 43
__construct(Container $app)
Setup the application container as we'll need this for running migrations.
at line 59
handle()
Run the package migrations.
at line 83
void
runInstallCommands()
Runs the install commands for migrations, seeds, publishing assets and configs
at line 118
void
changeDatabaseConfigFile()
Changes the default out of the box Laravel database config to include other env() settings that we will use in Devise such as 'default' and we also update the sqlite driver stuff
at line 134
void
changeEmailConfigFile()
Changes the email config file out of the box to include devise as the password reminder view instead of the other view