XSender web application's installation process is very easy, constructive user-friendly. Just follow below the instructions to install it effectively and efficiently on your server:
For local installation, you need to install local server on your Device[Laptop or desktop] like:- XAMPP, WAMPP, LARAGON, etc...
Create Database to MySQL server using phpMyAdmin. Then Go to browser and browse
http://localhost/{project_dir}/phpmyadmin[it's by default]. So in my case, I'm using Laragon (but all the local installation process is almost same) so follow the instructions seeing the screenshots.

Now extract software script into local server
wwwdirectory that you have downloaded from CodeCanyon. In your case, local serverwwwdirectory like thathtdocs, public_html, rootetc...After extract project zip file into here it looks like
Now browse the following URL
http://localhost/{project_dir}/installAnd see the next Steps ↓
You can see the video from Here for better understanding.
Create database user and database name : Go to
MySQL® Database WizardCreate A database name on the New Database input field then click Next Step
Write your database username & password then click Create User Button
NB: Save to any notepaddatabase name, database username, database passwordfor next step.Now Add user to the database by checked ALL THE PRIVILEGES then Click Next Step
You are Done! Click Return Home
Upload project zip file to your hosting panel
public_htmldirectory. Now extract it & then delete. See the below screenshots for your quick understanding.⊛ If you upload it in public_html folder, then visit
http://your-domain-namein browser.
⊛ If you upload it in a folder in public_html folder, then visithttp://your-domain-name/folder_namein browser.
⊛ If you upload it in your created subdomain folder, then visithttp://your-subdomain-namein browser.
⊛ If you upload it in a folder in your created subdomain folder, then visithttp://your-subdomain-name/folder_namein browser.Now Your System is ready to install.
Installing a XSender application on an Nginx server typically involves the following steps:
Install Nginx and PHP: You can install Nginx and PHP on your server using the following command:
sudo apt-get update sudo apt-get install nginx php-fpm php-mysqlConfigure Nginx: After installing Nginx, you need to configure it to serve your XSender application. Create a new configuration file in the /etc/nginx/sites-available/ directory, for example:
sudo nano /etc/nginx/sites-available/myapp
Paste the following configuration into the file, replacing example.com with your domain name and /var/www/myapp/public with the path to your XSender application's public directory:
server { listen 80; server_name example.com; root /var/www/myapp/public; index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \\\\.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
}
location ~ /\\\\.ht {
deny all;
}
Save and exit the file, and then create a symbolic link to enable the site:
sudo ln -s /etc/nginx/sites-available/myapp /etc/nginx/sites-enabled/Upload the XSender project zip file to the /var/www/myapp/public directory on your server. You can use a tool like SCP or BitVise to transfer the file from your local machine to the server:
SSH into your server and navigate to the /var/www/myapp/public directory:cd /var/www/myapp/public
Unzip the XSender project zip file using the following command: sudo unzip xsender-project.zip
that is you download from codecanyon sometimes zip file name may be changed. So, Replace xsender-project.zip with the name of your XSender project zip file when it necessary.
Set permissions for the storage and bootstrap/cache directories:
sudo chgrp -R www-data storage bootstrap/cache && sudo chmod -R ug+rwx storage bootstrap/cacheRestart Nginx: sudo systemctl restart nginx
Configure PHP: You may need to modify the PHP configuration to ensure that it meets XSender's requirements. Edit the php.ini file:
sudo nano /etc/php/8.3/fpm/php.iniAnd change the following settings:
memory_limit = 512M
upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 360
max_input_time = 120Save and exit the file, and then restart the PHP service:
sudo systemctl restart php8.3-fpmInstall Composer and Laravel: If you haven't already, install Composer:
sudo apt-get install composerThen, navigate to the root directory of your Laravel application and run the following command to install Laravel and its dependencies:
composer install --no-devSet Permissions: Make sure that the storage and bootstrap/cache directories are writable by the web server:
sudo chgrp -R www-data storage bootstrap/cache sudo chmod -R ug+rwx storage bootstrap/cacheRestart Nginx: Finally, restart Nginx to apply the changes:
sudo systemctl restart nginxYour application should now be accessible through your domain name or server's IP address.
Here are the steps to install MySQL and create a database named "xsender" for your Laravel application:
Install MySQL: You can install MySQL on your server using the following command:
sudo apt-get install mysql-serverSecure MySQL installation: Run the following command to secure your MySQL installation:
sudo mysql_secure_installationFollow the prompts to set a root password and answer the security questions.
Create a database: Log in to the MySQL server using the root account:
sudo mysql -u root -pEnter the root password when prompted. Then, create a database named "xsender":
CREATE DATABASE xsender;Verify that the database was created successfully by running the following command:
SHOW DATABASES;You should see "xsender" listed among the databases.
Create a user and grant permissions: Create a new user account for your XSender application:
CREATE USER 'xsenderuser'@'localhost' IDENTIFIED BY 'password';Replace "password" with a strong password of your choice.
Grant the user full privileges to the "xsender" database:
GRANT ALL ON xsender.* TO 'xsenderuser'@'localhost';Flush the privileges to apply the changes:
FLUSH PRIVILEGES;Exit the MySQL console:
exit; Now your XSender application is ready to installation process by browse your server ip or domain, and follow this steps:
Installation Process Step
Note:
If you're having difficulty installing the XSender software, please don't hesitate to contact us via a support ticket for installation support. Please note that the installation process may require some minor adjustments depending on your server configuration, and that there may be a charge associated with this service. Our support team will be happy to provide you with further information. Thank you!
Database Information:
Database Host: Represents the server address where the database is hosted (e.g., "localhost").
Database Port: Represents the port number for database connection.
Database Name: Represents the name of the database to be used for the application.
Database Username: Represents the username for accessing the database.
Database Password: Represents the password associated with the database username.
Requirements & File Permissions:
This step displays a checklist of server requirements and file permissions, e.g., PHP, env, storage, with green checkmarks indicating status
Envato Verifications:
Envato Username: Represents your Envato marketplace username for verification.
Purchase Code: Represents the unique code purchased from Envato to validate the software license.
Database Setup
Confirms previously entered database credentials.
Account Settings
Username: Represents the admin username for the system account.
Email: Represents the email address associated with the admin account.
Password (Min 5): Represents the password for the admin account (minimum 5 characters).
Import / Force Import: Represents the action to import database data (Import for new, Force Import to overwrite existing data).
Installation Successfully finished
Web Application setup done and ready to use.
To login into admin panel using default username and password, visit:
If it's localhost then browsehttp://localhost/{project_dir}/adminIf it's cPanel then browse your domainhttp://your-domain-name/adminUsername: adminPassword: adminYou can change username and password from admin panel whenever you want.
NB: If you are unable to install the script, you can contact our support team and we are happy to sort out your issues as soon as possible.
We do offer installation service with a little cost.
This guide will help you install and set up the XSender PHP and Node.js script on your server. Follow these steps to ensure a smooth installation and configuration process.
Open your terminal and run the following command to check the currently installed version of Node.js:
node -vIf this doesn't show a node version , install node
sudo apt updateRun the following command in your terminal
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bashYou might need to close the terminal and re-open for above command take effect
nvm install 22.20.1This will install node 20+ on your system , to check run the command below
npm -v
node -v
Once Node.js version 20+ is installed, the next step is to install PM2 globally on your server. PM2 is a process manager for Node.js applications that ensures your applications stay online.
Installing PM2
Run the following command to install PM2 globally:
npm install pm2 -g
Navigate to the src folder of your project directory where the app.js file is located. Use the cd command to change directories.
cd /path/to/your/project/xsender-whatsapp-serviceIn the src directory, start your application using PM2 with the following command:
pm2 start ecosystem.config.cjsYou're Done!
This guide explains how to deploy the xSender WhatsApp Service on common shared hosting panels (cPanel or Plesk).
Follow the steps based on your hosting environment.
Login to cPanel
Search for Setup Node.js App or Node.js Selector (Node version above 20)
If available → continue
If not available → see Option 4 (Alternative Hosting)
.env FileOpen File Manager
Go to:/home/username/public_html/xsender-whatsapp-service/
Create a file named .env
Add:
NODE_ENV=production
SERVER_HOST=0.0.0.0
SERVER_PORT=3001
RATE_LIMIT_WINDOW=60000
RATE_LIMIT_MAX_REQUESTS=100
LOG_LEVEL=info
LOG_PRETTY=falseOpen Setup Node.js App
Click Create Application
Configure:
Field Value Node.js version 20.x
Mode Production
Application Root xsender-whatsapp-service
Application URL(Optional)
Startup File /src/app.js
Click Create
Locate your app inside the Node.js panel
Click Run NPM Install
Wait 2–5 minutes until installation completes
In the Node.js panel, click Start or Restart
Note the assigned port
Verify service status:
https://yourdomain.com:3001/health
Login to Plesk
Go to Extensions → Catalog
Search Node.js and install it (Node version above 20)
Go to Websites & Domains → Node.js
Click Enable Node.js
Apply: find this path in your project src/app.js
Click NPM Install
Create the .env file in the service folder
Click Enable or Restart App
Done!
Your WhatsApp Automation Service is now active.
You can proceed with scanning QR codes and connecting devices through the main application.
While the installation and setup instructions provided are based on Debian-based distributions like Ubuntu, it's important to note that different Linux distributions may require different commands. If you need installation support please create support ticket to our team and share your server access our team will help you.