Amazon S3 image with laravel authentication
Amazon S3 image with Laravel authentication. Sometimes we need to make private our website images, meaning users are not able to view images without logging in. For this purpose, the following code will help us restrict access. 1. First define a route in your route file. 2. Create a controller like “TestController” with a method […]
Show and hide a widget in flutter
When building a user interface in Flutter, you may want to show or hide widgets based on certain conditions. This can be achieved using the built-in show and hide functionality provided by Flutter. In Flutter, every widget has a built-in property called `Visibility`. This property can be used to control whether a widget is visible […]
Faster Performance of Laravel Yajra Datatables
Laravel Yajra Datatables is a package that provides an easy way to integrate DataTables jQuery plugin with Laravel. It allows us to easily generate server-side processing of data and provides capabilities like filtering, sorting, searching, and pagination. One of the main issues with using large data sets in DataTables is performance. However, using Laravel Yajra […]