Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

Chron's avatar

Precognition and Testing

Any reasons why it doesn't hit Controller even if the fields passed the validation? Test public function test_it_records_todo(): void { $response = $this->withPrecognition()->post(route('todo.store'), [ 'name' => 'Test ToDo', ]); $response->assertSuccessfulPrecognition(); $response = $this->post(route('todo.store'), [ 'name' => 'Test ToDo', ]

Chron's avatar
Chron's avatar martinbean10mos agoTesting
1
1
Last reply by martinbean 10mos ago
troccoli's avatar

Cypress bug?

I think I may have found a bug in Cypress, but before raising a issue there I was wondering if maybe it's not really a bug and someone else has come up with a solution. I was able to reproduce the issue with a brand new Laravel project with the Livewire+Blade Starter kit. I have a test to make sure that a user can log in t('should sing a user in', () => { cy.visit('/logi

troccoli's avatar
troccoli's avatar troccoli1yr agoTesting
2
1
Last reply by troccoli 1yr ago
vincent15000's avatar

Problem accessing database with sail

Hello, Here is my docker-compose file. services: laravel.test: build: context: ./vendor/laravel/sail/runtimes/8.3 dockerfile: Dockerfile args: WWWGROUP: ${WWWGROUP} image: sail-8.3/app container_name: dev-laravel extra_hosts: - 'host.docker.internal:host-gateway' ports: - ${APP_PORT:-80}:80 - ${VITE_PORT:-5173}:$

vincent15000's avatar
vincent15000's avatar vincent150...1yr agoDevOps
2
1
Last reply by vincent15000 1yr ago
troccoli's avatar

Do I need `$this->validate()` if I use the `Validate` attribute for my properties?

