🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:InstallCommand.php
<?php namespace Spatie\LaravelPackageTools\Commands; use Illuminate\Console\Command; use Spatie\LaravelPackageTools\Commands\Concerns\AskToRunMigrations; use Spatie\LaravelPackageTools\Commands\Concerns\AskToStarRepoOnGitHub; use Spatie\LaravelPackageTools\Commands\Concerns\PublishesResources; use Spatie\LaravelPackageTools\Commands\Concerns\SupportsServiceProviderInApp; use Spatie\LaravelPackageTools\Commands\Concerns\SupportsStartWithEndWith; use Spatie\LaravelPackageTools\Package; class InstallCommand extends Command { use AskToRunMigrations; use AskToStarRepoOnGitHub; use PublishesResources; use SupportsServiceProviderInApp; use SupportsStartWithEndWith; protected Package $package; public function __construct(Package $package) { $this->signature = $package->shortName() . ':install'; $this->description = 'Install ' . $package->name; $this->package = $package; $this->hidden = true; parent::__construct(); } public function handle() { $this ->processStartWith() ->processPublishes() ->processAskToRunMigrations() ->processCopyServiceProviderInApp() ->processStarRepo() ->processEndWith(); $this->info("{$this->package->shortName()} has been installed!"); } }
Save Changes
Cancel
Create New File
Create New Folder