Systems | Development | Analytics | API | Testing

Laravel

Sending email in Laravel with Mailgun

As a web developer, you will often need to send emails from your application. In fact, if you've been a developer for more than a few months, you've probably already had to do this. You might want to send emails for a variety of reasons, such as sending a welcome email to new users, sending a password reset email, or sending a notification to a user. Laravel makes it easy to send these types of emails to single recipients, thanks to some handy features such as mailables and notifications.

Working with DynamoDB in Laravel

When building your Laravel applications, you may sometimes need to use a NoSQL database to store and retrieve data. One popular choice is Amazon DynamoDB, a fully managed, serverless, and highly scalable NoSQL database service provided by Amazon Web Services (AWS). In this article, we'll take a brief look at DynamoDB. We'll then delve into how to use DynamoDB as a cache store in Laravel, and how to store Laravel models in DynamoDB using the baopham/laravel-dynamodb package.

Processes and Artisan commands in Laravel

The command-line interface (CLI) can be a powerful tool for developers. You can use it as part of your development workflow to add new features to your application and to perform tasks in a production environment. Laravel allows you to create "Artisan commands" to add bespoke functionality to your application. It also provides a Process facade that you can use to run OS (operating system) processes from your Laravel application to perform tasks such as running custom shell scripts.

Securing Laravel forms using Cloudflare's Turnstile CAPTCHA

Security is an important aspect of any web application. It helps to ensure that your application is protected from malicious actors who may want to cause harm to your application or users, as well as bots trying to spam your forms with fake submissions. One common entry point, especially for automated scripts, is to submit data to publicly-accessible forms on your application.

Declaring check-ins in PHP/Laravel config

If your cron job fails in a forest, and nobody is around, does it make a sound? Honeybadger's check-in monitoring for PHP/Laravel gives you peace of mind, knowing that if any job fails, whether it's your billing cron job, your nightly backup, or even that third-party service's new integration, it won't happen silently. Instead, we'll notify you instantly via the tools you already use (Slack, PagerDuty, etc.).

Using Markdown in Laravel

In today's digital world, delivering rich and engaging content is essential for creating compelling web applications. Laravel, a popular and powerful PHP framework, provides developers with a wide array of tools and features to streamline content creation. One such tool that has gained significant traction is Markdown, which is a lightweight markup language that allows for easy formatting of plain text into structured and visually appealing content.

View Models vs. View Composers: Understanding the Differences in Laravel

Are you familiar with Laravel, the popular PHP web application framework? If so, you may have heard of two key concepts in Laravel's view system: view models and view composers. While these terms may sound similar at first, they actually represent two distinct approaches to organizing and preparing data for views.