I have a simple Livewire component to sign the user in class SignIn extends Component { #[Validate('required|email')] public string $email = ''; #[Validate('required|string')] public string $password = ''; public function submit(AuthenticationService $authenticationService): void { $this->validate(); try { $authenticatio

troccoli's avatar
troccoli's avatar LaryAI1yr agoLivewire
1
1
Last reply by LaryAI 1yr ago
adrians's avatar

github connection reset

Hello! Has anyone ever had problems with github reseting/refusing the conection? I can deploy on test server but not on live. Coonnection with server is ok. This is the error: Resolving api.github.com (api.github.com)... 140.82.121.6 Connecting to api.github.com (api.github.com)|140.82.121.6|:443... connected. HTTP request sent, awaiting response... Read error (Connection reset

adrians's avatar
adrians's avatar adrians1yr agoEnvoyer
0
1
AnnaNImo's avatar

SEO: Too many crawl requests on livewire endpoint

There's only one LW endpoint that I use on all pages on my website. And in Google Search Console I have over 70% of all crawl requests (of over 1M daily crawl requests) on this single endpoint. If I block it in robots.txt, when I live test my website's URLs, there's this error that looks like a black square covering all content. I got this error in Chrome by simulating a 403 er

AnnaNImo's avatar
AnnaNImo's avatar Snapey1yr agoLivewire
8
5
Last reply by Snapey 1yr ago
ricardoarg's avatar

Dusk + Inertia + Vue 3, assertVue possible?

I'm starting a new app with laravel 12, inertia + vue, and trying to start doing tests In my controller I have: public function index(Request $request) { return Inertia::render('Wizard/Index'); } My Wizard\Index.vue file is something like: <script setup lang="ts"> import { ref, computed } from 'vue'; import { Head, useForm } from '@inertiajs

ricardoarg's avatar
ricardoarg's avatar martinbean1yr agoTesting
2
1
Last reply by martinbean 1yr ago
xasz's avatar

Scheduler with SQLite only

I am having this idea in my head and i tried, but cannot get it to work so far. My goal is to have a Laravel SAAS App running in Cloud with Task Scheduler Enabled and Postgres Hibernation. So lets explain: I have multiple SaaS Services which use Postgre Database i would love to migrate them to Cloud. They fetch some Data like once and hours or every six hours from somewhere and

xasz's avatar
xasz's avatar vincent150...1yr agoLaravel
1
1
Last reply by vincent15000 1yr ago
jva91's avatar

\Illuminate\Support\Facades\Schedule::events() returns empty array in tests when using ->withSchedule()

Im testing scheduled commands if they are registered correctly on a given time in different test cases in different files. File A: #[Test] public function commandIsScheduled(): void { /** @var CallbackEvent|null $event */ $event = (new Collection(\Illuminate\Support\Facades\Schedule::events())) ->filter(function (Event $event) { if (!is_string($ev

jva91's avatar
jva91's avatar jva911yr agoLaravel
0
2
wonder95's avatar

Laravel 12 and Mongodb - "Transaction numbers are only allowed on a replica set member or mongos" error

Working on a large Laravel 12 updgrade, along with corresponding updates to v5 of mongodb/laravel-mongodb, and in only one spot - updating our Account model (parent to a User model in our setup) in Nova, and when I go to update the model, I get this error Transaction numbers are only allowed on a replica set member or mongos {"userId":"6847487e8523ad9be00bf502&qu

wonder95's avatar
wonder95's avatar LaryAI1yr agoLaravel
1
277
Last reply by LaryAI 1yr ago
troccoli's avatar

Laravel Pennant and Cypress tests

I'm using Laravel Pennant to manage feature flags. Pest tests are easy to write, but I'm struggling to write E2E tests in Cypress. Specifically, I can't find a nice way to toggle a feature on (they are off by default) just of one test. Has anybody written some Cypress tests for features using Pennant? Does anybody have any suggestions how I could achieve this?

troccoli's avatar
troccoli's avatar LaryAI1yr agoLaravel
1
1
Last reply by LaryAI 1yr ago
islambassiem's avatar

Pest Testing for DB::transaction

I have a database transaction in a controller as follows: public function store(StoreRequestRequest $request, StoreRequestAction $action): JsonResource { $insertedWorkflowRequest = DB::transaction(function () use ($request, $action) { $workflowRequest = $action->handle(Auth::user(), $request->validated()); (new StoreStepsAction($workflowRequest))->h

islambassiem's avatar
islambassiem's avatar krisi_gjik...1yr agoTesting
4
1
Last reply by krisi_gjika 1yr ago
Rajtik76's avatar

Laravel parallel testing with separate storage for views per process

Background In one of my projects, I encountered an interesting problem when running parallel tests, some of them randomly failed, each time on the Blade template. The template was not always the same and it didn't make any sense at all. Moreover, the tests always ended up on a problem somewhere in the middle of the Filament logic in the template. I found that when I run the tes

Rajtik76's avatar
Rajtik76's avatar LaryAI1yr agoTesting
1
3
Last reply by LaryAI 1yr ago
valentin_vranic's avatar

How to setup clcikhouseDB in proper way?

Hi all, I'm looking for a good, working solution for laravel + clickhouse! I have to connect to the tcp port of 9004 on clickhouse server. I've tried with: https://packagist.org/packages/glushkovds/phpclickhouse-laravel without any success, for some reason it's always returns: Can't ping server My other try was with: https://packagist.org/packages/cybercog/laravel-clickhouse w

valentin_vranic's avatar
valentin_vranic's avatar valentin_v...1yr agoLaravel
2
1
Last reply by valentin_vranic 1yr ago
thesimons's avatar

Problem with Herd + Laravel Reverb "WebSocket is closed before the connection is established."

Hello, I have the following issue with Laravel Reverb and Herd WebSocket connection to 'wss://reverb.test:8082/app/td4xfrjqcsq38pn8xuve?protocol=7&client=js&version=8.4.0&flash=false' failed: WebSocket is closed before the connection is established. reverb.test is the dev test domain, 8082 is the port I'm using for Reverb in Herd. The site has HTTPS active. Looking

thesimons's avatar
thesimons's avatar Tray21yr agoLaravel
1
1
Last reply by Tray2 1yr ago
thesimons's avatar

Echo looking for Pusher even if Reverb is set everywhere

Hello, I have created a new laravel project just to test out Reverb + Echo. I have a "blank" Laravel installation.ù I have installed Reverb via php artisan install broadcasting I keep getting the following error: Error: Pusher client not found. Should be globally available or passed via options.client app.js is imported via Vite into the view import "./bootstra

thesimons's avatar
thesimons's avatar thesimons1yr agoLaravel
1
1
Last reply by thesimons 1yr ago
fogley's avatar

Dynamic routing and middleware from within controller

So, I have a problem. It seems that using middleware from within a controller becomes a problem when paired with my current routing setup... Currently, I am handling a bunch of external endpoints with the following setup: Route::match(['get', 'post'], '/api/{api_key}', function ($api_key) { if (file_exists(app_path("Http/Controllers/ApiEndpoints/{$api_key}.php")))

fogley's avatar
fogley's avatar fogley1yr agoRequests
12
35
Last reply by fogley 1yr ago
mr_reboot's avatar

Very odd testing error

I am posting this under filament since that's where I'm testing but I think this might be an issue with laravel. Has anyone seen this before? Here is my test: it('can edit a user profile', function () { $userProfile = UserProfile::factory() ->create([ 'tenant_id' => $this->tenant->id,

mr_reboot's avatar
mr_reboot's avatar mr_reboot1yr agoFilament
2
1
Last reply by mr_reboot 1yr ago
thesimons's avatar

Migrate database from one laravel installation to another

Hello, the situation is the following: I developed an app - lets call it app1.com - in Laravel 12 and it's actually working. I redesigned the app in my dev environment starting from the database of the the app1.com All changes to the database are into migrations Now I want to test the "refactored" app on test.app1.com starting from a copy with data of the database o

thesimons's avatar
thesimons's avatar EricZwart1yr agoLaravel
1
1
Last reply by EricZwart 1yr ago
thesimons's avatar

Cannot redeclare class XXX (previously declared in

Hello, I have a problem with a migration. Laravel keeps saying that I can't run this migration because it looks like there's another class with the same name already declared. But it's not true. Little background: I made a mistake to create the migration with a standard name, ran it and then renamed it. Understood my error I did a migrate:reset and then deleted manually emptied

thesimons's avatar
thesimons's avatar thesimons1yr agoLaravel
3
1
Last reply by thesimons 1yr ago
dan3460's avatar

Table Not found

I'm updating an old program, created a test database and run the migration. It crashed because of a table name on a foreign id: $table->boolean('clearance_customer')->default(false); $table->foreignId('sales_people_id')->constrained(); $table->boolean('active')->default(true); On the migration the table was named "sales

dan3460's avatar
dan3460's avatar dan34601yr agoLaravel
9
1
Last reply by dan3460 1yr ago
sameed_editz's avatar

How to Integrate OneSignal in Laravel to Send Push Notifications to a Flutter App?

i have some questions.. How do I set up OneSignal in Laravel? What packages or libraries should I use? is it possible to do via onesignal rest api? currently i have tried this but failed? OneSignalService <?php namespace App\Services; use GuzzleHttp\Client; class OneSignalService { protected $appId; protected $apiKey; protected $client; public function __

sameed_editz's avatar
sameed_editz's avatar sameed_edi...1yr agoLaravel
0
5
Pxscal's avatar

Laravel Unit testing approach

Hi everyone, I'm currently trying to write unit tests for my AuthController in Laravel. However, I'm unsure whether my approach qualifies as a unit test or if it's more of a feature test Here is my AuthController I´m working with: public function login(Request $request) { $validator = Validator::make($request->only('username', 'password'), [ 'username' => 'required|string

Pxscal's avatar
Pxscal's avatar martinbean1yr agoLaravel
7
1
Last reply by martinbean 1yr ago
kevinbanami's avatar

Custom Artisan Commands Not Showing in Laravel 11/12 (Dockerized Environment)

Hi all, After upgrading my Laravel project from v10 to v11, I noticed that my custom Artisan commands are no longer being registered in my Dockerized local environment. This was working fine in Laravel 10. I also tested this in a fresh Laravel 12 (Dockerized) setup and faced the same issue. Example: Inside Docker container: php artisan make:command TestCustomCommand Then trying

kevinbanami's avatar
kevinbanami's avatar Braunson1yr agoLaravel
1
24
Last reply by Braunson 1yr ago
pablomac's avatar

Error when using create or save related to polymorphic relationships

I can't seem to get polymorphic MorphMany relationships working correctly, both in an app that I'm working on and in a clean app I created in Google's Firebase Studio just to test the issue. Here's a video model which is one of multiple models that will have a one-to-many polymorphic relationship with the image model: <?php namespace App\Models; use Illuminate\Database\El

pablomac's avatar
pablomac's avatar LaryAI1yr agoEloquent
1
7
Last reply by LaryAI 1yr ago
evan-55's avatar

How to serve app over https in GitHub Actions?

Hi all, I'm in the process of developing a CI/CD pipeline for an app, and I'm running into an SSL-related issue when executing my browser tests. I'm wanting to test the integration with Square Payments. This is working perfectly on local, since I'm serving the local site over SSL and therefore the Square Payments SDK allows rendering of the card payment form. However, when runn

evan-55's avatar
evan-55's avatar evan-551yr agoDevOps
0
1
Petergtzz's avatar

This content was blocked and must be served over HTTPS.

I want to test some web hooks so I tried to use Ngrok but can't seem to make it work. I'm pasting the url like the docs example: Forwarding https://<mydomain>.ngrok-free.app -> http://localhost:8000 But all I see is a black page. The console prints: [Warning] [blocked] The page at https://<mydomain>.ngrok-free.app/login requested insecure content from http://[::1

Petergtzz's avatar
Petergtzz's avatar martinbean1yr agoLaravel
6
1
Last reply by martinbean 1yr ago
AtomCoder's avatar

Reverb Issue - WebSocket Connection Failed

I'm having an issue with Laravel Reverb. Ive set up everything, enabled reverb via laravel forge, but for some reason Im not receiving a console error: WebSocket connection to 'wss://data-cloud.test:8080/app/a5sokxlpubir0yddvrv6?protocol=7&client=js&version=8.4.0&flash=false' failed: pusher.js:3742 Its also trying to connect to my 'Valet Test Domain' on my live

AtomCoder's avatar
AtomCoder's avatar AtomCoder1yr agoReverb
0
1
Cushty's avatar

PHPStorm and Stripe warnings

Hi something weird is happening with PHP Storm and Stripe, I have set up a basic php file with Stripe and im getting warning Value should be one of: on things that are correct 2025_04_19_25Cg6ynGX2962qi1STWPcR, The weird thing is when i updated to the newer version of storm, what was weird was it rebooted, then it lost my current project in recent projects, so i had to open it

Cushty's avatar
Cushty's avatar Cushty1yr agoGeneral
0
1
earmsby's avatar

forgot to add cascade on delete

I have a pivot table where I forgot to add "->onDelete('cascade')" in the migration when I created the table. Is there any way to add this after the table already exists (either through Laravel command or directly in the database table)? Hoping not to have to wipe the pivot table and start over. Although, this is test data so if that's the only way, I'll do it, hav

earmsby's avatar
earmsby's avatar martinbean1yr agoEloquent
3
38
Last reply by martinbean 1yr ago
osc2nuke's avatar

LoadTranslationsFrom (not a package)

Tested for hours, loosing it! I'm working on a personal *two tables only CMS system. I have a blanco Laravel with Livewire installed but now i'm stuck with loading languages from outside the resources directory. The structure is pretty simple and straightforward: app/Modules/DummyTester Admin Database Providers resources Module.php ( installer) routes.php Providers/DummyT

osc2nuke's avatar
osc2nuke's avatar osc2nuke1yr agoLaravel
1
2
Last reply by osc2nuke 1yr ago
yeon-develope's avatar

Cannot connect to a S3 disk (MinIO) using HTTPS just HTTP

I'm having a connection error when I trying to connect to a MinIO (S3) server over HTTPS, It just happens with HTTPS because when I use HTTP it works fine. Let me give you an example of what I mean. // config/filesystems.php 'custom-minio-s3-disk' => [ 'driver' => 's3', 'key' => env('CUSTOM_ACCESS_KEY'), 'secret' => env('CUSTOM_SECRET_KEY'), 'region' => '

yeon-develope's avatar
yeon-develope's avatar emmanuel-e...1yr agoLaravel
1
1
Last reply by emmanuel-edu 1yr ago
bretterer's avatar

Testing for database transaction rollback

I am struggling testing to confirm that my DB::rollback is working fine. I have a model, Event::create() being called from a livewire component. My test uses the app instance to swap Event::class with mock where I call shouldReceive('create') and throw an exception: #[Test] public function rolls_back_transaction_on_failure(): void { $user = User::factory()->

bretterer's avatar
bretterer's avatar bretterer1yr agoTesting
2
2
Last reply by bretterer 1yr ago
AlCo2's avatar

does $tries inside a job override the setting in horizon?

I have set 'tries' => 3 in horizon setting for a test queue, and I then I have a job that gonna be running in this queue, with public $tries = 6; what's gonna happen in production env?

AlCo2's avatar
AlCo2's avatar Niush1yr agoLaravel
1
1
Last reply by Niush 1yr ago
Sajjadist's avatar

Tests Do Not Detect Routes

Hey Devs, I created a route that functions OK, but my tests are unable to detect it. Since the test is of type feature, all Laravel features should be included. Manipulating the closure to return a view or use a specific controller, clearing the cache, and dump autoload haven't resolved the issue. I recently updated both my Composer and npm packages, including Laravel itself. C

Sajjadist's avatar
Sajjadist's avatar tisuchi1yr agoTesting
8
1
Last reply by tisuchi 1yr ago
FvsJson's avatar

Laravel Mocking is making a mockery of me -.-

I have a job that logs auth users page visit once per day and at the end there is a exception check. The problem comes in to get th unit test to prove the exception check should work.... and its not... -.- job class <?php namespace App\Jobs\Auth; use App\Models\Admin\VisitedPage; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Database\QueryException; use Illumi

FvsJson's avatar
FvsJson's avatar Sergiu171yr agoLaravel
1
1
Last reply by Sergiu17 1yr ago
russellxu's avatar

laravel work with two connections with different prefixes?

I am writing a new project, which is build on a databse already has tables. So I have to add prefixes for the new tables to work with existings tables. This is the database.php config: 'connections' => [ 'mysql' => [ 'driver' => 'mysql', 'url' => env('DB_URL'), 'host' => env('DB_HOST', '127.0.0.1'), 'por

russellxu's avatar
russellxu's avatar martinbean1yr agoLaravel
2
1
Last reply by martinbean 1yr ago
mmoollllee's avatar

Custom Column with ManyToMany Relationship

Hi everyone! 😊 I'm working with Filament PHP and have a many-to-many relationship between Machines and Tests: Machine belongsToMany Tests Test belongsToMany Machines The goal is to track regular inspections of machines. Each Test has a next due date (next_time). In the Machines table, I want to display the next due date (defined from the latest test) for each machine. Ideally

mmoollllee's avatar
mmoollllee's avatar mmoollllee1yr agoFilament
1
1
Last reply by mmoollllee 1yr ago
Geimsdin's avatar

Laravel reverb - How to remove it?

I wanted to test Laravel Reverb, great tool, can't wait to use it in a new project, but at the moment I need to remove it from the current project because the client doesn't want the functionalities I was planning to use it for. I cannot remove it or I don't know how to do it and seems can't find informations online. If I try to remove it with composer I get this error: "

Geimsdin's avatar
Geimsdin's avatar Geimsdin1yr agoReverb
0
5
lararara's avatar

CORS Error with Cloudflare R2 Private Bucket, Filament Spatie Media Upload Plugin

I cannot upload images in Filament with Filament Spatie Media Upload Plugin, it's always giving me a 403 CORS Missing Allow Origin. This is the plugin, https://filamentphp.com/plugins/filament-spatie-media-library, and the only thing it mentions for using private uploads is setting the visibility to private. I can confirm this isn't an issue with setting up R2 on my Laravel pro

lararara's avatar
lararara's avatar sirabdull8mos agoFilament
3
8
Last reply by sirabdull 8mos ago
AsnCode's avatar

Laravel Socialite through Laravel herd !?

Hello i want to test and implement Laravel socialite but : local herd environment deliver address like this : xxxxxx.test or xxxx.dev Google developer console need endpoint in localhost:80 (with port) for testing local ... I have this error: Redirection not valid : l'URI must end with .com ou .org.... something like that How can i test my socialite integration ?? Exist an

AsnCode's avatar
AsnCode's avatar martinbean1yr agoLaravel
5
3
Last reply by martinbean 1yr ago
jarcas's avatar

Notifications that use ->markdown in toMail() don't show the view specified or contents, just the theme layout

I'm using Laravel 10 (I know, I'm working on updating) and for some reason emails sent from any notification that use markdown don't have any contents in the email other than the theme's layout - the view specified in the method doesn't show up. This is true for both an existing markdown notification email, and a brand new one. To test, I ran php artisan make:notification Invo

jarcas's avatar
jarcas's avatar jarcas1yr agoLaravel
10
1
Last reply by jarcas 1yr ago
dasbrow's avatar

Invalid locale en_US, de, etc.

I am adding other languages to our software, which works fine on my development machine, but on our test server we get the following error. I can't seem to figure out way? Google does not seem to be helping in this matter. I've tried to remove all but English from resources/lang, yet the message below remains the same. removing \App::setLocale(\Request::server('HTTP_ACCEPT_LANG

dasbrow's avatar
dasbrow's avatar dasbrow1yr agoLaravel
6
11
Last reply by dasbrow 1yr ago
anjanesh's avatar

Admin for models

I need to create a catalog of sort for a physical product based company and I had done one such test in Django where the backend is the Django admin which the user can login to upload. The backend job was minimal since all I had to do was to define the Admin's models in admin.py. Whats the Laravel equivalent ? FilamentPHP CMS ? It seems I need to create a number of files for co

anjanesh's avatar
anjanesh's avatar Batman551yr agoFilament
12
10
Last reply by Batman55 1yr ago
IvanPujianto's avatar

How to custom error msg for NotFoundHttpException ?

im using laravel 11, i try to catch exception and then display the custom localized error msg, but its not working for NotFoundHttpException, the session for error msg is not exists. So, how can i custom error msg for NotFoundHttpException ? This is my code : use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Symfony\Component\HttpKernel\Exception\NotFoundHt

IvanPujianto's avatar
IvanPujianto's avatar IvanPujian...1yr agoLaravel
5
3
Last reply by IvanPujianto 1yr ago
Svennnn's avatar

Flux/Livewire render accordeon-content conditionally?

Hey, I have a livewire component whichs updateCalls take roughly 300ms. Only 30ms of those are actual business-logic, IO and stuff, the rest comes from many many nested fluxcomponents that are diffed. At least thats what I am guessing from the profiler-image. My component is using a flux:accordion exclusive, where within each of the 3 content-sections, is a nested foreach which

Svennnn's avatar
Svennnn's avatar LaryAI1yr agoLivewire
1
1
Last reply by LaryAI 1yr ago
dominicsears's avatar

[HELP] Testing mail assertions inside of a job

Hello everyone! I've been stumped over this issue on some assertions of a mailable inside of a job. I could be doing it wrong as far as sending a mail inside of a job, but I've got these assertions working before, just now it's not working and I think it stopped working after I put DB transactions inside the controller that handles registration. The test passes when it shouldn'

dominicsears's avatar
dominicsears's avatar dominicsea...1yr agoTesting
2
1
Last reply by dominicsears 1yr ago
smitsanghvi94's avatar

Eloquent Model Attribute Blank Before Processing in Laravel

I'm trying to pass an attribute (cartonsData) into my InwardTransaction model, process it inside the model, and save related details in another model (CartonTransaction). However, I noticed that cartonsData is blank before it reaches my model's saving event. My Tinker Test $transaction = InwardTransaction::create([ 'date' => '10/03/2025', 'type' => \App\Enums\Tra

smitsanghvi94's avatar
smitsanghvi94's avatar krisi_gjik...1yr agoEloquent
3
1
Last reply by krisi_gjika 1yr ago
AtomCoder's avatar

FTP - Verify Credentials

Hi, I'm trying to periodically verify that a configured FTP server within my filesystem is accessible and operational. How can I test a FTP account to check if the credentials are correct and valid? (without uploading a file)

AtomCoder's avatar
AtomCoder's avatar martinbean1yr agoLaravel
4
1
Last reply by martinbean 1yr ago
GodziLaravel's avatar

Can spatie/laravel-csp Fix These CSP Issues Detected by ZAP?

Hey everyone, I ran a security test on my Laravel app using ZAP, and the results flagged several CSP-related issues: Alert Type Risk Count CSP: Wildcard Directive Medium 9 (52.9%) CSP: script-src unsafe-eval Medium 5 (29.4%) CSP: script-src unsafe-inline Medium 5 (29.4%) CSP: style-src unsafe-inline Medium 5 (29.4%) From my understanding, these issues stem from

GodziLaravel's avatar
GodziLaravel's avatar jdc18981yr agoGeneral
2
1
Last reply by jdc1898 1yr ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.