edulazaro
edulazaro

Eduardo

@edulazaro

Instruction at referenced memory could not be read.

15 Posts 198 Views

  • No matching results...
  • Searching...

/ 255

Poll Options

Pinned

Just released Laractions, a package which allows to create actions and model actions, keeping them in an organised way. Actions can run both synchronously or asynchronously without the need to create additiona jobs.

You can do:

// Syncronous
$user->action('send_email')->run($subject, $content);

// Asyncronous
$user->action('send_email')->dispatch($subject, $content);


github.com/edulazaro/laractions

143

Whenever I used existing drag-and-drop libraries with Livewire, I kept running into issues. The livewire-sortable package relies on Shopify Draggable, which is heavier and tends to cause quite a few problems.

So I built this package that uses SortableJS instead. It works well with wire:navigate, supports multiple containers, and preserves Livewire references correctly. Only 36KB.

Yes, it’s not a huge thing, but it solves a real problem.

👉 npm install wire-sortable

github.com/edulazaro/wire-sortable

1

83

Larallow 1.1 released with new query methods and a bunch of fixes.

These scope methods check both direct and roles permissions as well as implied permissions.

image

github.com/edulazaro/larallow

56

🚀 Introducing Larallow, a Laravel permissions/roles package. Here's what it brings:

✅ Scoped Roles and Permissions: per project, team…
✅ Native support for PHP Enums for permissions
✅ Chainable multi-permission and role checks
✅ Flexible actor types and scopes
✅ Translation support built-in
✅ Supports both direct permissions and role-based checks
✅ Permission hierarchy

If you're working on a multi-tenant app, localized admin panel, or anything that demands fine-grained access control, give Larallow a try!

Beta version. First stable release scheduled for June 7th.

github.com/edulazaro/larallow

70

When you define texts in Laravel, you either define the key or the string content, and neither option is perfect.

With the first, it’s hard to know what’s actually there, and with the second, you risk messing up your translation keys by changing even a single character.

So, I’ve just published Laratext, a Laravel package to easily manage and automate translations in your Laravel projects.

✅ Use simple helpers like text('key', 'Default value') or Blade directives like @text('key', 'Default')
✅ Auto-scan your codebase and extract translation keys
✅ Automatically translate missing keys using OpenAI or Google Translate
✅ Easily extend it with your own custom translators

Check it out here 👉
github.com/edulazaro/laratext

82