Just simple Laravel playground with examples.
Focused on testing package - Filament Astrotomic plugin
Also, in this project installed:
-
Filament admin panel Admin panel
-
Laravel Translations by Astrotomic localization for Models
-
Laravel Localization by mcamara package easy localize routes for application
-
Spatie data for storing json typed values for Home page
-
Spatie Settings with filament plugin store settings (like site name, email etc.)
-
Spatie Login link to quickly login to the admin panel
and possibly more in the future 😉
This project requires PHP 8.1 and uses Laravel 10
If you want to work on this project on your local machine, you may follow the instructions below.
These instructions assume you are store the sites in your ~/Sites directory:
-
Fork this repository
-
Open your terminal and
cdto your~/Sitesfolder -
Clone your fork into the
~/Sites/GalaxyStorefolder, by running the following command with your username placed into the {username} slot:git clone [email protected]:{username}/GalaxyStoreExample GalaxyStore
-
CD into the new directory you just created:
cd GalaxyStoreExample -
Run the
setup.shbin script, which will take all the steps necessary to prepare your local installation:./bin/setup.sh
-
Set up database access (DB_DATABASE, DB_USERNAME, DB_PASSWORD)
-
Run migrations and seeders with sample data
php artisan migrate --seed
email: [email protected]
password: adminUse local app server
php artisan serveand Vite dev server for frontend assets
npm run devSites
|-packages/CactusGalaxy.FilamentAstrotomic
|-GalaxyStore
"repositories": [
{
"type": "path",
"url": "../packages/CactusGalaxy.FilamentAstrotomic",
"options": {
"symlink": true
}
}
],