PHP
Restructuring a Laravel Controller using Services, Events, Jobs, Actions, and more
Laravel gives you the flexibility to choose the structure of controllers yourself, which is both a blessing and a curse. You won’t find any recommendations in the official Laravel docs, so let’s try to discuss Read more…
PHP
Use Laravel's HTTP Client with Facebook's Business SDK
Ever needed to work with an SDK and wished you could use Http::fake() in your Laravel tests? This blog post explains how you can achieve this for the Facebook Business SDK using the Adapter pattern. Read more…
PHP
★ Using login links in a Laravel app
[AdSense-A]
I'm proud to announce that our team has launched a new package called spatie/laravel-login-link.
In this blog post, I'd like to tell you all about it.
PHP
35 Laravel Eloquent tips
Martin Joo shares some cool things you can do with Laravel’s ORM. Read more
PHP
★ A package to add comments to your Laravel app
[AdSense-A]
I'm proud to announce that our team has released a new premium package called Laravel Comments. Using this package, you can set up a comments section in your Laravel app in no time.
We've made a nice, errr I mean epic launch movie to get you in the right mood.
Laravel Comments includes a Livewire component to render comments. Here's what it looks like:
Of course, we wrote extensive documentation, covering every aspect of Laravel Comments.
It comes with batteries included:
comments can be nested
emoji reactions
notifications to all participants when a new comment is posted
an inline approval flow for new comments
markdown editing and code highlighting
endlessly customisable
In this blog post, I'd like to introduce the package to you.
PHP
Creating Dynamic HTML Tooltips with Alpine and alpine-tooltip
After integrating Tippy into a few projects with Alpine.js, I decided to write my own plugin to make the integration easier and the API a little nicer (x-tooltip and $tooltip). Read more
PHP
★ A package to create Livewire powered wizards in no time
[AdSense-A]
I'm proud to announce that our team has released a new package called laravel-livewire-wizard. Using this package, you can set up multi-step wizards quickly using Livewire.
The package is headless, which means that it provides no UI itself, but it makes it easy to build any UI you desire.
You can easily control which step is displayed, access state of other steps, and build any navigation you desire.
I'd like to introduce the package to you in this blog post.
PHP
Creating your own color system with Tailwind
In this post, Oh Dear’s front end developer Nick goes into more detail on why and how he implemented a tailwind-like color system that will be used in the upcoming redesign. Read more