Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

Right now, when a logged in user is trying to go to guest only routes such as /register while he's already logged it, it redirects to the /dashboard route. I couldn't find where to change that. On ...
pileup's user avatar
  • 3,492
Tooling
0 votes
1 replies
56 views

I am using Laravel Blade with Alpine.js. I am trying to pass Blade variables (an ID and a string) into a JavaScript function using the @click attribute. However, VS Code is flagging syntax errors (red ...
Alex March's user avatar
Best practices
0 votes
3 replies
86 views

How to design a scalable user badges system without creating many boolean columns? I'm building a badge system where users earn specific badges by completing certain tasks. Right now, my database ...
ThePlayerRolo's user avatar
-4 votes
0 answers
64 views

I’m currently building a full-stack project (Blog CMS) using Laravel for the backend and HTML with Ajax for the frontend. I want to submit a form from the frontend using Ajax and have the data handled ...
Miracle Kenneth's user avatar
0 votes
3 answers
57 views

I'm setting up a GitLab Runner for a Laravel 12 project and I want my CI pipeline to do the following: Spin up a MariaDB service for the tests Run php artisan migrate:fresh --seed to seed the ...
Kektuto's user avatar
  • 160
-3 votes
0 answers
26 views

I'm stuck on a weird issue with a shared hosting cPanel environment and hoping someone here has seen this before. I recently replaced an old static Next.js site with a new React (Vite) build. The new ...
Muhammad Faizan's user avatar
0 votes
0 answers
26 views

I have a laravel 7 application, my frontend is in Bootstrap 4. Now i want to use Tap Payment in iframe. I implement it but the callback url is not working. It shows below error: Access to fetch at '...
Laravel Smart Solutions's user avatar
-3 votes
0 answers
47 views

Windows 11, PhpStorm 2025.2.5, Laravel 12.39.0 project In the PhpStorm Windows Powershell, PS C:\Users\peter\PhpstormProjects\piotr3> php artisan tinker Psy Shell v0.12.14 (PHP 8.2.12 — cli) by ...
Peter Kidson's user avatar
-1 votes
0 answers
54 views

I'm developing a website with laravel as backend and pure js as frontend. I'm getting a field named Bio and in backend I'm removing any unwanted html tags and keep the ones I need with mewebstudio/...
hosein in jast's user avatar
-1 votes
0 answers
66 views

I had unexpected rounding issues when storing values in database columns that are defined as decimal. Bad practice and not ideal. So i changed to a bigint column in the DB and multiple every amount * ...
Dave33's user avatar
  • 481
1 vote
2 answers
98 views

I'm attempting to containerise a laravel project which will be running vue, as webpack is now not a standard and vite is, for me to run vite it would then refresh if something in the project has ...
Developer Jay's user avatar
Best practices
0 votes
6 replies
101 views

I'm a bit unsure about how to proceed with Eloquent ORM (Laravel 12) queries when a value COULD be NULL. Normally, you would check for a NULL value with: ->whereNull("column") But if you ...
MaxWeb's user avatar
  • 169
0 votes
0 answers
38 views

I need to send a image to an API and it has to be base64 encoded and send as raw json. The request sent by Postman is received correctly But when I try to do the same request with Guzzle I am ...
Fabrice Lefloch's user avatar
0 votes
1 answer
106 views

Installed composer via brew. All good. Added path to composer folder in my .zshrc file - export COMPOSER_HOME="$HOME/.composer" export PATH="$COMPOSER_HOME/vendor/bin:$PATH" Ran &...
James's user avatar
  • 9
-1 votes
0 answers
35 views

I am having a problem installing blaspsoft/socialiteplus. I don't know what the issue is - illuminate/http and illuminate/contracts are set to ^12.* in composer.json: { "require": { ...
Asario's user avatar
  • 77
0 votes
0 answers
121 views

I built the RAG system in Laravel with Neuron AI framework. I tried to store docs to the vectorstore but I got error: [2025-12-04 06:49:45] local.ERROR: Server error: `POST http://localhost:11434/api/...
Leslie Joe's user avatar
-5 votes
0 answers
39 views

How do I make Laravel cache static assets/files from my public folder? For example in Django, when I load in the site, and then visit other links/URLs within the site it doesn't reload the other ...
Jerdan L. Gondayao's user avatar
Best practices
1 vote
3 replies
94 views

I have a multi-tenant Laravel app using a shared database with tenant scoping. Each organization can define base permissions for its members. Example: if resource.view is enabled, all members can view ...
Mustafa AHCI's user avatar
0 votes
0 answers
40 views

I'm honestly buffled at how difficult it is in Nova to apply even the slightest customization. In my case, I'm simply trying to add a new layout to a page, it shouldn't be that hard but no matter what ...
Lou Nik's user avatar
  • 127
3 votes
2 answers
140 views

I'm building a way to organize Items based on different requests: $items = Item::query() ->where("type", $itemType) ->when($mode, function (Builder $query, $mode) { ...
ThePlayerRolo's user avatar
1 vote
0 answers
60 views

I'm trying to dynamically load only specific icons from the lucide-vue-next package in my vue page, however it's not wanting to work. I'm using Laravel 12 (Latest), Vue3 (Latest shipped with Laravel), ...
Jon's user avatar
  • 385
2 votes
1 answer
79 views

Currently the app has 2 entry points for the JS and CSS files in the blade layout file: {{-- layout.blade.php --}} <head> <meta charset="utf-8" /> <meta name="...
pileup's user avatar
  • 3,492
2 votes
0 answers
87 views

I have a test which has a setup function that would call Storage::fake() function like so : public function setUp() { parent::setUp(); Storage::fake('public'); } All the tests post an image that ...
Ikhwanu Robik's user avatar
0 votes
1 answer
48 views

I have the following query: $countries = Country::with('place.details')->get(); My website is timing out running this query, even when I set the timeout to 10+ minutes. I discovered that if I ...
user5893820's user avatar
2 votes
1 answer
61 views

I'm trying to define a Laravel Eloquent model with a custom scope that filters categories by a related product's vendor_id. Here's my setup: class Category extends Model { public function ...
melkmeshi's user avatar
0 votes
1 answer
46 views

Fail on save record on a modal in button action at header of infolist - filament laravel I have a page view AgendamentoView. That display infolist of an Agendamento (schedule). Each schedule have one ...
Rafael Laube's user avatar
1 vote
1 answer
67 views

In laravel 11 app using spatie/image "^3.8" and spatie/laravel-medialibrary "^11.12" I need to get all properties of image and I do use Spatie\Image\Image; ... $itemMedia = $...
mstdmstd's user avatar
  • 3,321
0 votes
1 answer
107 views

I'm working with Laravel 12 (with Breeze), VueJS, Debugbar, all in their newest versions. My server is running locally on my MacBook, and developing on this MacBook works fine. The app works correctly ...
Dave33's user avatar
  • 481
0 votes
2 answers
69 views

By default, Laravel's email validation does not fail on invalid email, eg 'example@example'. $data = ['email' => 'example@example']; $rules = ['email' => 'email']; $v = Validator::make($data, $...
JohnSmith's user avatar
  • 508
1 vote
1 answer
102 views

Here's my laravel composer.json for its version info: { "name": "laravel/laravel", "type": "project", "description": "The skeleton ...
Evan Fersadi's user avatar
2 votes
2 answers
114 views

I encountered an issue while working on a Laravel project of mine, intended for property rentals. In the database, both the property owner’s and the tenant’s contact information are stored in the same ...
Leandro Caplan's user avatar
0 votes
0 answers
87 views

Context: I am using Laravel 8 with Livewire. Alpine.js is installed via npm in my package.json: "devDependencies": { "alpinejs": "^3.15.2" } I am not using a ...
Muhammed shanid's user avatar
0 votes
0 answers
60 views

I'm building a Server-to-Server OAuth Zoom App for my Laravel project, and I'm facing two issues during setup: 1. Zoom Webhook – “URL validation failed. Try again later.” I’m using a local ...
M Faisal Qasim's user avatar
1 vote
2 answers
54 views

Vue-Laravel-based environment, Mail sent to user with URL leads to a specific path on application - not app root - , on click it indeed redirects to required path - browser URL bar detects required ...
Mahmoud Tarek Mahmoud's user avatar
0 votes
1 answer
77 views

In Laravel 12 how can I load different service providers based on the environment? I think the documentation is lacking on this topic. So far I've found 3 potential places: inside the bootstrap/...
zer0uno's user avatar
  • 8,178
3 votes
1 answer
69 views

I have a Laravel 12 with 2 guards "web" and "admin", the admin guard has its own user table "admins" (privacy concerns). We have 2 Models "User" and "Admin&...
cari's user avatar
  • 2,341
Best practices
0 votes
2 replies
60 views

I'm currently learning inertia with react after using livewire and finding myself quite limited so I'm making a sample project that makes invoices to practice making forms and saving data to a ...
Alejandro Bolívar Hidalgo's user avatar
Best practices
0 votes
2 replies
66 views

I'm trying to set up a Livewire Starter Kit project inside XAMPP (in Windows). However, I'm running into issues getting it to work correctly. For example, Livewire components don't render properly, ...
mouad12300's user avatar
3 votes
1 answer
75 views

I am developing an application that contains sensitive data, and I want this data to be encrypted while still being searchable through the application code. I found a solution using the CipherSweet ...
mouad12300's user avatar
Advice
0 votes
5 replies
83 views

I have Laravel 12 project (PHP, Inertia, ReactJS and Tailwind) project that I need to deploy to a cPanel shared server. I do not have SSH access to the server, and the service provider does not give ...
Rootsman's user avatar
1 vote
0 answers
105 views

In laravel, I have a query that searches thousands of rows in a database, and I trying to compile that into a CSV file. In attempt to reduce memory usage, I get 500 rows at a time and output the CSV. ...
mankowitz's user avatar
  • 2,125
0 votes
0 answers
36 views

Horizon Version 5.40.1 Laravel Version 11.46.1 | 12.10.1 PHP Version 8.4.14 Redis Driver PhpRedis Redis Version phpRedis 6.3.0 Database Driver & Version pdo_sqlsrv 5.12.0, ODBC Driver 18 for SQL ...
logan's user avatar
  • 1
0 votes
1 answer
66 views

I know it's an unconventional pairing, but I am using Next.js and the Laravel stack for my app. namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\...
Felicity's user avatar
  • 177
0 votes
2 answers
110 views

I'm not able to generate slug when seeding database. I'm creating an e-commerce website course, learning Laravel as a beginner. But no error about slug is provided. What should I do? Slug is not ...
Tomask's user avatar
  • 11
4 votes
1 answer
148 views

I have a Laravel 12.39 project (on PHP 8.3) on a shared hosting with cPanel access, and in the cron section, I have the following setting to run artisan schedule:run, but it isn't working. This was an ...
McRui's user avatar
  • 2,023
0 votes
1 answer
113 views

I am using Laravel v12 with Filament v4 and TailwindCSS v4. I wanted to build a site with tabs, witch are a Livewire component inside filament/Page. In this Livewire components I have 3 tabs, where ...
Keso's user avatar
  • 101
0 votes
0 answers
66 views

I am using the laravel-localization package to localize my Laravel app. It works perfectly normal on local enviroment (using php artisan serve) and on shared hosting with Apache. I've just deployed it ...
Matic's user avatar
  • 45
1 vote
1 answer
52 views

<?php namespace App\Nova; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Laravel\Nova\Actions\Action; use Laravel\Nova\Fields\ID; use Laravel\Nova\Http\Requests\NovaRequest; ...
Sourav Saha's user avatar
1 vote
2 answers
100 views

Problem I am struggling with annoying 419 error trying to logout. The login and register are working fine. My api and spa are on the same top-level domain, but different ports api - localhost:8000 spa ...
Dmytro Shved's user avatar
Tooling
0 votes
3 replies
64 views

I’m trying to implement a real-time notification system in my Laravel application. The frontend uses jQuery, and the backend uses Laravel’s broadcasting system with Reverb (also tried with Octane and ...
Mohammad Fazal's user avatar

1
2 3 4 5
4254