Here, you'll find Andre Madarang's personal collection of Larabits. If you're unfamiliar, Larabits are short, isolated lessons that focus on a single concept or technique. While a typical series may take hours to work your way through, Larabits are instead for when you have five or ten minutes to pick up a small bit of knowledge.Please keep in mind that each of these lessons is self-contained and may be viewed in any order. Happy learning!
Hello, Petite Vue
Petite Vue is an alternative distribution of Vue optimized for "sprinkling in" little bits of interactivity within your application. It's quite similar to Alpine.js, but follows Vue's syntax and features as much as possible. In this Larabit, we'll install and then take a look at a handful of examples that demonstrate its feature set. I think you'll like it!
Headless UI Quick Look
Built by the team at Tailwind CSS, Headless UI is a set of accessible unstyled UI components that already have functionality built-in. In this Larabit, we take a look at using a few of the available components and some of the options that are available to us. In the process, you'll see the power and flexibility it provides so you can customize the components exactly to your application's particular needs.
From PHPUnit to Pest
Pest is a wrapper around PHPUnit that's all about removing distractions and simplifying your tests as much as possible. In this Larabit, we start off with a typical blog application with existing PHPUnit tests, and then progressively convert them over to Pest tests. We’ll review the installation, its API, and finally some of the plugins available to give you the most enjoyable testing experience possible.
Laravel Factory Tips
In this Larabit, we'll take a look at some useful tips and tricks around factories, Faker, and seeders. When it comes to testing, I feel like some of these features are under-utilized and can make for a much better testing experience. Specifically, we'll review Faker modifier methods, factory states, sequences, and factory relationships.
3 Useful Alpine Plugins
The latest version of Alpine now supports plugins that allow for additional functionality. In this Larabit, we'll take a look at three of these plugins: Intersect, Persist, and Trap. We'll work through the simple installation process, as well as review several practical examples of how you might use them within your applications.
Signed Routes in Laravel
In this Larabit, we'll take a look at using signed routes in Laravel to ensure that links are valid and may only be visited by users with the correct signature.To demonstrate this, we'll use the example of an application that requires users to confirm their appointments via email. We start off by generating a generic unsigned route that confirms an appointment. We then incorporate signed routes to ensure that only verified users can access this particular route.
این دوره هنوز به پایان نرسیده است و در آینده درس های دیگری به آن افزوده خواهد شد.