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

bashiro's avatar

Eloquent query Return last data as null

Hello folks, Thanks for any help. I am still learning Laravel. I am passing data to blade and in a table format where I have actions of edit and delete buttons in the table. So far so good. There is another button on the blade file to print pdf . Everything works fine with the exception of the last data in the table row. When I try to click on the button in the last row eloquen

bashiro's avatar
bashiro's avatar tykus2yrs agoEloquent
6
1
Last reply by tykus 2yrs ago
DanielRønfeldt's avatar

Herd won't find a non-Laravel site

Considering that Herd is just a wrapper around Valet, I thought I'd just create a new folder under the same folder where Herd is looking for Laravel sites, and Herd would allow me to launch it by using the folder's name (in my case it's dwd) followed by .test local domain, i.e. http://dwd.test. I created a simple index.php file and placed it within the dwd folder just to make s

DanielRønfeldt's avatar
DanielRønfeldt's avatar DanielRønf...2yrs agoGeneral
3
7
Last reply by DanielRønfeldt 2yrs ago
Kenta3's avatar

CORS Error in Laravel 11

Hey, I'm struggling with the following CORS error, i also look at this topic https:// laracasts.com/discuss/channels/laravel/error-cors-policy-no-access-control-allow-origin-with-laravel-11 it's the same error but it doesn't work for me. Can't post Links here so I make space after the https:// This is the error I get: "Access to XMLHttpRequest at 'https:// domain1.com/path

Kenta3's avatar
Kenta3's avatar pa2codes2yrs agoLaravel
3
32
Last reply by pa2codes 2yrs ago
myregistration's avatar

Does anyone know how to listen for Livewire events in a Filament Resource?

When using a Filament Resource that includes a form and table, I dispatch an event from the afterSave() method in it's relative EditRecord page and I have the listener set up in the Resource page. I added some JS to test the listener and I get an alert, so looks like the dispatch is working, but the listener method in Resource isn't getting called. In Resource: ( I tried with

myregistration's avatar
myregistration's avatar myregistra...2yrs agoFilament
1
1
Last reply by myregistration 2yrs ago
vincent15000's avatar

Testing VueJS

Hello, For a Laravel / VueJS application, what do you suggest for testing ? I have seen some suggestions in the VueJS official documentation : vuejs/test-utils vitest nightwatch test-utils seems to be appropriated to test components, vitest too but impossible to find anything in the documentation, nightwatch seems to have a pretty interesting documentation to begin with

vincent15000's avatar
vincent15000's avatar gych2yrs agoTesting
4
1
Last reply by gych 2yrs ago
SilvaDreamdeal's avatar

How to Connect Vuejs Frontend (local) to Laravel backend (cloud)

I have my backend in Laravel, working in server. Let it be: https://my-server.com I have my vuejs application working in localhost. I wanted to connect this application to the backend. I started to change my .env VUE_APP_DOMAIN = "localhost:8001" VUE_APP_DESTINATION = "https://my-server.com/" VUE_APP_API_URL = "https://my-server.com/" VUE_APP_EMAIL

SilvaDreamdeal's avatar
SilvaDreamdeal's avatar SilvaDream...2yrs agoLaravel
9
1
Last reply by SilvaDreamdeal 2yrs ago
bvfi-dev's avatar

Sending E-Mail throws a 504

Im trying to get the Email Verification to work, but Im having trouble. I shiuld mention Im using the Laravel Livewire Jetstream starter pack. The email verification from jetstream's side is enabled. First I had trouble with Authenticating the Email Credentials and it would throw an Email error, but after I fixed them, I now get 504 Gateway Time-out error. In the log file, it j

bvfi-dev's avatar
bvfi-dev's avatar hanafi1yr agoLaravel
2
3
Last reply by hanafi 1yr ago
LaravelFan's avatar

Issue with seeding my datatable

Hi, I'm getting the message: Attempt to read property "banner" on null on the index page. This is inside the Vendor.php model file: <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Vendor extends Model { use HasFactory; public function user() { return $this->

LaravelFan's avatar
LaravelFan's avatar Mamunsson2yrs agoLaravel
32
1
Last reply by Mamunsson 2yrs ago
dev.khosromanesh's avatar

can not connect to mysql with php code | used docker

i use WordPress want to use docker and deploy on a server problem is i can use WordPress but when want to use duplicator to transfer my site errored that can not connect to MySQL problem is wordpress itself can connect to db but other php codes can not docker-compose.yml file with following code version: '3' services: # Database db: image: mysql:5.7 volumes:

dev.khosromanesh's avatar
dev.khosromanesh's avatar dev.khosro...2yrs agoDevOps
7
1
Last reply by dev.khosromanesh 2yrs ago
Ligonsker's avatar

fetch + PUT gives error 419

Hi, I've been using the fetch API for a long time with POST like so: let _token = document.querySelector('meta[name="csrf-token"]').content; let form = document.getElementById("my-form"); let formData = new FormData(form); formData.append("_token", _token); fetch("/upload", { method: "POST", b

Ligonsker's avatar
Ligonsker's avatar Ligonsker2yrs agoCode Review
2
1
Last reply by Ligonsker 2yrs ago
drewgallagher's avatar

Laravel PHP Unit Tests With Postgres - SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint already exists

In the process of migrating from MySQL to Postgres we are running into this issue with our Laravel PHP Unit tests. We use seeders, factories, or models in our setUp() or seeding functions to insert data into our db to test against. We are using the RefreshDatabase trait in a super class for all of our tests. Then within individual test functions we are creating more database re

drewgallagher's avatar
drewgallagher's avatar drewgallag...2yrs agoPHP
2
248
Last reply by drewgallagher 2yrs ago
seb_run's avatar

Jquery focus()

Hi, I've got a livewire component that worked OK in Livewire 2 but is somehow broken since V3. The use case is as following : I've got an livewire html component wich contain a simple html search form that is hidden on first render (display : none). A wire button toggle the boolean that display this form. This livewire function also emit an event that is catch in the html compo

seb_run's avatar
seb_run's avatar seb_run2yrs agoLivewire
0
1
longestdrive's avatar

laravel testing: avoiding repeating similar tests

Hi I'm trying to find a better way to test my code as I find myself repeating similar tests. As an example I have a class (Class A) that within it's functions calls on functions within another class (Class B) Class A gets the result of a function in Class B and it then does something with it. In my tests I start with testing the functions within Class B and make sure it's produ

longestdrive's avatar
longestdrive's avatar longestdri...2yrs agoTesting
0
1
laracoft's avatar

Enumerate relations of a model

I think it makes sense for every model each to have a test that has a list of "authorized" relations, and it enumerates through the model and ensure that nothing has been added/removed. Is there an easy way to enumerate this list from the model using PHPUnit/Laravel?

laracoft's avatar
laracoft's avatar laracoft2yrs agoTesting
6
1
Last reply by laracoft 2yrs ago
SyedNoorullah's avatar

Delayed API response with godaddy server

we have a system where we are calling a third party API, Upon reviewing response is very slow, before i could push the code to production, we have a local environment where we test our code before we pushed to live, in local environment its very fast, can anyone knows about the issue.

SyedNoorullah's avatar
SyedNoorullah's avatar Danlog2yrs agoLaravel
1
1
Last reply by Danlog 2yrs ago
yelinnoo's avatar

204 status code issue in Laravel 11.

return $this->locationInterface->delete('Country', $country->id) ? response(status: 204) : response(status: 500); When I test the api for above delete method in postman, I get the parse error 'Parse Error: The server returned a malformed response'. In Laravel 10, I don't get any issue when I return status cod 204. Is this Laravel 11 issue or what?

yelinnoo's avatar
yelinnoo's avatar martinbean2yrs agoLaravel
4
17
Last reply by martinbean 2yrs ago
umerhassan's avatar

CSRF token mismatch Laravel sanctum with vuejs

I have very weird problem. I have one project hosted and main domain is serving real data and one sub domain is for test server you can say. Main: website.com Testing: test.website.com I have implemented larave sanctum and it was working fine and from no where I start receiving an error that CSRF token mismatch if I change SANCTUM_STATEFUL_DOMAINS from test.website.com to htt

umerhassan's avatar
umerhassan's avatar umerhassan2yrs agoLaravel
2
1
Last reply by umerhassan 2yrs ago
Cvetan's avatar

Changin Mysql configuration in Laravel Sail makes it non-functional(mysql container wont start)

I've changed sail configuration a bit, removing unneded services, and just for practice purposes I added root password and remove flag to allow empty password and now no matter what I do, I can't start mysql container. docker-compose services: acme-core.test: build: context: ./vendor/laravel/sail/runtimes/8.3 dockerfile: Dockerfile

Cvetan's avatar
Cvetan's avatar LaryAI2yrs agoLaravel
2
1
Last reply by LaryAI 2yrs ago
bwrigley's avatar

Casting to hash or Hash Facade?

I was just looking through a newly installed Laravel project and I wanted to remove all the password hashing from PasswordController, RegisteredUserController and NewPasswordController to test something but I noticed the password was still being hashed in the DB. I realised that in the User model it is already casting the password field to a hashed type. Sure enough, commenting

bwrigley's avatar
bwrigley's avatar bwrigley2yrs agoLaravel
2
25
Last reply by bwrigley 2yrs ago
MattApril's avatar

Laravel 11: asserting a command called another command

I have a command (MyCommand) that calls another third party (Passport) command by calling: $this->call('passport:purge'); I want to test my command and verify that the 'passport:purge' command gets called as well. I've had this test working for years with this: $purgeCommand = \Mockery::mock(PurgeCommand::class . '[handle]'); $purgeCommand->shouldReceive('handle

MattApril's avatar
MattApril's avatar MattApril2yrs agoTesting
2
1
Last reply by MattApril 2yrs ago
fbunadi's avatar

Problem with Testing in Laravel Sail

Hi all, 1st time poster here, so please go easy on me. I'm creating a pest unit test that requires database connection to test User Model however I keep getting the error "Call to a member function connection() on null". I have no issue for the application connecting to the default database. This error only happens on my test unit. My other Laravel Sail project has no

fbunadi's avatar
fbunadi's avatar jbianchi2yrs agoLaravel
2
1
Last reply by jbianchi 2yrs ago
psrz's avatar

Laravel Reverb and Nuxt 3

I'm trying to get this rolling and it's not working. To my surprise, apparently, the issue is with the Laravel application (a 10 upgraded to 11). I watched https://laracasts.com/series/lukes-larabits/episodes/17 and it looks pretty straightforward. This is the echo client setup as a nuxt plugin import axios from 'axios'; import Echo from 'laravel-echo'; import Pusher from 'push

psrz's avatar
psrz's avatar psrz1yr agoReverb
5
1
Last reply by psrz 1yr ago
Respect's avatar

How Upload and Retrive uploaded files in react Next JS in private folder

Hello friends Thanks for Answer if i visited http://localhost:3000/tmp/exmaple-name.png RETURN 404 but file path is correct NOTE : no need to upload files to public folder because it's gobal access - I just need make custom url to get the uploaded files by url like /getfile/{filename} - but steel uploaded folder protected from direct access any HELP Thanls NOTE 2 : I created

Respect's avatar
Respect's avatar Respect2yrs agoReact
0
2
tomarius's avatar

Blade::render() unlink error

I'm using Blande::render() to generate content for my emails: Blade::render(string: $body, data: $placeHolderData, deleteCachedView: true); but I'm getting a lot of errors like this because I use deleteCachedView: true: unlink(/var/www/html/storage/framework/views/456c7288c355db70f44f3fdca12cd0cd.blade.php): No such file or directory It works fine when I test it locally but onc

tomarius's avatar
tomarius's avatar megaezz2mos agoLaravel
7
1
Last reply by megaezz 2mos ago
GianniErrera's avatar

How to check Fortify two factors authentication

I would like to test Fortify authentication, specifically I would like to test wether two factors authentication is working correctly, but I can't think of any way to do it. I would like also to check whether reset password and other Fortify routes are working as well. Is there anything I can do?

GianniErrera's avatar
GianniErrera's avatar GianniErre...2yrs agoLaravel
2
1
Last reply by GianniErrera 2yrs ago
MaverickChan's avatar

Json format using firstOrCreate will cause SQLSTATE[HY093]: Invalid parameter number

after some test I just notice that if you have a Json or Array format column in database, using firstOrCreate will cause SQLSTATE[HY093]: Invalid parameter number error. Even you use json casts in model will not solve this. The only way is json_encode before send to database. My guess is, firstOrCreate is running before json cast. Is that an issue??

MaverickChan's avatar
MaverickChan's avatar MaverickCh...2yrs agoLaravel
2
1
Last reply by MaverickChan 2yrs ago
OgreKing's avatar

Trait "JMac\Testing\Traits\AdditionalAssertions" not found

Hello, I have a fresh Laravel 11 app. I am using Laravel Shift:Blueprint to scaffold my models, controllers and tests... They recommend jasonmccreary/laravel-test-assertions for the tests (PHPUNIT) they generate. When I run php artisan test and my tests trigger I get this error: Fatal error: Trait "JMac\Testing\Traits\AdditionalAssertions" not found . I am not sure wh

OgreKing's avatar
OgreKing's avatar jadwer2yrs agoTesting
2
1
Last reply by jadwer 2yrs ago
bwrigley's avatar

Very confusing Dusk and Vue behaviour

Very simply I have a Vue component that renders a list of messages. When the user submits a form on the page a new message is added to the list and is dynamically rendered as you would expect. This is all working fine from the user perspective. For some reason my Dusk test has just started failing and I've spent hours trying to understand why and I've found a couple of anomalie

bwrigley's avatar
bwrigley's avatar bwrigley2yrs agoTesting
0
1
devhoussam123's avatar

Run laravel dusk browser automation after form submission

I have a simple filament v3 form once the user type a text inside that form and click submit then the laravel dusk browser automation should get the value from the input field and make a search in google. How to achieve this: app/Filament/Pages/Search <?php namespace App\Filament\Pages; use Filament\Forms\Form; use Filament\Pages\Page; use Filament\Actions\Action; use Fila

devhoussam123's avatar
devhoussam123's avatar devhoussam...2yrs agoGeneral
0
1
dasbrow's avatar

Develop soap integration with only WSDL file

The company in which I would like to integrate does not have a sandbox for testing SOAP integration, they do provide a WSDL file. Would someone guide me on how to run SOAP request while only using the WSDL, for example is there a program that acts like the service using the WSDL file? I have developed other REST/Soap integrations before, just never had one you could not test li

dasbrow's avatar
dasbrow's avatar dasbrow2yrs agoGeneral
2
1
Last reply by dasbrow 2yrs ago
moongod's avatar

How to send multiple requests in laravel phpunit tests?

I have a Test class extended from Illuminate\Foundation\Testing\TestCase. I use DatabaseTransactions trait. In setUp() method i create models using factories. In one of tests i need to make two calls: first to retrieve offset param and second to retrieve data with offset. Like this: $response = $this ->get('/api/v1/companies') ; $response = $this->get('/api/v1/compan

moongod's avatar
moongod's avatar moongod2yrs agoTesting
2
1
Last reply by moongod 2yrs ago
murilo's avatar

Pest assertJsonValidationErrors it is not working , showing errors

hello I saw an example of working with laravel errors i pest , to verify those errors that are vaidating . so it should get the erors in my request here - I have in my Form , a resquest that is validation the password - and it shold show here that the password is required postJson(config('app.url').'/api/admin/users/store', [] )->assertStatus(422)->assertJsonValidatio

murilo's avatar
murilo's avatar LaryAI2yrs agoLaravel
1
4
Last reply by LaryAI 2yrs ago
murilo's avatar

do I have to name the route to access it in Pest via Post or Get ?

hello , do I have to name routes to access it in Pest ? I ha this route - this works test('my test', function () { postJson(route('login'), $data)->json(); }); but this does not work - test('my test', function () { postJson( /api/login, $data)->json(); }); I tryed as well - test('my test', function () { postJson( http://localhost/api/log

murilo's avatar
murilo's avatar gych2yrs agoLaravel
2
1
Last reply by gych 2yrs ago
semicolon24's avatar

Can anyone help with my error? SQLSTATE[22007]:

SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: 'Choose One' for column webkopegmar.pages.pages_category_id at row 1 (SQL: insert into pages (pages_category_id, name, slug, content, thumbnail, updated_at, created_at) values (Choose One, test pages 1, tes-pages-1, ties1, 25-04-2024.button copy2.png, 2024-04-25 05:33:29, 2024-04-25 05:33:29)) can anyone he

semicolon24's avatar
semicolon24's avatar tykus2yrs agoLaravel
3
1
Last reply by tykus 2yrs ago
sumityadav's avatar

Container unable to resolve class in a Job class

Laravel Version 11.4.0 PHP Version 8.3.6 Database Driver & Version No response Description In a new Laravel application, a singleton class registered within the AppServiceProvider is not resolved inside the constructor of a Job class. While the singleton resolves successfully in web.php, it fails within the job class. Steps To Reproduce Test class. public function __constru

sumityadav's avatar
sumityadav's avatar Talinon2yrs agoLaravel
2
1
Last reply by Talinon 2yrs ago
Hryha's avatar

Tests tracing in laravel 11

In Laravel 10, if I make a mistake in a test, I get a trace. In Laravel 11, this is not the case. Why and how to return it? I installed 2 new projects with laravel 10 and laravel 11 tracing in Laravel 10 vendor/bin/phpunit PHPUnit 10.5.19 by Sebastian Bergmann and contributors. Runtime: PHP 8.3.6 Configuration: /home/ivan/www/laravel10.loc/phpunit.xml .F

Hryha's avatar
Hryha's avatar s4muel2yrs agoLaravel
1
1
Last reply by s4muel 2yrs ago
dwen's avatar

Laragon Mail Sender

I tried to test Mail Sender on Laragon, after correctly entered Gmail Account Name and Password, clicked the button of Test Mail Sending, then it generated a message: "535-5.7.8 Username and Password not accepted." I am sure my Gmial Username and Password was accurate! Anyone had the same experience before?

dwen's avatar
dwen's avatar dwen2yrs agoLaravel
2
1
Last reply by dwen 2yrs ago
ignaciodev's avatar

assertInertia() fails when testing Inertia visits

assertInertia() throws a Not a valid Inertia response error when simulating an Inertia.js visit like so: $response = $this ->withHeaders([ "accept" => "text/html, application/xhtml+xml", "content-type" => "application/json", "x-inertia" => "true", "x-inertia-partial-

ignaciodev's avatar
ignaciodev's avatar gych2yrs agoLaravel
9
2
Last reply by gych 2yrs ago
illichov11's avatar

Set limit for queued jobs

I need to implement processing of big (different) amount of products - take them from one api and then send it to another api. Problem is that api where i should send this products has an limit (also different) - 2/4/etc requests per second. I test how can i do it with this way: call jobs like this: collect(range(1, 100))->each(function ($i) { TestJob::dispatch($

illichov11's avatar
illichov11's avatar emergingdz...2yrs agoLaravel
5
1
Last reply by emergingdzns 2yrs ago
FunCoding's avatar

Using Employee instead of User with Sanctum

I'm working with an old legacy system that uses multiple schemas. One of the schemas is employee and has an Employee table (name not in convention). I have the following Employee model: <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Lara

FunCoding's avatar
FunCoding's avatar FunCoding2yrs agoLaravel
2
1
Last reply by FunCoding 2yrs ago
Mega_Aleksandar's avatar

SEO testing on local

Hi everyone, Do you know of any tools or software which can test out SEO in a dev environment, aka. on local? What I am trying to achieve is to create offers to potential customers with current / live SEO that they have vs what I am bringing to the table. Thank you, Mega Aleksandar

Mega_Aleksandar's avatar
Mega_Aleksandar's avatar quintinmor...1mo agoGeneral
8
18
Last reply by quintinmorrow 1mo ago
amirghasempoor's avatar

RefreshDataBase trait not working for some tests

4 tests of my 128 tests persist data to the database and refreshDataBase not working for them in laravel testing and my test db is local mysql and not sqlite in memory how can i fix the problem?

amirghasempoor's avatar
amirghasempoor's avatar amirghasem...2yrs agoTesting
2
1
Last reply by amirghasempoor 2yrs ago
ced2718's avatar

Inertia 419 error with docker

Hello, I am having a small issue when trying to set my docker containers for a test environment. Here is my current docker-compose file (at least the relevant part): version: "3.9" services: app: build: context: . dockerfile: docker/Dockerfile.dev container_name: app environment: CYPRESS_BASE_URL: htpp://nginx DISPLAY: ${DISPLAY}

ced2718's avatar
ced2718's avatar ced27182yrs agoInertia
1
1
Last reply by ced2718 2yrs ago
Borichon's avatar

Request validation didn't give the field in fault

Hi all, I'm starting a new simplet test project with Laravel 11. I'm using a request like always : $validated = $request->validate([ 'nom' => 'required | max:255', 'prenom' => 'required | max:255', 'email' => 'required | email | max:255 | unique:users', 'motdepasse' => 'required | min:8 | confirmed',

Borichon's avatar
Borichon's avatar meche2yrs agoLaravel
4
1
Last reply by meche 2yrs ago
MB's avatar

Cashier: Keep failing when I check if user is subscribed

I'm trying to get Cashier to work with Stripe for subscription. New users are added to the Stripe Dashboard just fine. Subscriptions are added to the Dashboard as well, same goes with creditcard charges (test). Stripe show the Subscription as Active for the user. I can see the subscription and subscription_item fine in my database table. My user model have the stripe_id value a

MB's avatar
MB's avatar squashjedi1yr agoLaravel
4
1
Last reply by squashjedi 1yr ago
azc99's avatar

render custom fonts on forge deployed app

I have an app which creates pdfs from blade files. I am refactoring a laravel 10 app that uses mPDF (working perfectly) to laravel 11 using laravel-pdf. It works correctly locally (Laravel 11 Jetstream Herd), even using tailwind for fonts in app.css and tailwind.config.js. On deployed site all renders correctly except for the fonts indicating puppeteer and chrome is working for

azc99's avatar
azc99's avatar LaryAI2yrs agoForge
1
1
Last reply by LaryAI 2yrs ago
CrastyCrap's avatar

Laravel Queue failed

Hey there, While i am testing my application queue every thing was fine for several days but today i got that error my laravel queue failed and give that error "Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\GoogleSheetUpsertRecordJob has been attempted too many times. in /home/forge/api.artmes.net/vendor/laravel/framework/src/Illuminate/Queue/MaxAttemptsExceededE

CrastyCrap's avatar
CrastyCrap's avatar CrastyCrap2yrs agoLaravel
4
219
Last reply by CrastyCrap 2yrs ago
jaspercreel's avatar

Tests fail in bitbucket pipeline, not local

Hi all, I am running a test suite that utilizes Pest and Livewire testing. The tests run and pass locally, but in my pipeline environment they fail. If you haven't used Bitbucket pipelines before, it is similar to other CI/CD environs in that you just define a yml file with a docker image to run things. The tests that involve simple classes and models pass, like testing set and

jaspercreel's avatar
jaspercreel's avatar jaspercree...2yrs agoTesting
6
1
Last reply by jaspercreel 2yrs ago
thiagolp90's avatar

Policies not triggered in Laravel 11

Hi, I follow the documentation to use Policies in Laravel 11. In my AppServiceProvider.php file, i manually registered the policy in boot method: use Illuminate\Support\Facades\Gate; use App\Models\Post\Comment; use App\Policies\Post\CommentPolicy; Gate::policy(Comment::class, CommentPolicy::class); In my policy, i block an user to delete a third party comment: public functio

thiagolp90's avatar
thiagolp90's avatar gych2yrs agoLaravel
2
1
Last reply by gych 2yrs ago
AManInYorkshire's avatar

Error message for custom validator

Hi all. I have created a form request validator which extends FormRequest. I have several 'standard' rules in use and a custom rule, which I am returning from my rules function as follows: public function rules(): array { return [ 'stake' => 'required|numeric|gt:0', 'betting_event_ids' => [ 'required',

AManInYorkshire's avatar
AManInYorkshire's avatar tykus2yrs agoLaravel
3
1
Last reply by tykus 2yrs 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.