Skip to content

Laravel playground application as store, with examples. Uses Filamentphp, Translations and more

Notifications You must be signed in to change notification settings

CactusGalaxy/GalaxyStoreExample

Repository files navigation

Galaxy store

Just simple Laravel playground with examples.

Focused on testing package - Filament Astrotomic plugin

Also, in this project installed:

and possibly more in the future 😉

product-admin.png

Requirements

This project requires PHP 8.1 and uses Laravel 10

Local Development

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:

  1. Fork this repository

  2. Open your terminal and cd to your ~/Sites folder

  3. 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
  4. CD into the new directory you just created:

    cd GalaxyStoreExample
  5. Run the setup.sh bin script, which will take all the steps necessary to prepare your local installation:

    ./bin/setup.sh
  6. Set up database access (DB_DATABASE, DB_USERNAME, DB_PASSWORD)

  7. Run migrations and seeders with sample data

    php artisan migrate --seed

Admin panel access

email: admin@admin.com
password: admin

Development

Use local app server

php artisan serve

and Vite dev server for frontend assets

npm run dev

Edit package

Sites
|-packages/CactusGalaxy.FilamentAstrotomic
|-GalaxyStore
"repositories": [
    {
        "type": "path",
        "url": "../packages/CactusGalaxy.FilamentAstrotomic",
        "options": {
            "symlink": true
        }
    }
],

About

Laravel playground application as store, with examples. Uses Filamentphp, Translations and more

Resources

Stars

Watchers

Forks

Languages