mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-25 20:26:52 +02:00 
			
		
		
		
	 82409f2fba
			
		
	
	
		82409f2fba
		
			
		
	
	
	
	
		
			
			* Convert route options to fluent methods Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods. * Slim `lang` files * Shift core files * Validate via object directly within Controllers * Use `Gate` facade for controller authorization * Dispatch jobs directly * Remove base controller inheritance * Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used. * Set new `ENV` variables * Add new Laravel `composer run dev` script * Add `storage/app/private` folder * Bump Composer dependencies * Convert `$casts` property to method * Adopt Laravel type hints * Shift cleanup * Apply suggestions from code review Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com> * Add old key as backup * Update composer * Remove extra line * Update this --------- Co-authored-by: Shift <shift@laravelshift.com> Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			425 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			425 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env php
 | |
| <?php
 | |
| 
 | |
| use Illuminate\Foundation\Application;
 | |
| use Symfony\Component\Console\Input\ArgvInput;
 | |
| 
 | |
| define('LARAVEL_START', microtime(true));
 | |
| 
 | |
| // Register the Composer autoloader...
 | |
| require __DIR__.'/vendor/autoload.php';
 | |
| 
 | |
| // Bootstrap Laravel and handle the command...
 | |
| /** @var Application $app */
 | |
| $app = require_once __DIR__.'/bootstrap/app.php';
 | |
| 
 | |
| $status = $app->handleCommand(new ArgvInput);
 | |
| 
 | |
| exit($status);
 |