I have some trouble connecting to PHPMyAdmin. So I always get the following message. SQLSTATE[HY000] [2002] No such file or directory I looked for a solution
I am trying to upload an image with react native front end and axios to my back end. This is how pic the image const pickImage = async () => { let result
Laravel: 9.2Mac OS: 12.3.1Docker Desktop: 4.5.0 I have installed a default Laravel project using sail. My docker-compose.yml file includes the following: mysql:
I'm trying to build a PWA with NuxtJS and Laravel is in the backend for the API. I use Laravel Sanctum for API auth and also I have NuxtJS auth module, I can lo
I'm using Laravel Livewire with bootstrap 4. I'm trying to use pagination but the links aren't displaying at the bottom of the table. I don't think the issue is
I have an existing Laravel project which I created with the following command. curl -s https://laravel.build/example-app | bash The project was created success
I want to add a custom message on date_format validation in laravel but conldn't find any thing.How i can add a custom message I have used this $messages = [ 'p
When I worked on laravel local development server php artisan storage:link works fine for me. But when I transfer my site to production server then I saw my pub
I have performed a fresh install of Laravel Jetstream. Upon completing all the steps outlined in the Jetstream (Inertia) set up process, the project starts up f
I'm trying to modify models after creating them with Factory. I have defined configure() method and within it what I want changed within the model. However, Lar
I'm trying to print {{$day->date}} in a view. Instead of full date YYYY-MM-DD the property only returns year YYYY. Can anyone explain me why it is working li
I create Laravel PHP application in Docker. First I setup Laravel app using laravel new laravelDockerApp it creates successfully.I verify
With laravel 7 /livewire app I make crud using Repository and I got listing of data ok, In mount event I assign protected var $FacilityRepository , which works
I am doing an Ajax login for my Laravel application. I am using Angular: $http({ method: 'POST', url: '/admin/login', headers: { 'Content-Type': '
I have a migration on Laravel for table pasien like this : public function up() { Schema::create('pasien', function (Blueprint $table) { $table->
i have problem like this. After insert new User to Pegawais table, i want to redirect to another view with user id parameter to define EducationHistory & Wo
I want to disable the laravel password bcrypt when I try to log-in like this Auth::guard('client')->attempt( 'id' => $request['id'], 'password' => $re
After Laravel project upgrade to PHP8 and laravel 9 on the all API endpoints started getting: There is currently no session available. Upgrade was made from lar
I'm new to laravel and I want to submit a form which have three attachments plus some arrays but when I click submit button laravel says "The POST method
I want to redirect to login page whenever a user successfully reset his/her password in laravel 5.4. Currently it redirects to dashboard page after successfull