skip to Main Content

laravel Validate Request

For Examle I have Request Validation 'images.*' => 'mimes:jpg,jpeg|max:10240', 'images' => 'max:5', It work In Create But , in update how I can check It , for example I already uploaded 4 image And In update I must add Only…

VIEW QUESTION

Class "AppHttpControllerssettingsControllerSettings" not found – Laravel

web.php <?php use AppHttpControllerssettingsControllerseoController; use AppHttpControllerssettingsControllercontactController; use IlluminateSupportFacadesRoute; use AppHttpControllersgeneralControllergeneralRoutes; use AppHttpControllerssettingsControllerusersController; Route::controller(generalRoutes::class)->group(function () { Route::get('/', 'index')->name('index'); Route::get('/getNews', 'getNews'); }); Route::prefix('settings')->group(function () { Route::controller(contactController::class)->group(function () { Route::get('/contact', 'index')->name('contactIndex'); Route::post('/contact/update/general', 'generalContactUpdate')->name('generalSContactUpdate'); Route::post('/contact/update/html', 'staticHtmlUpdate')->name('staticHtmlUpdate'); }); }); contactController <?php namespace AppHttpControllerssettingsController; use AppHttpControllersController;…

VIEW QUESTION

Laravel Mail cannot found view

This is really strange. I have a laravel app where I use the module library https://github.com/nWidart/laravel-modules I don't know if it has with the issue to do, but just want to point it out. Basically, I am writing phpunit tests.…

VIEW QUESTION

Laravel 8: create two different default app file

In the application there is column type where the type are: Users and Admin. I want to separate the app file of users to admin. I already edited the file of AuthenticatedSessionController if($user_details->type != 0) { return redirect()->intended(RouteServiceProvider::HOME); }else{ return…

VIEW QUESTION
Back To Top
Search