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

marnixk77's avatar

Preg_match new line on windows

I have a string (a url) that is has two possible endings and I would like to extract the number at the end of the first line. If I test my expression in an online tool, it works, but not on my windows desktop. http://xxxxx/p/3001002990 http://xxxxx/p/3001002990?variant=803713 I have this regex: @(?<=p/)(\d*)(?variant=\d*|\n|\r)@ And if I do a preg_match it only matches on t

marnixk77's avatar
marnixk77's avatar LaryAI2yrs agoTips
1
3
Last reply by LaryAI 2yrs ago
venoel's avatar

The "-c" option does not exist in Laravel (artisan)

I am trying to create model with command php artisan make:model -r -c ManagerModel Getting message PHP Symfony\Component\Console\Exception\RuntimeException: The "-r" option does not exist. But model and controller are created. I am trying to create model with command php artisan make:model -c ManagerModel Getting message PHP Symfony\Component\Console\Exception\Runti

venoel's avatar
venoel's avatar venoel2yrs agoLaravel
2
1
Last reply by venoel 2yrs ago
TerrePorter's avatar

alpine blink effect

Hey all, I'm trying to alternate background images on a div using alpine to simulate a blinking effect. { showBlueLightsBackground: false, pressSpinButton() { if (background_blink === null) { console.log('blink trigger'); background_blink = setInterval(this.flashBackground, 1000); }

TerrePorter's avatar
TerrePorter's avatar TerrePorte...2yrs agoJavaScript
4
1
Last reply by TerrePorter 2yrs ago
dani94's avatar

Unit testing ValidationRule

