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

tomasnorre's avatar

Logo marquees, jumping in logos

I have watched this video from Simon Vrachliotis about Logo Marquees, but I cannot get it to work. If I not have listened well or be able to read the transcript, cannot say, but my logos are still doing a big jump, which is address in the video, but I must to missing something. I have added my code to this https://jsfiddle.net/ek10yox8/2/, but I cannot see what I'm doing wrong.

tomasnorre's avatar
tomasnorre's avatar tomasnorre6mos agoCode Review
3
540
Last reply by tomasnorre 6mos ago
nduagoziem's avatar

Filament Login fails in production (403 Forbidden) but works in local environment

I deployed my laravel API on a VM instance (Oracle Cloud) running Ubuntu 24.04, while my Nuxt Frontend is deployed on Vercel. I am using Laravel Sanctum for SPA authentication. Everything works fine, but when I try to log in as the admin on Filament, I get a 403 Forbidden. The same thing happens on the frontend: when a user tries to log in or make any POST request, it doesn't g

nduagoziem's avatar
nduagoziem's avatar nduagoziem6mos agoFilament
5
7
Last reply by nduagoziem 6mos ago
sniffabyte's avatar

using Faker to fake images always returns false

Hello guys I'm trying to use Faker to populate images on my localhost but it always return false. this is my code use Faker\Factory as Faker; $faker = new Faker; $faker::create()->image('public/images', 400, 300, null, false); // This returns false instead of the created image name. I tried is with tinker and hardcoded in my code and always returns the same thing. I think

sniffabyte's avatar
sniffabyte's avatar madadi7516mos agoLaravel
6
3
Last reply by madadi751 6mos ago
anonymouse703's avatar

How to redirect user to article page when login?

Hi! I'm using the new Laravel 12 + Vue starter. I created a news portal with Welcome.vue and Article.vue. I want that user must be login before it can bookmark an article. When the user login instead redirecting to dashboard it will redirecting to article page.

anonymouse703's avatar
anonymouse703's avatar Shivamyada...6mos agoLaravel
3
1
Last reply by Shivamyadav 6mos ago
vaites's avatar

Pest datasets loading data from database or service container

I'm trying to test some URLs on my application, that must be accesed using different roles. I need the list of pages to be loaded from a database and from an Statamic collection. I have a singleton for that, and I want to use it as a dataset: // returns a \Illuminate\Support\Collection instance dataset('example', fn() => app('example')->keyBy('uuid')); The problem is t

vaites's avatar
vaites's avatar raihanrazo...6mos agoTesting
7
4
Last reply by raihanrazon 6mos ago
Cushty's avatar

Inertia back button on mobile

Hi, i've noticed on mobile if a user navigates to different pages then presses the back button it actually comes out of the web app, ive noticed it on Laracasts as well, is there a way to keep history or another workaround on mobile using Inertia? Thanks

Cushty's avatar
Cushty's avatar DigitalArt...6mos agoInertia
6
4
Last reply by DigitalArtisan 6mos ago
Whitelionx's avatar

Error Call to a member function diffForHumans() on null

I am extremely new to laravel and I'm having an issue "Error Call to a member function diffForHumans() on null (View: D:\www\site\local\resources\views\welcome.blade.php)" [code]@extends('layouts.app') @section('content') Join Now! Best server, awesome battles with your friends! Join Now! Best server, awesome battles with your friends! Join Now!

Whitelionx's avatar
Whitelionx's avatar Whitelionx6mos agoLaravel
6
11
Last reply by Whitelionx 6mos ago
sebastiangperez's avatar

Laracast videos and chapters or path, sorted by date

I wonder if is possible that all the videos , paths or chapters can be sorted by date when you click on discover or browse or they are already in that order another thing is putting the creation date and the update date on the card , that will be useful. Some tutorials are kind old and outdated, maybe need a refresh or review and it will be nice more content on vue and porting

sebastiangperez's avatar
sebastiangperez's avatar LaryAI6mos agoGeneral
1
1
Last reply by LaryAI 6mos ago
sebastiangperez's avatar

Laravel and Inertia hang an application

