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
cd
to your~/Sites
folder -
Clone your fork into the
~/Sites/GalaxyStore
folder, by running the following command with your username placed into the {username} slot:git clone git@github.com:{username}/GalaxyStoreExample GalaxyStore
-
CD into the new directory you just created:
cd GalaxyStoreExample
-
Run the
setup.sh
bin 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: admin@admin.com
password: admin
Use local app server
php artisan serve
and Vite dev server for frontend assets
npm run dev
Sites
|-packages/CactusGalaxy.FilamentAstrotomic
|-GalaxyStore
"repositories": [
{
"type": "path",
"url": "../packages/CactusGalaxy.FilamentAstrotomic",
"options": {
"symlink": true
}
}
],