This repository tracks the migration of the MinhPhungPC storefront from the legacy PHP codebase in OLD/ to a modern Laravel application.
.env.example to .env and adjust the database/mail settings for your environment.composer install.php artisan key:generate.php artisan migrate.npm install followed by npm run build (or npm run dev during development).php artisan serve.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:
public/)logo.pnglogo_light.pngicon.pngdefault.jpg (default avatar/product image fallback)public/component_icons/)Create the directory if it does not exist and add PNG icons with the exact filenames below:
cooler.pngcpucooler.pnggraphicscard.pngmemory.pngmotherboard.pngoperatingsystem.pngpccase.pngpowersupply.pngprocessor.pngstorage.pngpublic/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:
Concac.jpegJoshiMinh.jpgJoshi_GAV.pngPhụng_Nguyễn.pnga.jpgcaibuom.pngOLD/)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:
OLD/logo.png, OLD/logo_light.png, OLD/icon.png, OLD/default.jpgOLD/component_icons/*.png (same filenames as the Laravel app)OLD/profile_images/* (same filenames as the optional avatars)You can restore these assets from your private backups of the original project or replace them with custom artwork that matches the expected filenames.
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 installto download the missing packages.
This project inherits the original licensing terms of the MinhPhungPC codebase. Consult the project stakeholders if you plan to redistribute or commercialize the software.