Tony Messias

@tonysm.com

Creator and maintainer of Turbo Laravel, Stimulus Laravel, Rich Text Laravel, Importmap Laravel, TailwindCSS Laravel & Globalid Laravel. Programmer at Tighten.

You can run AI models directly in the browser! No server, no API key, no subscription. Just one open-source package: Transformers.js. Translation, object detection, background removal... all running on your user's device. Join @nicodevs.bsky.social to learn more 👇 tighten.com/insights/run...

Run AI in the Browser: A Practical Guide to Transformers.js

Imagine you need to integrate AI into your web app. Let's say you want to quickly translate text. Preferably, you'd like to use something free and open source (you don't want any surprise bills at the...

tighten.com

Let's use the Laravel AI SDK to build a Slack bot! Many AI services offer Slack bots, but building your own has clear wins: 🧠 You own the memory 🔄 You can swap models anytime 🎨 You can customize it to your exact needs Join @nicodevs.bsky.social to learn how👇 tighten.com/insights/bui...

Build Your Own AI-Powered Slack Bot with the Laravel AI SDK

At Tighten, we use Slack for all our internal communication. It's where we chat, share ideas, and keep everyone up to date. And today, with AI becoming increasingly present in our workflows, the quest...

tighten.com

You may have heard of Blaze, the new tool from the Laravel Livewire team that speeds up Blade. But did you know how it works? From folding to function compilation, we break down its optimization strategies, and even build a mini version to understand it. tighten.com/insights/bla...

Under the Hood: How Blaze Speeds Up Blade Templates

If you attended Laracon US this year, or if you're big into Livewire, you might already have heard about Blaze. Blaze is a new drop-in package...

tighten.com

Delegated Types is one of my favorite Active Record patterns! It surfaces the invisible hierarchy in polymorphic relations, lets you define richer models and their nesting, track data changes on the type cleanly, and so much more. Had fun writing this one!

Tighten@tighten.com · 9mo ago

Polymorphic relations are great, but complexity grows with each shared behavior. Delegated types flip this on its head, building a first-class entity for shared behavior! Fewer entry points, less repetition, cleaner design. @tonysm.com wrote about it here: tighten.com/insights/del...

Parental, our Single-Table-Inheritance package, has a new release: v1.5.0! 👇 • Models can now transition from one child type to another, with become() • You can store child type as integers instead of strings • Eager loading children is even easier than ever tighten.com/insights/new...

New in Parental v1.5.0: Becoming, Integers, and Eager-Loading

Parental v1.5.0 introduces three new features for Single Table Inheritance in Laravel: types can now transition to other types with the become() method, you can use integer columns instead of strings,...

tighten.com

I've just made some changes to the Hotwire Starter Kit. Following the official Laravel Starter Kits, it now has 2FA and all the auth-related routes were replaced with Fortify! Also, Rails has Fizzy and Campfire as demo Hotwire apps, we'll soon have one too for Laravel world.hey.com/tonysm/hotwi...

Hotwire Starter Kit Updates

Hey, folks. I've just wrapped up some updates to the Hotwire Starter Kit for Laravel! It now has 2FA built-in (see the PR): ... and, also following the official Laravel Starter Kits, all the auth-rela...

world.hey.com

Fizzy source code is amazing. All I expected from a Vanilla Rails app. Regular controllers, regular models. No fancy architecture. It uses import maps and vanilla CSS, so all we need to run it locally is Ruby. The app is very colorful and vibrant, view transitions make it feel so good. Hotwire FTW.

A screenshot of the terminal running `bundle exec rails stats`. It shows a bunch of useful stats on the Fizzy application, such as number of controllers (87), rate of methods per class on controllers (3), number of models (63), rate of methods per class on models (8), etc.Screenshot of the Card class on Fizzy. The modules are the most interesting part to me.Screenshot of the cards controller. Just a regular Rails controller, nothing fancy (that's the idea).

Do you need AI in your app but can’t share private data with AI providers? You can self host and run models on your own servers thanks to Ollama 🦙 Join @nicodevs.bsky.social set it up & integrate it with your Laravel app, building a chat for super spies (TOP SECRET!) 👇 tighten.com/insights/bui...

Build Your Own Private, Self-Hosted AI Applications with Ollama & Laravel

Imagine your team wants to bring AI into their workflow to automate routine tasks, extract insights from data, assist with content creation, or improve customer support. Smart move! You can integrate...

tighten.com