terrazine / composer-events
Wraps some composer events to laravel.
Installs: 87
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:wrapper
Requires
This package is not auto-updated.
Last update: 2024-11-16 16:07:25 UTC
README
\Illuminate\Support\Facades\Event::listen(\Terrazine\ComposerEvents\PreAutoloadDump::class, function () {
return function (\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\output\OutputInterface $output){
\Illuminate\Support\Facades\Artisan::call('down', [], $output);
};
});
\Illuminate\Support\Facades\Event::listen(\Terrazine\ComposerEvents\PostAutoloadDump::class, function () {
return function (\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\output\OutputInterface $output){
\Illuminate\Support\Facades\Artisan::call('up', [], $output);
};
});