Hi , i made a website using laravel and inertia and for some reason , seems like when you reload the page o if you do it quickly , seems to hang the server or takes too long to load, any advice ? im using hostinger and not a vps.

sebastiangperez's avatar
sebastiangperez's avatar LaryAI6mos agoLaravel
1
1
Last reply by LaryAI 6mos ago
sh1r3f's avatar

How to write tests to my stancl multitenancy app?

This sounds like a non-specific question. but yes it it.. I can't find the stancl/tenancy documentation for testing useful so can someone refer me to a good docs or article explaining how can I implement stancl/tenancy while testing? Thanks in advance.

sh1r3f's avatar
sh1r3f's avatar kei_mx6mos agoLaravel
4
46
Last reply by kei_mx 6mos ago
mosikasika's avatar

Uncaught RuntimeException: A facade root has not been set.

I just cloned my project, I hadn't opened it for 6 months. When I want to access my routes I get this error. Can you help me? here is my log : [Thu Jan 12 18:36:13.904918 2023] [php:error] [pid 147288] [client 127.0.0.1:44156] PHP Fatal error: Uncaught RuntimeException: A facade root has not been set. in /var/www/html/memba-2022/vendor/laravel/framework/src/Illuminate/Support/

mosikasika's avatar
mosikasika's avatar jhhazelaar6mos agoLaravel
2
1
Last reply by jhhazelaar 6mos ago
earmsby's avatar

Adding a generated ID field when importing a CSV

I have a model Contract. The model uses a required generated ID something like "C-EL98AESF" I have a function on the model that generates this quasi-random ID. Now, I've created a ContractImporter for this resource. I don't want to use any value from the uploaded CSV for this field. I want to generate one from the Contract::getID() just as when a Contract is creating

earmsby's avatar
earmsby's avatar earmsby6mos agoFilament
3
1
Last reply by earmsby 6mos ago
TarikAli's avatar

Refactor function and DB Transaction

