Miguel Piedrafita · 18-year-old maker
Miguel's avatar
ProjectsArticlesSnippetsNewsletterNow

Snippets

A collection of short snippets I used to solve common problems.

Filter:
AllLaravelPHPReactGatsbyTailwind
 

Base Rule class for Laravel

Syntactic sugar on top of Laravel validation rules to make error messages easier

Commento for React

A drop-in React component for Commento

Laravel Fail Validation Helper

A Laravel helper to fail validation checks after validation has ended.

Scroll to Hash for Gatsby

A fix for browser auto-scrolling on Gatsby sites

Stripe Checkout with Laravel Cashier

Use Stripe's new Checkout with Laravel Cashier

Laravel Stripe Portal

Use Stripe's new Billing Portal with Laravel Cashier

Stripe VAT Tax configuration

A quick way to add VAT data to your Stripe's account taxes section.

Ghost Gallery in React

A clone of Ghost's Gallery component built with React and Tailwind CSS

soy@miguelpiedrafita.com—@m1guelpf on Twitter & @m1guelpf on Twitch
ProjectsArticlesSnippetsNewsletterNow