In a recent project I’ve been building a Customer Service Portal where “agents” are allowed to perform certain actions on a user’s account. One of the required features was to send a password reset email to the user. Luckily, this feature is easy to implement thanks to Laravel’s built-in traits.
- Home
- Posts tagged "Laravel 5"
Posts tagged "Laravel 5"
Laravel 5.x: Custom Password Reset Validation
Having a strong password policy for your application is a important security requirement for any application. This tutorial shows you how you can apply this to Larvel’s PasswordController, which handles password resets.
Input Sanitization, Laravel 5, Laravel 5.2, PHP, SecurityLaravel 5.2: Trim All Input using Middleware
Laravel 5.2 is already good at sanitizing input data received from GET and POST data, but it doesn’t remove excessive spacing at the beginning or end of the data. Luckily, this is easy to achieve using Custom Middleware.
Input Sanitization, Laravel 5, Laravel 5.2, PHPLaravel 5.2: Running SSH / SFTP Commands In Your Scripts
Recently, I had to create a Laravel Artisan script that would log into a SFTP server, check if a certain file exists, and then upload / override the file. To achieve this, I used the SSH library from LaravelCollective. This tutorial covers how to log into a remote server using SSH / SFTP and upload or download files.
Laravel 5, PHP, SFTP, SSH