MinhPhungPC

MinhPhungPC Laravel Conversion

This repository tracks the migration of the MinhPhungPC storefront from the legacy PHP codebase in OLD/ to a modern Laravel application.

Requirements

Getting Started

  1. Copy .env.example to .env and adjust the database/mail settings for your environment.
  2. Install PHP dependencies with composer install.
  3. Generate an application key with php artisan key:generate.
  4. Run database migrations with php artisan migrate.
  5. Install and build front-end assets with npm install followed by npm run build (or npm run dev during development).
  6. Serve the application locally with php artisan serve.

Required Front-End Assets

To keep the repository lightweight, all binary assets (images, icons, and videos) have been removed. Before serving the UI, provide the following files so that the navigation, builder, and account screens render correctly:

Application Branding (place in public/)

Component Icons (place in public/component_icons/)

Create the directory if it does not exist and add PNG icons with the exact filenames below:

Sample Profile Images (optional, place in public/profile_images/)

These filenames are referenced by seeded/demo data. You can provide your own avatars or omit them if you are not using the demo content:

Legacy Front-End Backup (OLD/)

If you need to run the legacy PHP version, populate the mirrored directories under OLD/ with the same filenames listed above. The PHP scripts expect the assets to exist at:

You can restore these assets from your private backups of the original project or replace them with custom artwork that matches the expected filenames.

Testing

Run the application test suite with:

php artisan test

Note: The historical vendor directory included with the project may be incomplete. If Artisan fails to bootstrap, run composer install to download the missing packages.

License

This project inherits the original licensing terms of the MinhPhungPC codebase. Consult the project stakeholders if you plan to redistribute or commercialize the software.