rm composer lock
This commit is contained in:
		
							
								
								
									
										3294
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										3294
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										21
									
								
								kernel/services/ConsoleService.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								kernel/services/ConsoleService.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| <?php | ||||
|  | ||||
| namespace kernel\services; | ||||
|  | ||||
| class ConsoleService | ||||
| { | ||||
|     public function runComposerRequire(string $package): void | ||||
|     { | ||||
|         exec("composer require $package"); | ||||
|     } | ||||
|  | ||||
|     public function runComposerRemove(string $package): void | ||||
|     { | ||||
|         exec("composer remove $package"); | ||||
|     } | ||||
|  | ||||
|     public function runCommand(string $command): void | ||||
|     { | ||||
|         exec($command); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user