https://github.com/zofe/demo-module
demo module for rapyd-livewire laravel application
https://github.com/zofe/demo-module
Last synced: 8 days ago
JSON representation
demo module for rapyd-livewire laravel application
- Host: GitHub
- URL: https://github.com/zofe/demo-module
- Owner: zofe
- License: mit
- Created: 2022-11-29T09:12:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-26T06:32:46.000Z (about 3 years ago)
- Last Synced: 2025-01-15T22:29:00.995Z (over 1 year ago)
- Language: PHP
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Demo Module
This is a demo module for a Laravel application (>= 8)
Demo show "CRUD" features in the laravel / rapyd-livewire stack.
[rapyd-livewire](https://github.com/zofe/rapyd-livewire) is a laravel library of blade components, livewire traits, and modules scaffolder that you can use to generate administration interfaces in a concise, reusable, uncluttered, and testable manner.
# Installation & configuration
Your can require this module in your laravel application using:
```
composer require zofe/demo-module
php artisan migrate
php artisan db:seed --class="App\\Modules\\Demo\\Database\\Seeders\\DemoSeeder"
```
Note that demo module use layout-module, you may need to do:
```
cd app/Modules/Layout/
npm i
npm run dev
```
this will compile scss and copy css assets to your public project folder
# Usage
This command will create a folder "Demo" in your /app/Modules/ folder,
then a demo will be enabled in `/demo` route