zofe / demo-module
demo module for rapyd-livewire application
Installs: 77
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:rapyd-module
Requires
- php: ^7.4|^8.0|^8.1|^8.2
- cviebrock/eloquent-sluggable: ^8.0|^9.0|^10.0
- illuminate/config: ^8.65|^9.0|^10.0
- illuminate/contracts: ^8.65|^9.0|^10.0
- livewire/livewire: ^2.0
- zofe/layout-module: dev-main|^0.0|^0.1
- zofe/rapyd-livewire: dev-main|^0.8
- zofe/rapyd-module-installer: ^0.0|^0.1
README
This is a demo module for a Laravel application (>= 8)
Demo show "CRUD" features in the laravel / rapyd-livewire stack.
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