Hi guys! I would like to unit test a ValidationRule, but im not really sure how to instance and test the Closure. <?php namespace App\Rules; use Closure; use Illuminate\Contracts\Validation\ValidationRule; class Uppercase implements ValidationRule { /** * Run the validation rule. */ public function validate(string $attribute, mixed $value, Closure $fa

dani94's avatar
dani94's avatar tykus2yrs agoGeneral
3
11
Last reply by tykus 2yrs ago
alex32's avatar

Install Flarum to subdomain

I've installed Flarum locally (WAMP) under /laravel/flarum and it works fine by adding a VirtualHost. Now, I want to install it in production, in a subdomain because this is what Flarum suggest [1,2] Can you please check the steps below, in particular how do I install Flarum in my subdomain? Many thanks Ubuntu 22.04 Php 8.1 Laravel 10 OpenLite Speed 1.7.18 Cyberpanel 2.3 Add

alex32's avatar
alex32's avatar alex322yrs agoLaravel
1
1
Last reply by alex32 2yrs ago
k_meister's avatar

Laravel pulse server monitors

Hi, I wanted to test out laravel pulse on my applications and soon realised that i need laravel 10 and upwards in order to use it. Its quite a large application so upgrading will take some time and should be done with care... Since i am particularly interested in the server metrics, does pulse work as a dedicated project running in the server(s) i wish to monitor? Has anyone do

k_meister's avatar
k_meister's avatar LaryAI2yrs agoGeneral
1
1
Last reply by LaryAI 2yrs ago
jeFFF's avatar

Help with nginx config

Hello, I'm stuck with nginx config, for a project I have to upload MP4 files with a size of 100M maximum. I setup my php.ini accordingly like this : post_max_size=100M upload_max_file_size=100M I configure nginx with this line added : client_max_body_size 100M; When I upload an image file, everything is doing great and working, but when I upload an MP4 video (17M), the output

jeFFF's avatar
jeFFF's avatar LaryAI2yrs agoServers
1
3
Last reply by LaryAI 2yrs ago
yurizyn's avatar

Laravel 9 in Hostinger can't fetch image after it's up on domain

Im having a problem for a whole week now and i can't seem to fetch the image that user uploaded in their application ( loaning web application ) and i test it on localhost, it's working but when in the hostinger side it always says 404 or can't find when the admin going to check their signature picture. I tried to look up on the internet regarding on these type of error, i trie

yurizyn's avatar
yurizyn's avatar yurizyn2yrs agoLaravel
0
1
theferrett's avatar

Cannot Use RefreshDatabase Trait On A Model With A Specified Connection?

So I've been trying to get our database testing to use transactions, and it hasn't been working - the changes we make in the testing methods leave data behind (changed values, inserted rows, etc) that persist over to the next test, causing them to fail. Then, on a chance, I commented out the $connection string from the model we were testing, and lo! The RefreshDatabase worked

theferrett's avatar
theferrett's avatar theferrett2yrs agoTesting
1
1
Last reply by theferrett 2yrs ago
n8udd's avatar

Unexpected DateTime Format in assertDatabaseHas Method with Date when testing

Laravel Version 10.39.0 PHP Version 8.3 Database Driver & Version 8.0.33 Description When using the assertDatabaseHas method in tests, there seems to be an inconsistency with how date fields are handled. Despite the field being cast as a date in the Eloquent model and stored as a date in the MySQL database, the assertDatabaseHas method is returning the date as a datetime st

n8udd's avatar
n8udd's avatar klopma1yr agoTesting
4
1
Last reply by klopma 1yr ago
chithira-kumar's avatar

How to connect laravel application to existing database in Docker

my docker-compose.yml file db: image: mysql:8.0 container_name: test-db restart: unless-stopped command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci environment: MYSQL_ROOT_PASSWORD: example MYSQL_DATABASE: test MYSQL_ROOT_HOST: "%" MYSQL_DATABASE: ${DB_DATABASE} MYSQL_ROOT_PASSWORD: ${DB_P

chithira-kumar's avatar
chithira-kumar's avatar chithira-k...2yrs agoLaravel
0
1
phayes0289's avatar

Odd Issue Triggering a 404 in Postman.app, When Trying to Send Notification of New Data

I am in need of some help, as I am a bit over my head compared to my capabilities in object-oriented programming and Laravel. I am attempting to send email and Web notifications for each new row of data being added to a model. This is the used for alerting firefighters to a new incident. I actually have this for two different sets of code, one of which is working just fine. The

phayes0289's avatar
phayes0289's avatar LaryAI2yrs agoLaravel
1
1
Last reply by LaryAI 2yrs ago
HectorOrdonez's avatar

Fresh Laravel authentication not persisting

I have spent a lot of hours in this problem. Eventually I decided to make a fresh laravel app and test the basics. All I did was: create laravel app add breeze breeze:install with livewire run migrations artisan serve registered a user logged in with user refresh, still works At this point, I modified the web.php routes like this: [...] Route::get('test', function() { if(

HectorOrdonez's avatar
HectorOrdonez's avatar kiko2yrs agoLaravel
3
1
Last reply by kiko 2yrs ago
vincej's avatar

Can't get Ubuntu / Apache to render application

For those of you all who saw an earlier post from me on the topic of Bootstrap not loading properly, I have come to the conclusion that I have a problem with Apache on my Ubuntu server on the grounds that my application will render using the Laravel internal web server, but not Apache. I created a brand new fresh Laravel 10 test site. I have enabled the site. and I have set my

vincej's avatar
vincej's avatar vincej2yrs agoLaravel
22
3
Last reply by vincej 2yrs ago
skoobi's avatar

Testing with Pest2 and Fillement not authorising user

Hi. I keep hitting an issue with my first test where I'm trying to add a test to see if an user can log in. I'm using fillemenmt as my admin panel, so not sure if that has any bearing on it. I know its something I'm doing wrong but heres my code: <?php use App\Models\User; // Comes back successful test('an unauthenticted user can not access dashboard', function () { $t

skoobi's avatar
skoobi's avatar skoobi2yrs agoTesting
3
1
Last reply by skoobi 2yrs ago
Max100's avatar

Object comparison fails @input, but not @blur

On each field of a form @input calls a function to check if the data in the form changed. If the data changed, a Save button appears so the user can save the changes. When the page is rendered and the file_form object is initialized, a clone of the object is also saved. Something line this: const file_form = useForm({ name: props.afile.name, type: props.afile.typ

Max100's avatar
Max100's avatar gych2yrs agoVue
7
1
Last reply by gych 2yrs ago
bvfi-dev's avatar

Laravel Session cookie cannot be set to 'None' for SameSite

I need to have my website in an iframe in another website. I test it in an iframe when trying to register and I get an Error 419. This is basically the same as: https://laracasts.com/discuss/channels/laravel/setting-same-site-in-seassonphp-doesnt-do-anything and the solution there was: Just convert and transform your whole app, which is something I unfortunately cannot afford r

bvfi-dev's avatar
bvfi-dev's avatar bvfi-dev2yrs agoLaravel
4
3
Last reply by bvfi-dev 2yrs ago
TheRabber's avatar

Laravel Dusk timeout

Hey together, I'm trying to run laravel dusk on my m2 mac with laravel sail and inertia but I'm not getting it to run properly. I did the setup as mentioned in the documentation and I can run the LoginTest, but it's returning false for every element I'm trying to look for and afterwards throws this error: timeout: Timed out receiving message from renderer: 10.000 (Session i

TheRabber's avatar
TheRabber's avatar anchan422yrs agoTesting
5
9
Last reply by anchan42 2yrs ago
kmnurunnabi's avatar

Expecting validation Error

I have a test: test('quiz cannot be updated with invalid started_at', function () { $this->actingAs(User::factory()->create()); $component = Livewire::test(Edit::class, ['quiz' => $this->quiz]); $title = 'Quiz title'; $description = 'Quiz Description'; $type = true; $started_at = 'random_string'; $expired_at = 'random_string'; // Set com

kmnurunnabi's avatar
kmnurunnabi's avatar kmnurunnab...2yrs agoTesting
5
1
Last reply by kmnurunnabi 2yrs ago
manhnguyen's avatar

RefreshDatabase when testing using MySQL

I'm using MySQL as DB for testing because I want the same environment as my real server. But I realize that DB is not refreshed after each test classes (It only be refreshed if I use the Sqlite). When I run seeder in a test class, the data will be remain when another test class runs. Regarding that, I think about 2 approaches: Run a seeder before all test classes, but I can't

manhnguyen's avatar
manhnguyen's avatar Tray22yrs agoLaravel
1
1
Last reply by Tray2 2yrs ago
haynesg's avatar

The process has been signaled with signal "11". when running tests

Hello everyone, everything good? I'm having some problems since I updated my application's laravel from 9 to 10. When I run the php artisan test tests it runs all the tests but an exit status of 1 is returned and this ends up affecting my CI in github actions.. However, when I run the test locally, it is intermittent, sometimes it works but with this exit status of 1, sometimes

haynesg's avatar
haynesg's avatar bartollo1yr agoLaravel
5
1
Last reply by bartollo 1yr ago
sahar_mkr's avatar

send a file with CURL

Hi everyone, I have a file which comes from form-data in postman, I want to send that file to another api with curl, I don't want to save the file in my own app, read and send with curl, is it possible to directly get the file from postman and send it via curl without saving the file somewhere? I have the bellow array, when I use json_encode($array), there is not any file objec

sahar_mkr's avatar
sahar_mkr's avatar tisuchi2yrs agoLaravel
1
1
Last reply by tisuchi 2yrs ago
rhymesey's avatar

Laravel scout testing with relations

I am trying to figure out the best way to test Laravel Scout searches. I am using Meilisearch for local development of the app which is fine, but wanted a driver I could use for the local testing and for CI pipeline testing. I tried using the Laravel scout array driver but it doesn't seem to work with whenIn(). Here is an example of my searchable Services model. The languages a

rhymesey's avatar
rhymesey's avatar rhymesey2yrs agoTesting
0
1
daveb2's avatar

Livewire issue with V3

Hi all, I'm trying to understand why one of my edit routes is failing to update the model instance after upgrading from livewire V2 to livewire V3. The issue is that when I use the edit route to modify an existing $resource, not all of the properties make it into request()-> in the update route when I submit the form. The model properties outside of the livewire component ar

daveb2's avatar
daveb2's avatar daveb22yrs agoLivewire
0
1
MansourM's avatar

Laravel Dockerized Server Freezes During External API Requests - Seeking Help on Timeout Issues

Hello Laracast community, I hope you're all doing well. I am encountering an issue with my Dockerized Laravel server, specifically during tests on development. The main containers managed by Docker Compose include Nginx Proxy Manager, MySQL 8, PhpMyAdmin, and the Laravel server. you can find my docker setup here (still WIP) : https://github.com/MansourM/ez-docker-for-laravel/tr

MansourM's avatar
MansourM's avatar MansourM2yrs agoLaravel
2
1
Last reply by MansourM 2yrs ago
GodziLaravel's avatar

Git lab CI/CD composer not found problem

Hello I try to configure the gitlab CICD but I always get the error : Running with gitlab-runner 16.6.0~beta.105.gd2263193 (d2263193) on blue-4.saas-linux-small-amd64.runners-manager.gitlab.com/default J2nyww-s, system ID: s_cf1798852952 feature flags: FF_USE_IMPROVED_URL_MASKING:true Preparing the "docker+machine" executor 00:20 Using Docker executor with image

GodziLaravel's avatar
GodziLaravel's avatar gych2yrs agoDevOps
1
1
Last reply by gych 2yrs ago
rbroberts's avatar

Laravel 10 + Vite on WSL + Docker stopped creating/using styles

I have a Laravel 10 project which started out long ago as a Laravel 5 project. But for this iteration, I created a clean project and starting migrating models and controllers one-by-one. The only bit that came over mostly the same were the migrations, but even the seeders and factories got a make-over. And it was all working just fine. I converted from bootstrap to tailwind, wo

rbroberts's avatar
rbroberts's avatar rbroberts2yrs agoVite
2
1
Last reply by rbroberts 2yrs ago
talel's avatar

Cypress GitHub workflow

Any good reference to set up a GitHub workflow for Cypress with Laravel? The main issue I am facing is that on local development I am using Laravel Herd - which generates a secured TLS for my domain. With Cypress, setting the baseUrl configuration parameter causes the workflow to wait for a server to response before running the tests (GH Workflow). If I try to run npm run vite

talel's avatar
talel's avatar talelmisha...2yrs agoTesting
1
1
Last reply by talelmishali 2yrs ago
Steph's avatar

How to make Laravel partially mock the DB facade ?

Hi everyone ! Little lost with the mocking system in Laraval 10.x. PHPUnit permits to mock a class partially (->makePartial()). E.g., with this test case : public function testUpdateVehicleList_withDBException() { DB::shouldReceive('update')->once()->andThrow(new \Exception()); $toolsController = new ToolsController; $response = $toolsController->UpdateVehic

Steph's avatar
Steph's avatar Steph2yrs agoTesting
2
1
Last reply by Steph 2yrs ago
El Klo's avatar

Filament Resource::getUrl fails

I have a filament app that uses the multi-tenancy functionality from v3. I have set up my test suite to act as a user and to set the tenant: protected function setUp(): void { parent::setUp(); $this->actingAs(User::factory([ 'is_admin' => true ])->create()); Filament::setTenant(Team::factory()->create()); } I have the following (pest )test: it( 'can re

El Klo's avatar
El Klo's avatar El Klo2yrs agoFilament
2
1
Last reply by El Klo 2yrs ago
kianaassenheimer's avatar

Filament Testing Import - ImportAction within a table headerActions

Scenario: I have a livewire component using filament table with the headerActions of ImportAction. I have a csv file that when uploaded, will update the database with the values within in. A snippet of my table: public function table(Table $table): Table { return $table ->query(Model::query()->orderByDesc('created_at')) ->columns($th

kianaassenheimer's avatar
kianaassenheimer's avatar aizensoosu...11mos agoFilament
1
1
Last reply by aizensoosuke 11mos ago
Ookma-Kyi's avatar

Best way to handle seeder with recyclables

I had the pleasure of talking to Larry with an issue I am having: Me: How do I pass a variable to a seeder from another seeder? Lary: In Laravel, seeders are used to populate your database with test or initial data. If you want to pass a variable from one seeder to another, you can't directly pass variables between them since each seeder is executed independently by the db:se

Ookma-Kyi's avatar
Ookma-Kyi's avatar LaryAI2yrs agoLaravel
1
2
Last reply by LaryAI 2yrs ago
shweta11's avatar

In Laravel I am trying to render .Vue file inside blade but it is not displayed

Check my code app.js const app = createApp({}); app.component('test-component', TestComponent); app.mount('#app'); test.blade.php @extends('layouts.app') @section('content') <div id="app"> <test-component></test-component> </div> @endsection TestComponent.vue <template> <div> <h2>This is a Test

shweta11's avatar
shweta11's avatar gych2yrs agoVue
1
1
Last reply by gych 2yrs ago
digitalhuman's avatar

Multi-database tests

Hi all, So, we are really running out of options here. We use different database and some tests rely on these databases. We run the tests with RefreshDatabase trait and at first we expect it to refresh all 'databases' that are in use. We found out that this is not the case. So, we now 'refresh' the additional databases using the Artisan facade in the test where we actually use

digitalhuman's avatar
digitalhuman's avatar cabsey2yrs agoLaravel
3
6
Last reply by cabsey 2yrs ago
dealense's avatar

Pest Problem

Hello, I don't know why but If I run pest test with Ctrl+Shift+F10 it not showing dump with colors. In different project it works perfectly. I spent hours but still don't understand reason. if I run it with php artisan test or vendor/pest.. it dump result in colors. <?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2

dealense's avatar
dealense's avatar dealense2yrs agoTesting
1
1
Last reply by dealense 2yrs ago
kaikelfalcao's avatar

There is a way to make Lumen works with FrakenPHP in Docker?

I'm creating an API that needs to deal with a lot of concurrency and fast responses and I wanted to test using FrakenPHP with Lumen but I couldn't find a way to make it work

kaikelfalcao's avatar
kaikelfalcao's avatar kaikelfalc...2yrs agoPHP
0
1
samirapadidar's avatar

how to create login and register with googl account?

I want to add a feature to my project called login and register with Google account For this I have installed league/oauth2-client package, now I want to test it For this I used the following code $provider = new Google([ 'clientId' => 'your-client-id', 'clientSecret' => 'your-client-secret', 'redirectUri' => 'your-redir

samirapadidar's avatar
samirapadidar's avatar martinbean2yrs agoLaravel
3
1
Last reply by martinbean 2yrs ago
mstdmstd's avatar

How to sart working with fedex.com with account number ?

I registered myself at fedex.com and I recieved email I registered with with messages : Thanks myname, for creating a FedEx user ID and for taking the time to sign up. With a user ID, you can easily track shipments, create an address book, manage your account and more. Your account details : ... and button to login on the site. But from "Account Management" tt was p

mstdmstd's avatar
mstdmstd's avatar martinbean2yrs agoGeneral
1
1
Last reply by martinbean 2yrs ago
vincent15000's avatar

BadMethodCallException: Method Illuminate\Http\Response::assertSeeLivewire does not exist.

Hello, With Livewire 3.4. When I run this test. <?php namespace Tests\Feature\Livewire\Pages; use App\Livewire\Pages\CategoriesPage; use App\Models\Category; use App\Models\User; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Livewire\Livewire; use Tests\TestCase; class

vincent15000's avatar
vincent15000's avatar AlexandruC2yrs agoTesting
5
1
Last reply by AlexandruC 2yrs ago
duddy67's avatar

Custom variable removed in the handle method

Hi, Can someone explain what's happening here ? class SendTestEmail implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; protected $data; /** * Create a new job instance. * * @return void */ public function __construct(object $data) { $this->data = $data; logger('__construct(

duddy67's avatar
duddy67's avatar JussiManni...2yrs agoLaravel
3
1
Last reply by JussiMannisto 2yrs ago
kmnurunnabi's avatar

Trying to know Best Practices of Laravel unit tests

Hey. In a project, beside feature tests I had some unit tests that was testing of my laravel service class given below: PostService.php <?php namespace App\Services; use App\Constants\MediaCollectionName; use App\Models\Post; use Illuminate\Support\Facades\DB; class PostService { public function store(array $data, $image = null) { return DB::transaction(fu

kmnurunnabi's avatar
kmnurunnabi's avatar kmnurunnab...2yrs agoTesting
0
1
anonymouse703's avatar

How to apply downloaded theme in Laravel 10?

The problem I was confused is the downloaded theme used webpack in compiling assets while Laravel 10 used vite as default.. My question is how can I transfer the webpack configuration into vite configuration? example this is the them webpack conf const path = require('path') const glob = require('glob') const HtmlWebpackPlugin = require('html-webpack-plugin') const MiniCssExtra

anonymouse703's avatar
anonymouse703's avatar anonymouse...2yrs agoLaravel
13
1
Last reply by anonymouse703 2yrs ago
bertmi01's avatar

Help with new production server setup

I have a project that has been stuck on Laravel 7 and I just updated it to 10. Works great locally on my Windows dev machine with Laragon and works great on a test server I have on forge. The current production server is running on Ubuntu 18, php 7.2, Mysql 5.7... It seems like it would be a huge pain to try to update all of that, and not even sure I could successfully update U

bertmi01's avatar
bertmi01's avatar bertmi012yrs agoForge
7
1
Last reply by bertmi01 2yrs ago
arraygod's avatar

firstOrCreate parent, then create child, possible?

Having issues for some reason creating two models inside a model. Child and parent through/inside hasOne. Perhaps thats the reason? Though Ive tried in Tinkerwell, as well. Ive tried several other ways. Works only if Parent model has been created (dispute), or exists(). Model Method: public function newDispute(string $message) { if(is_null($this->dispute)) { $newCase

arraygod's avatar
arraygod's avatar tykus2yrs agoEloquent
1
1
Last reply by tykus 2yrs ago
vidhyaprakash85's avatar

Livewire testing

I have a blade file and it has a livewire component. @section('content') <div class="subheader"> <h1 class="subheader-title"><i class='subheader-icon fal fa-pen'></i> {{__('Feedback Entry')}}</span></h1> </div> <div class="row sticky-top"> <div class=&quo

vidhyaprakash85's avatar
vidhyaprakash85's avatar kiwi01342yrs agoTesting
3
1
Last reply by kiwi0134 2yrs ago
Max100's avatar

Strange problem with Vue component

I've tried writing a vue component while using Vue 3.4 and Inertiajs, but have run into a couple of odd issues. The component is a lookup for contacts. As the user types, a list of matching contacts appears and if the user clicks on a name it's filled into the form. If no matching contact is found, a button appears to add a new contact. The button opens a modal dialog and af

Max100's avatar
Max100's avatar LaryAI2yrs agoVue
1
1
Last reply by LaryAI 2yrs ago
ajithlal's avatar

Create disposable sites

I have a requirement to create a disposable site to test the individual features. Is there any way to create a disposable site from GitHub actions and deploy the specific branch?

ajithlal's avatar
ajithlal's avatar martinbean2yrs agoForge
6
1
Last reply by martinbean 2yrs ago
theferrett's avatar

Best Practices For Creating/Importing Local Development Data?

So we've got a super-complex database with 50+ tables and a couple of million rows - and we've been trying the "one remote development database that all our devs connect to," with decreasing results. (Our data contains no sensitive information.) So it looks like our options for creating workable test data for local development are: Run all migrations with test data

theferrett's avatar
theferrett's avatar theferrett2yrs agoTips
0
1
kayintveen's avatar

Local nginx setup initial load super slow

Hi All, I've been struggling with my local setup for a while now. And finally took the time to investigate deeper but was not able to find out whats wrong. I have a local nginx setup build with homebrew with PHP running also on homebrew not on a socket but on a port with php-fpm (currently only running [email protected]) Some how the initial load on my local test domains take somewhere b

kayintveen's avatar
kayintveen's avatar kayintveen2yrs agoDevOps
3
1
Last reply by kayintveen 2yrs ago
Mega_Aleksandar's avatar

Local simulation of production environments

Hello everyone, In this question or thread, I would like to get some help or any pointers regarding the following idea: Simulation of a production environment localy using Docker containers One container to act as GitHub (or even utilize the GitHub CI/CD) One container to act as the Kubernetes master One to act as a Kubernetes node with pod(s) with the application The point i

Mega_Aleksandar's avatar
Mega_Aleksandar's avatar Mega_Aleks...2yrs agoDevOps
3
1
Last reply by Mega_Aleksandar 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.