Category "laravel"

Laravel trying to save $appends attributes

I am coding on Laravel 6, and stumbled up on this problem. I have accessors for a field that i need in my model in some cases, but it does not exist in my datab

FromRequest Validation for Get Method is not working -Laravel

I am doing request validation using FormRequest Method. I am using GET method. All things seems correct but validation is not working. My Controller use App\Ht

Google Sheet to Laravel 8 Integration

I want to integrate google sheet with Laravel 8 without any third party tool or connector. I know its simple for many but i am not able to get through. Highly a

Google Sheet to Laravel 8 Integration

I want to integrate google sheet with Laravel 8 without any third party tool or connector. I know its simple for many but i am not able to get through. Highly a

Get all the products which are inside parent Category and child categories in Laravel with the help of relation

I have category and product table as follows: Categories: id | name | slug | parent_id Products : id | brand_id | name | slug | price | desc P

laravel db transaction context is available on called functions

I have found that for using DB::transaction in Laravel, in combination with the ORM, we need to run something like: DB::transaction(function() { // Mod

Laravel-echo-server and Socket.io not firing command even though it's listening to channel

I've been trying to create a live chat application for a couple of days now, but it seems that I'm getting stuck on the first step; Getting the project to fire

Laravel : How to Create Dropdown to Select FOREIGN KEY from Other Table?

i want to ask you how to select FOREIGN KEY (from "doa_id in "doas" table) when user create a new data (to the "notes table) in a form. This is my code : NoteCo

Unit (real unit test) of test laravel relationship

Background Framework: laravel 9.x PHP 8.0 Continuous integration (Travis CI etc) I am working on a project that is legally very sensitive, so testing is vital.

Vue js with laravel not geting api data and response

this is Vue js component please help me to get data in template. getting data from vue js api in console i got undefined. Not getting blogList Data please help

Laravel export excel from view, prevent spacial characters error

I use maatwebsite/excel export from view, but when my column value contains any special characters like "&", export start sending error "Failed to load ....

Button onClick not working in React x Laravel

Hello everyone i am quite lost right now, in my other react projects onClick is working just fine but now with my new app laravel with react i cannot do an Oncl

Laravel 8 Admin controller don't work - in what problem?

I have this route: Route::group(['prefix' => 'admin', 'namespace' => 'Admin', 'middleware' => ['web', 'auth']], function () {; Route::get('/', fun

Losing session data after POST from third party website

I have a Laravel site that redirects to a payment provider (external third party website). When the user completes their payment, they are redirected back to my

Laravel s3 upload file with metadata using pre-signed url

I am implementing S3 file uploads and downloads using pre-signed urls. I have one s3 bucket (versioning enabled) and one AWS user but I want to track the histor

POSTING XML USING GUZZLE CLIENT LARAVEL

I am a laravel junior developer and i have been using gazzle http for handling my requests, now i have a task of integrating Collections to a system. The provid

Elastic beanstalk cron with laravel schedule

I have just made two schedule in laravel. Register them in kernel like this $schedule->command('jobs:expire')->everyMinute(); $schedule->command('job

Return to same tab after form submit laravel 8

I have a view with multiple tabs. Each having different forms. When I submit a form from one tab, it returns to same page but primary tab. How could I get to re

How to integrate TailwindCSS in a Laravel package?

Usually, when I use Tailwind in Laravel, I would install it like so: $ npm install -D tailwindcss postcss autoprefixer $ npx tailwindcss init /* in the app.css

Laravel Polymorphism for different content types (Multisite)

I started to develop a little Content Management System for two languages (de, en) that starts to grow bigger. In that context, I have Posts and Pages (a bit li