Summer sale! Save 50% on access to our entire library of courses.Join here →
LaravelSolved

Redirect nova admin

i am working on a project using Laravel Nova, this is the issue i am facing and can't figure it out why Enlightn is still failing: in **NovaServiceProvider** in **boot()** method i have ``` /** @var Request $request */ $request = $this->app->request; /** * Redirect to /...
May
Posted by May
10 months ago. Last reply 10 months ago.
1
485
Laravel

Sail, Docker & Github codespaces

Hi everyone, I’m using Laravel Sail in a Github Codespace. I have followed the instructions to install Laravel (https://laravel.com/docs/10.x/installation). Github Codespaces has generated this public URL for me: https://crispy-space-trout-xxxxxx-80.app.github.dev/ However, even when I change t...
sirmanu
Posted by sirmanu
10 months ago. Last reply 10 months ago.
1
447
General discussionSolved

I Love Your Database Tool

Hello @alex, can you share your database tool, really love it.
max
Posted by max
10 months ago. Last reply 10 months ago.
4
516
LaravelSolved

Incorrect VAT calculation

Prepare to have your brain melted. [Image](https://i.imgur.com/IpeAwCV.png) Let's dive into the code... **InvoiceItem**: ```php public function total($includeVat = false): int|float { $this->load(relations: 'vatType'); if ($includeVat) { return $this->price +...
Haz
Posted by Haz
1 year ago. Last reply 10 months ago.
7
745
Inertia

Layouts with Inertia

I have multiple layouts in my Inertia app, `Layout-Guest` and `Layout-Main`. Both use `app.blade.php`. I grab a Sign-in component from TailwindUI but it requires updating the `<html>` and `<body>` tags. Have you guys dealt with this before? I don't want to update my `app.blade.php` to add the clas...
whoami (Daryl)
Posted by whoami (Daryl)
11 months ago. Last reply 11 months ago.
1
424
InertiaSolved

Infinite scroll component breaking when navigating pages

Hello, I have grabbed the infinite scroll logic from Codecourse's Github and made a little component out of it, but I am facing an issue where it breaks the page when trying to navigate to another page that also uses the same component. The component itself works. ```vue <script setup> import...
Haz
Posted by Haz
11 months ago. Last reply 11 months ago.
2
639
Alpine.js

Livewire/Alpine conflicts

Hey all, I've no doubt there is an obvious conflict that I am missing here but I've been googling and researching for a couple of days now and cannot seem to resolve this issue. I've created a search functionality on my app (following the https://codecourse.com/courses/meilisearch-instant-search-...
tom81769
Posted by tom81769
11 months ago. Last reply 11 months ago.
1
491
InertiaSolved

Prevent logout Jetstream (Inertia)

I installed `Jetstream` and used the `Inertia` scaffolding. It's working fine, I'm able to add custom fields in the `Profile` information. However, when I change the currently logged-in user's password it is logging out. I haven't modified any middleware that came from `Jetstream` or `Fortify`. I...
whoami (Daryl)
Posted by whoami (Daryl)
11 months ago. Last reply 11 months ago.
6
704
LaravelSolved

A Simple Job Board Project

Hi folks, I was just wondering if you can help guide me to the best tutorial to learn what's needed to build a job board with filters..etc I want to build this with Inertia. My approach is that I want users to be able to filter by city, category, and skill. Additionally, do you know any open sou...
ameenz
Posted by ameenz
1 year ago. Last reply 11 months ago.
5
815
Laravel

Testing invoice PDF generation

Hello, I am running into a strange issue with a failing test. Error: ``` Unable to find a file or directory at path ``` The test: (I have slimmed it down) ``` test('a PDF is generated when an invoice is created', function () { Storage::fake(); // create a user with it's roles and perm...
Haz
Posted by Haz
11 months ago.
0
319