Getting Started

Server Requirements

  • PHP >= 8.2

  • MySQL >= 5.7 or MariaDB >= 10.3

  • BCMath PHP Extension

  • Ctype PHP Extension

  • Filter PHP Extension

  • Hash PHP Extension

  • DOM PHP Extension

  • Fileinfo PHP extension

  • JSON PHP Extension

  • Mbstring PHP Extension

  • OpenSSL PHP Extension

  • PCRE PHP Extension

  • PDO PHP Extension

  • Session PHP Extension

  • Tokenizer PHP Extension

  • XML PHP Extension

  • Imagick PHP Extension

  • GD PHP Extension

Laramagz package directory

The laramagz-v3.0.0.zip package contains the following files and folders.

📒 laramagz-v3.0.0
    📂 app
        📄 app-v3.0.0.zip
    📂 database
        📄 dblaramagz-v3.0.0.sql
    📂 documentation
        📄 documentation.html
    📂 update-db
        📄 cache.sql
        📄 chache_locks.sql
        📄 job_batches.sql
        📄 sessions.sql
    📄 CHANGELOG.txt

Update Guide (from v2.3.0 to v3.0.0)

Follow the steps below to successfully update.

Export data from dashboard

  1. Login with super-admin.

  2. Go to the Settings > Web Backup menu.

    web backup menu
  3. Click the Download Export Data File button.

    export data button

    If it fails, export via phpMyAdmin.

    Select all tables to export, except: failed_jobs, jobs, migrations, model_has_permissions, password_resets, password_reset_tokens, and personal_access_tokens

    export via phpmyadmin
  4. Click the Download Backup Storage button.

    download backup storage

    If it fails, do a manual backup of the storage/app/public folder.

Backup other important files

  1. service-account-credentials.json file in storage/app/analytics folder.

  2. .env file.

Upload Laramagz

  1. Delete all files and folders of the old version of laramagz

  2. Upload the app-v3.0.0.zip file in your hosting’s File Manager.

  3. Extract the package.

  4. Edit the .env file based on your previous .env settings.

  5. Restore files in storage.

  6. Import cache tables, cache locks, job_batches, and sessions into the database (the import file is in the update-db folder).

import table

Clear cache

Manually delete all cache in the following folders (except .gitignore file if present):

  1. laramagz/storage/framework/views.

  2. laramagz/storage/framework/cache/data.

  3. laramagz/storage/framework/sessions.

  4. laramagz/bootstrap/cache.

Clearing cache with artisan command:

php artisan optimize:clear