IPN (immediate payment notification) is a setting in PayPal account which works just like webhook in stripe. The difference is literally, it comes back as soon as payment is processed. We can do payment confirmation in your back-end using the notification. In order to activate it, you need to do it in your PayPal account. …
win-node-env package
We often see this error when running node projects on windows… As we are already familiar this is because node scripts are configured to use UNIX shell commands by some un-experienced developers. But we may be at circumstances that we should not change here and there, and we are on windows, needs to run this …
laravel-activitylog
spatie/laravel-activitylog package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events. All activity will be stored in the activity_log table. Here’s a litte demo of how you can use it: activity()->log(‘Look mum, I logged something’); You can retrieve all activity using the Spatie\Activitylog\Models\Activity model. Activity::all(); Here is …
Gate class on laravel 6.0
Laravel 6.0 introduces a new method Gate::inspect. This makes it easier to provide custom messages to users during authorization requests, such as a specific error message if their request was denied. We can use it for policy.
Winston logger
winston is designed to be a simple and universal logging library with support for multiple transports. A transport is essentially a storage device for your logs. Each winston logger can have multiple transports (see: Transports) configured at different levels (see: Logging levels). For example, one may want error logs to be stored in a persistent remote location (like a database), …
Strapi open source Node.js Headless CMS
Strapi is a free and open-source Headless CMS delivering your content anywhere you need. Keep control over your data. With Strapi, you know where your data is stored and you keep full control at any time. Self hosted. You can host and scale Strapi projects the way you want. You can choose any hosting platform …
How to Install PHP on IIS
You can install PHP with FastCGI Extension on IIS 7 / IIS 8 Server. FastCGI is a regular protocol which enables a Web Server to interface with CGI executable files of app structure. The windows most current PHP 4.4.x and PHP 5.x distribution totally support this FastCGI Extension. This article provides step by step description …
react-inlinesvg
react-inlinesvg is a npm package for React, which is convenient when we show svg image on the web pages. We can simply store svg as files and import it from React component. Then we can display it using SVG tag. import SVG from ‘react-inlinesvg’; import MySVGFile from ‘/path/to/svg-file’; <SVG src={MySVGFile}/>