Currently the only command/installer available is for lab404/laravel-impersonate
Command | Windows | Mac | Ubuntu | Jetstream | Laravel |
---|---|---|---|---|---|
jetstream-installers:lab404-impersonate |
❌ | ✔️ | ✔️ | 2.x | 8.x-9x |
You can install the package via composer:
composer require headerx/laravel-jetstream-installers
You can publish the config file with:
php artisan vendor:publish --tag="laravel-jetstream-installers-config"
This is the contents of the published config file:
<?php
// config for HeaderX/JetstreamInstallers
return [
'lab404-impersonate' => [
'enabled' => env('LAB404_IMPERSONATE', false),
'middleware' => [
'web',
'auth:sanctum',
// 'can:impersonate',
],
'route_prefix' => 'lab404-impersonate',
],
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-jetstream-installers-views"
Currently the only command available is for lab404/laravel-impersonate
:
php artisan jetstream-installers:lab404-impersonate --help
Description:
install lab404/laravel-impersonate into skeleton with routes and views
Usage:
jetstream-installers:lab404-impersonate [options]
Options:
--composer[=COMPOSER] Absolute path to the Composer binary which should be used to install packages [default: "global"]
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Installer::insertLineAfter(
app_path('Models/User.php'),
'use Laravel\\Jetstream\\HasProfilePhoto;',
'use Lab404\\Impersonate\Models\\Impersonate;'
)
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.