How to setup drush aliases for your Drupal 8/9 website
abhai 13 October 2021Drush is the CLI tool for managing Drupal projects. Drush alias works by using this username and domain/ip address combination to login to the server and execute the command and then return back to your command line.How to easily load-test your website?
abhai 13 October 2021There is a tool called siege which you can install quite easily to load test and fake a lot of load to your website by using threads to simultaneously bombard your server with requests.Tags
What are shut down functions in php?
abhai 3 September 2021Shutdown functions are functions that are executed after the current scope has been "shutdown". Say, you want to run a function after another function has completed execution, then this is the way to go.How to redirect anonymous users to login page?
abhai 3 September 2021All you have to do is intercept every request, check if it is authenticated user and if not redirect to login page. There is an Event that is fired on every request, we need to subscribe to that event.