Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
40 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,462
1 vote
0 answers
28 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
0 answers
21 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
40 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
35 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
0 votes
0 answers
73 views

I got a Laravel App running on an Apache server. I've configured VirtualHost to locally access the app with URL: https://www.infoalquiler.com.ar/ Despite the app is working properly, I'm getting a &...
Leandro Caplan's user avatar
0 votes
1 answer
51 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,309
0 votes
1 answer
95 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
  • 485
0 votes
2 answers
53 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
  • 506
-1 votes
0 answers
86 views

I have a route which I wish to protect with a token, using Sanctum. The offending route is /status, which would be accessed by /api/status. The /foo route works fine, there is only a problem when ...
Kevin Waterson's user avatar
1 vote
1 answer
90 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
104 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
77 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
40 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
0 votes
1 answer
74 views

How can I use Filament export in production? I don't want to use S3 and I want to use local storage. The exported files are secure and should not be public. When I use local disk, production ...
Mohammad Pourbehzad's user avatar
1 vote
2 answers
51 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
69 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
64 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
50 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
56 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
66 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
72 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
0 votes
0 answers
80 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,115
0 votes
0 answers
33 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
64 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
1 vote
2 answers
102 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
132 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,021
0 votes
1 answer
104 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
57 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
0 answers
37 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
0 votes
1 answer
85 views

Fresh new installation of Laravel 12 composer create-project --prefer-dist laravel/laravel api cd api composer update sudo chmod -R 775 storage sudo chown -R www-data:www-data storage sudo chmod -R ...
Kevin Waterson's user avatar
1 vote
2 answers
75 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
61 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
0 votes
0 answers
77 views

on Vue-Laravel-based environment,CSRF token is initialized server-side -non-sanctum, one token per run-: routes/web.php Route::get('csrf-token' , function(){ $token = csrf_token(); return response()-...
Mahmoud Tarek Mahmoud's user avatar
Best practices
0 votes
1 replies
37 views

I have two models with global scopes. #[ScopedBy(UserScope::class)] class User {} #[ScopedBy(ViewerScope::class)] class Viewer extends User {} The scope just checks if class instance has is_viewer ==...
Denys Siebov's user avatar
1 vote
0 answers
148 views

I'm running a Laravel project locally using Herd and sometimes XAMPP on my Windows machine. I’m trying to share a live link so that other devices (phones, laptops, etc.) on the same network can access ...
NNADI EMMANUEL's user avatar
0 votes
1 answer
116 views

I’m running a Laravel backend alongside a Vue frontend on NGINX. The issue I’m facing is that my API endpoints are returning HTML instead of JSON. For example: https://isuecampusmap.site/api/ → ...
Bunz's user avatar
  • 1
2 votes
2 answers
174 views

I'm on Kubuntu (25.10) and I just tried creating a new laravel app using the laravel installer laravel new myapp and got this error In Terminal.php line 114: stty: invalid argument '4500:5:f00bf:8a3b:...
Halnex's user avatar
  • 4,597
-3 votes
2 answers
143 views

I get this error: "message": "Malformed UTF-8 characters, possibly incorrectly encoded", This is my real id with UUID in the database: 944CC79D-5980-4587-8A52-000A2F11D7D1 ...
Fajar Alam's user avatar
0 votes
0 answers
31 views

I’m using Filament 4 with the package guava-labs/filament-calendar. Everything works except eventClick actions: clicking an event opens an empty modal, and no data from the clicked record is passed to ...
Nicolò Scapin's user avatar
0 votes
0 answers
51 views

I’m working on a project in Laravel 12 using Vite, and I have a directory like resources/css/partials/ that contains several separate CSS files. Right now, Vite only compiles the files that I ...
Madhu sudan's user avatar
0 votes
0 answers
37 views

I am using the Laravel 12 + React starter kit, and I want to create several components, for example: app/resources/js/components/Navbar.tsx app/resources/js/components/Footer.tsx app/resources/js/...
pileup's user avatar
  • 3,462
3 votes
1 answer
84 views

I have an invokable action class called: AttachMembersToRoom . Now, aside from basic form request validations, I also have complex validation, like comparing values across members, identify ...
ssrsvn's user avatar
  • 33
0 votes
1 answer
36 views

I have a Laravel 12 application where a BrandObserver is supposed to generate a slug automatically when creating brands. The observer works perfectly when called from a route, but fails during ...
daniil sidorov's user avatar
0 votes
0 answers
44 views

I am using Filament 4.x with Livewire 3.x to build a tenant registration page. I have a custom loader that should display when the user clicks the register button. The registration button is rendered ...
Iwalewa Fawaz's user avatar
0 votes
0 answers
21 views

Right now, I can set the lang attribute by changing the value of locale inside /config/app.php, but I also want to set the dir attribute. I can do something like that inside the /resources/views/app....
pileup's user avatar
  • 3,462
0 votes
1 answer
66 views

I have an svg file placed in /public/assets/icons, and I try to use it from within a CSS file: .some-icon { background-image: url("/assets/icons/arrow.svg"); } I get error 404 Not Found ...
pileup's user avatar
  • 3,462
3 votes
0 answers
97 views

Hi, I'm trying to migrate my APP from Yii2 (PHP 7.4) to Laravel 12 (PHP 8.4) and I also want to move from MySQL 5.7 to Postgres. In the old app I used to encrypt PII data and saved it to the database ...
Nordseebaer's user avatar
-6 votes
1 answer
37 views

I'm having trouble, when testing GET X API KEY in postman, a bug appears that the App\Http\Middleware\Apikey class is not found, but when I test the GET method without including the X API KEY there is ...
Alfazedh's user avatar
0 votes
1 answer
45 views

Structure of foldersI'm dealing with an error for a while now including the admin authentication in laravel, it seems that everything is in order ranging from the folder structure and code but laravel ...
Amar Boja's user avatar

1
2 3 4 5
4254