Replacing a PHP file

Hello, can I completely replace a PHP file in the admin panel via a plugin? For example index.blade.
10 Replies
0x7d8
0x7d814mo ago
use install/remove scripts
Зеля
ЗеляOP14mo ago
Can you tell me more about how they work and how to use them?
Emma
Emma14mo ago
You have to patch and restore the file instead of replacing it, to avoid conflicts.
Зеля
ЗеляOP13mo ago
:< how to add your own routes?
Emma
Emma13mo ago
client or laravel
Зеля
ЗеляOP13mo ago
to the API post request.
Emma
Emma13mo ago
look at the "requests" docs on conf.yml documentation
Зеля
ЗеляOP13mo ago
I saw it, but I didn’t understand how to work with it, and in what format to put them there.
Emma
Emma13mo ago
basically the same thing as adding routes normally would love to help you in detail but i cant rn
Зеля
ЗеляOP13mo ago
Route::get('/login', [Auth\LoginController::class, 'index'])->name('auth.login');
Route::get('/login', [Auth\LoginController::class, 'index'])->name('auth.login');
Is this how it works? and how can I add, for example, auth.register?

Did you find this page helpful?