Simple Laravel 10 User Roles and Permissions


In this tutorial, we will learn about Laravel user roles and permissions by developing a complete Laravel 10 User Roles and Permissions application with easy and step by step guide.

We will use Spatie a Laravel permission package that will help us to create a Laravel ACL (Access Control List) to manage user roles and permissions.

29 Comments

Facebook Official Page: All PHP Tricks

Twitter Official Page: All PHP Tricks

Convert HTML to PDF using PHP Dompdf Library


In this tutorial, we will learn about how to convert HTML to PDF using PHP Dompdf Library.

PDF (Portable Document Format) is a very popular file format which retains file layout format as intended. It contains both text and images in it.

2 Comments

Facebook Official Page: All PHP Tricks

Twitter Official Page: All PHP Tricks

How to Attach Remote File to Email using PHPMailer


In this tutorial, we will learn about how to attach remote file to email using PHPMailer library.

PHPMailer provides a convenient method addAttachment() to attach files to email. However, this method does not work with remote files stored on remote server.

0 Comments

Facebook Official Page: All PHP Tricks

Twitter Official Page: All PHP Tricks

How to Check if File Exists on Remote Server using PHP


In this tutorial, we will learn about how to check if file exists on remote server using PHP with easy and simple methods.

Although, PHP provides a build in file_exists() function to check if file exist on server. However, this function is not able to check remote file on remote server.

0 Comments

Facebook Official Page: All PHP Tricks

Twitter Official Page: All PHP Tricks