Questions tagged [laravel]
The Laravel framework is an open-sourced PHP web framework that allows developers to create dynamic and scalable web applications. The source code of Laravel is hosted on GitHub and released under the MIT license.
laravel
212,547
questions
0
votes
1
answer
35
views
Foreign key constraint is incorrectly two foriegn keys migrate in laravel 11
i am beginner programmer of laravel.i am creating a simple warehouse management system in laravel 11.when i tried to migrate and tables and assign the Foreign keys i ran into the problem with Foreign ...
0
votes
0
answers
17
views
sitemap.xml missing tags when run through schedule
I have installed: spatie/laravel-sitemap composer packages
For caching is responsible: spatie/laravel-responsecache
Sitemap generation command:
<?php
namespace App\Console\Commands;
use ...
-3
votes
0
answers
18
views
Gent Rent availability in each hour for 2 weeks, depending on rent schedule, item quantity and current orders dates [closed]
I am trying to implement the function in PHP/Laravel (it is possible and advisable to use Carbon to work with dates) for this task, and don't know how to do this properly:
I have two arrays, one ...
0
votes
0
answers
24
views
Eager Loading One-to-Many Relationship in Laravel Returns Empty Collection Despite Data Being Present
I'm facing an issue with eager loading in Laravel where a one-to-many relationship returns an empty collection, even though there is data present in the database. The same relationship works correctly ...
0
votes
0
answers
16
views
Best Practice for Broadcasting Dynamic (updating) Product Prices in Laravel 11 with Vue 3 Frontend
I am developing an e-commerce platform using Laravel 11 for the backend and Vue 3 for the frontend, which requires near real-time updates of product prices and stock levels in response to currency ...
0
votes
1
answer
20
views
I Have error "SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list'"
When i update table, laravel is broken
On another site same code work well
$flatBuilder = Lot::where('lotid', $lotid);
$arFlat = $flatBuilder->first(...
0
votes
1
answer
38
views
No property found for validation: [g-recaptcha-response] biscolab / laravel-recaptcha
My project was written with Livewire
For Google Recaptcha, I use https://github.com/biscolab/laravel-recaptcha
This is the code of the controller:
class ContactForm extends Component
{
public $...
0
votes
0
answers
22
views
Best setup to work on custom plugins/packages for Laravel + Filament
I am currently working on some custom form components within my Laravel setup ("/packages/forms"). Going with all the examples I can find, there does not seem to be a proper way to watch for ...
0
votes
0
answers
41
views
Laravel11 SMTP and verify Mail
I'm new in the laravel world and setup a complete new laravel11 environment with composer.
I implemented the login and register option for the frontend with the documentation https://laravel.com/docs/...
-3
votes
0
answers
18
views
Gagal instal Endroid QrCode dan Simple QRCode [closed]
saya membuat project dengan memanfaatkan qrcode, ketika install composer gagal untuk versi laravel dan php sudah memenuhi. bagaimana solusinya?
Undefined type 'SimpleSoftwareIO\QrCode\Facades\QrCode'....
0
votes
0
answers
15
views
why Electron with electron builder in Laravel not automatically startup self localhost
i configure electron with electron builder , like create main.cjs and config package.json , and then run npm run electron-build , created a stepup.exe and then installed like install (headman-system ...
0
votes
0
answers
46
views
Slow Laravel Application
My client have a bought a laravel script from codecanyon in order to start development of a web platform and that script had already some of features implemented which we need.
The script bought is ...
0
votes
2
answers
40
views
When will a laravel model creation fail without an exception?
I am adding a store method to a controller that will create and save a new model to the database using the following code:
public function store(Request $request)
{
$validated = $request->...
0
votes
1
answer
18
views
Vite will not rollup scripts referenced only in Blade components
I have a Blade component that relies on some JavaScript, which I've put into a standalone module. The only place I need this script is when I'm using the component, so I've removed any mention of it ...
0
votes
0
answers
22
views
Custom table grouped by column Filament
I have a <table_name> with ±100k rows and I want to display only grouped rows based on <column_name> with Filament inside a Laravel project.
So on that table I will have columns like: <...