Buy

Admin Panel update from previous version

1.Introduction

In this article, we are going to update the admin panel source code from the previous version.

2.Update Instructions


Update the latest code with your current project

If you want to update the backend source code without your custom changes, please follow the steps below:

  • Download the latest files.
  • Replace all files except the following files and folders from your current project:
    • .env file
    • public/push-configurations/firebase.json
    • vendor folder
  • Delete the storage folder under the public folder.
  • 3.Install PHP 8.5

    💡 Note: The latest version of our project has been upgraded from PHP 8.2 and Laravel 10 to PHP 8.5 and Laravel 12. Please ensure PHP 8.5 is installed and enabled to maintain compatibility with the updated project.

    Follow the steps below to install PHP 8.5, along with the required extensions:

    Required Extensions: bcmath, bz2, intl, gd, mbstring, mysql, zip, fpm, curl, xml

    Steps to Install PHP 8.5

    • Step 1: Install PHP 8.5: "sudo apt install php8.5"
    • Step 2: Install the required PHP 8.5 extensions: "apt install php8.5-fpm php8.5-cli php8.5-common php8.5-mbstring php8.5-xml php8.5-curl php8.5-gd php8.5-zip php8.5-mysql"
    • Step 3: Restart the Apache service: "sudo systemctl restart apache2"
    • Step 4: If PHP 8.2 is installed, disable PHP 8.2 and enable PHP 8.5 using the following commands.
    • Step 5: Select PHP 8.5 as the default PHP Version: "sudo update-alternatives --config php"
    • Step 6: Disable PHP 8.2: "sudo a2dismod php8.2"
    • Step 7: Enable PHP 8.5: "sudo a2enmod php8.5"
    • Step 3: Restart the Apache service: "sudo systemctl restart apache2"
  • Run the following commands:
    • composer install
    • npm install
    • Install GrapesJS and Supporting Libraries : "npm install grapesjs@^0.22.14 grapesjs-preset-newsletter@^1.0.2 html2canvas@^1.4.1 node-html-to-image@^5.0.0 prismjs@^1.29.0 puppeteer@^24.33.0"
    • npm run build
    • php artisan migrate
    • php artisan db:seed
    • php artisan storage:link

Update the latest code with your current project after customizations

  • First, push your code to a Git branch. Then download the latest project code from Codecanyon and push it to another branch. Finally, merge both branches. Note: Conflicts may occur during merging. Resolve them carefully, as we are not responsible if something goes wrong.
  • Follow the sample video tutorial: https://youtu.be/mn9otng7Lho?si=9LNfpmTJ4cL6CL6N
  • After merging the latest updated code with your current code, follow the steps below:
    • Delete the storage folder under the public folder.
  • Run the following commands:
    • composer install
    • npm install
    • php artisan migrate
    • php artisan db:seed
    • php artisan storage:link

3.Migrate(Tagxi/Delivery/Super/Bidding) To Restart


If you already have our(Tagxi/Delivery/Super/Bidding) product and want to upgrade to Restart, follow the video tutorial below:

Important: Ensure the following requirements are met on your server before proceeding with the upgrade:

  • Node.js and npm must be installed on your server. Check their versions to ensure they meet the requirements listed on the installation page.
  • FTP access is required for file uploads and management. Ensure you have the necessary credentials and software for FTP installation and configuration.
  • Follow the installation guide available on the server installation page to confirm all dependencies and versions are properly configured.