Pagination on Collections in Laravel
In case, when your data is collection in laravel, the ->paginate() method will not work. This is a common case when you may want to sort your data on some relation value. ex In this case the ->paginate() can’t be...
ESC POS with Raw Printing in PrintNode
I was working on a Thermal printer module for our Restaurant Platforms, and found that the easiest and most stable way to achieve that will be thought PrintNode using their REST API. All was going ok. I downloaded their client,...
How to add an alias in Mac OS Big Sur
Open terminal and then execute Then enter the command you want to create alias for ex. After that, save the file and source it
Learn how to create a simple plugin
In the following video, Daniel Dimov explains how you can create plugin for Foodtiger, WhatsApp or QR Menu maker.
How to SSH to your Laravel Forge server
After you have provisioned your Forge serve, you can SSH into it with username and password. But, there is a way. Generate key You can add public key and connect via private key. To generate a new key, issue the...