I've been hacking on a side project in Laravel that may never see the light of day, but I think it's worth talking about the building blocks I used for it. For context, I've been tracking bigger personal expenses in a Google Sheet for many years.

In Part 1 I want to describe the command I built with Laravel Prompts to import the CSV file.

private function getUserId(): void { do { $userId = search( label: 'What is the user\'s email?', options: fn(string $value) => strlen($value) > 0 ?

private function getFileName(): void { do { $this->fileName = select( label: 'Select file to import (
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners