I have a form with uploading audio mp3. I need to protect these audio files from direct access from url, accessible only logged users. Added a new storage disk
In laravel Many to Many relationship like the one in the Laravel Documentation example. https://laravel.com/docs/9.x/eloquent-relationships#many-to-many users
If the value is exist in localstorage I want to replace it. When I try to do that existing value is still inserting. addEntry = (e,id) => { e.preventD
My route looks like this: Route::get('/tags/post/{id}', function ($id){ $post = Post::find($id); foreach ($post->tags as $tag) { return
I am working on an e-commerce platform based on Laravel and Livewire using the bumbummen99 shopping cart. My problem is that I can only add items to the cart, b
I have a form that is supposed to submit order details to the orders table through a custom select element (headlessUI Combobox). The element works fine but I c
i have this error invalid argument (Session info: headless chrome=91.0.4472.77) when if try $browser->visit('/'); but when i try $browser->visit('https:/
I need to set up a single user registration and login page to work for separate Laravel applications or projects, such that if a user registers on the first app
I am trying to upload/download files from amazon s3 using KMS, although i have implemented this without using KMS by the following code, $filePath = "users/" .
I had to install shopify-cli for develop shopify app with laravel. installation and test app are created successfully but when am i calling the API of shopify i
I have the following structure: A parent component: class SiteEditComponent extends Component { protected $listeners = ['upClicked', 'downClicked', 'childU
$posts = Post::all()->orderby('created_at','desc')->where('usr_id','=',session('LoggedUser'))->get(); return view('admin.profile',compact('userIn
I have the code below but it showing an error "Cannot use empty array elements in arrays". It seems that the issue is in this line }), collect(json_decode($pos
i am learning the codebase below form a different developer.i have understood all the sections except this line which defines this variable $price = (int)str_re
I am using Laravel framework. I want to create a date range filter using ajax. but I have a problem with the daterangepicker that I use this is my view this is
I want to send Header using Http Client in get() method, let me share my code with you. Http::get('https://subscriptions.zoho.com/api/v1/plans')->withHeader(
i need a help with my laravel app. i have a table with this structure: Schema::create('kliens', function (Blueprint $table) { $table->string('Kli
I am creating a checkout session where I want to add shipping rate which I've created in Stripe Dashboard. This is my code: $charge = $stripeClient->checkout
Have been trying to fix this error for almost an entire day now and have no idea what is possibly causing this issue. The error I get is: UnexpectedValueExcepti
I am making an App with vue js and laravel using API,i am getting original data , but there is an optional parameter that i want to insert in the query to rende