Hello, i have this function in a service : public function createOptionWithValues(array $data): Option { $data = $this->prepareOptionData($data); $validationErrors = $this->validateOption($data); if (!empty($validationErrors)) { throw ValidationException::withMessages($validationErrors); } $option =

TarikAli's avatar
TarikAli's avatar tykus6mos agoLaravel
3
1
Last reply by tykus 6mos ago
DomHutton's avatar

LaraPress

Does a Laravel Wordpress clone exists? I'm not interested in the plugin architecture but User Management + WYSIWYG Posts/Pages + User Management System would have saved me budget on plenty of projects. Do other people feel the same? Would it be something I should investigate making when I next have the budget for it?

DomHutton's avatar
DomHutton's avatar Tray26mos agoLaravel
4
1
Last reply by Tray2 6mos ago
Cushty's avatar

Postcode lookup

Hi, what do you guys use for UK postcode search? i can use google but seems it can get expensive, ive seen https://postcodes.io/ just checking what you guys use? Thanks

Cushty's avatar
Cushty's avatar Cushty6mos agoLaravel
4
1
Last reply by Cushty 6mos ago
fritsjan's avatar

ticketing for laravel?

Hi All, I am developing a dashboard in laravel (inertia, vue) and would like my users to be able to give me feedback. A simple message system would be enough for now, but bug reports or feature requests or support would be nice in the future. An integrated ticketing system would be nice. This might be an option but has been updated 3 years ago: https://github.com/coderflexx/lar

fritsjan's avatar
fritsjan's avatar LaryAI6mos agoGeneral
1
5
Last reply by LaryAI 6mos ago
vincent15000's avatar

How to apply CSS styles and show images in an html email for Gmail ?

Hello, I just created a mailable and its blade view. Sent to Gmail and some other mail clients, the styles are deactivated. Same thing with base64 encoded images that are not displayed. How is it possible to apply CSS styles that can be applyed and displayed in Gmail ? How is it possible to show images in an html mail received on Gmail ? Thanks for your help. V

vincent15000's avatar
vincent15000's avatar Snapey6mos agoLaravel
12
1
Last reply by Snapey 6mos ago
HubertVanD's avatar

First option of select dropdown returns NULL

I have a Livewire component which contains a dropdown menu filled by values from the database: <form wire:submit.prevent='createIdea' action="#" method="POST" > <div> <select wire:model="category" name="category_add" id="category_add"> @foreac

HubertVanD's avatar
HubertVanD's avatar Snapey6mos agoLivewire
7
1
Last reply by Snapey 6mos ago
helloejsulit's avatar

How does e-wallet works?

Hello, I am having a bit of confusion regarding how does money coming from PayPal or credit card be converted to an e-wallet balance and use that balance as payment to the merchant? Say, I cash in $100 to my e-wallet account using PayPal. That transaction should be saved on my database, right? Then, I'll update the user's e-wallet balance to $100. Now, I'm going to purchase an

helloejsulit's avatar
helloejsulit's avatar helloejsul...6mos agoGeneral
14
1
Last reply by helloejsulit 6mos ago
SaeedPrez's avatar

What Are Some PHP Twitter Accounts Everyone Should Follow?

Hey guys, I've been on Twitter since 2009 but barely ever used it. I did my first ever tweet a couple of days ago. So I'm wondering, what are some PHP related accounts/people everyone should follow? So far I have.. https://twitter.com/laracasts https://twitter.com/jeffrey_way https://twitter.com/laravelphp https://twitter.com/taylorotwell https://twitter.com/stauffermatt https

SaeedPrez's avatar
SaeedPrez's avatar dodomedia6mos agoPHP
16
2
Last reply by dodomedia 6mos ago
raobilal4822's avatar

Live and Reactive is not wokring using relationship

I am using a relation with a section like this ->relationship('commissionSetup') ->schema(function (Get $get, $record) use ($serviceLevel) { $wizardServiceLevel = $get('../../meta.service_level'); $finalServiceLevel = $serviceLevel ?? $wizardServiceLevel ?? self::getPropertyServiceLevel($get('parent_

raobilal4822's avatar
raobilal4822's avatar LaryAI6mos agoFilament
1
1
Last reply by LaryAI 6mos ago
minaremonshaker's avatar

Managing API Exception Handling with Custom Formats in bootstrap/app.php

Hello, I am developing an API and want to handle exceptions in a specific format. I have added this format to the bootstrap/app.php file, but I want to avoid putting too much code in that file. Is it possible to extend the NotFoundHttpException and customize its response so that it appears according to my desired format? If this is possible, how can I apply it within bootstrap/

minaremonshaker's avatar
minaremonshaker's avatar minaremons...6mos agoLaravel
14
122
Last reply by minaremonshaker 6mos ago
minaremonshaker's avatar

Bearer Token Visibility in API Testing Tools

Hi, when I use Insomnia or Postman to test my API, I notice that the bearer token appears. Is this normal, or should it be secured in some way? Does it not appear at all in production? below is a copy of the console tap in insomnia * Preparing request to http://ticket-please.local/api/v1/users/1 * Current time is 2025-12-01T16:01:22.190Z * Enable automatic URL encoding * Using

minaremonshaker's avatar
minaremonshaker's avatar JussiManni...6mos agoLaravel
10
12
Last reply by JussiMannisto 6mos ago
vincent15000's avatar

Inline attachment with a Mailable

Hello, I'm trying to add an inline attachment. https://laravel.com/docs/12.x/mail#inline-attachments But I get this error message. Undefined variable $message The documentation says that the $message variable is not available in plain-text messages. I don't have any text attribute in the content class. public function content(): Content { return new Content( view:

vincent15000's avatar
vincent15000's avatar vincent150...6mos agoLaravel
3
2
Last reply by vincent15000 6mos ago
thesimons's avatar

Alternative way to achieve this kind of validation

Hello, don't kill me please. I tried the Laravel "validation" style but I'm unable to get the same result for the following (dirty) code. public function update(Request $request) { if (empty($request->current_password)) { return back()->withInput() ->with('error', 'lang.profile.settings.preferences.password.current_pas

thesimons's avatar
thesimons's avatar Tray26mos agoLaravel
5
4
Last reply by Tray2 6mos 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.