Tag: "Laravel: 7.x"

Laravel Livewire Alpine

What's new in Livewire Tables

I've been busy on open source lately, come see what new features I've added to Livewire Tables.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
1,072 views

Laravel Snippets PHP

Snippet 4: How I autoload my helper functions

I used to just load a helpers.php file in composer.json like everyone else, however the last couple years I have taken a more organizational approach.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
729 views

Blade Laravel PHP

Working with @blade $loops

Everyone knows about looping data in Blade files, but have you seen these lesser known features?

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
891 views

Alpine Livewire Laravel Javascript Blade PHP

Embracing the love between Livewire and Alpine

Building with new tools is hard, especially when it goes against what you've learned about the client and server in the past. Livewire and Alpine are built for each other and here's how you make the most of that relationship.

Anthony Rappa Anthony Rappa

Anthony Rappa

8 min read
1,472 views

Laravel Livewire PHP

Building a like button component with Laravel Livewire

Follow along as I create a reusable like button in Laravel Livewire that restricts clicks per IP address.

Anthony Rappa Anthony Rappa

Anthony Rappa

6 min read
1,094 views

PHP Laravel Snippets

15 Random Laravel Snippets & Methods

I write code blocks down that I know I won't use often and will forget about. Every so often I go through them to refresh my memory.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
5,719 views

PHP Laravel Snippets

Snippet 3: Making the logged in user available to all views using view composers

Learn how to use view composers to share small pieces of data across multiple views instead of passing them through many controllers.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
261 views

PHP Snippets Laravel

Snippet 2: Adding a UUID Trait to auto-populate uuid columns on model create

If you ever have the need for a UUID column on your models, you may as well use a trait to populate them in case you need the same functionality on other models in the future.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
232 views

Snippets Laravel PHP

Snippet 1: Using Laravel's ConfirmableTrait in commands

Did you know you can easily add the production consoles messages you get with Laravel's migrate and seed to your own commands?

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
248 views

PHP Laravel Blade

Using the @forelse blade directive

Use this nifty blade directive in place of a foreach inside an if/else.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
233 views

PHP Laravel Validation

Nullable vs. Sometimes

The more fields you are validating, the more chance you don't actually need all of them to process what you're doing.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
311 views

PHP Laravel Livewire

Laravel Boilerplate 7.0

Laravel Boilerplate provides you with a massive head start on any size web application.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
223 views