escolalms / pages
Escola page repository API.
Installs: 9 150
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.4
- davidbadura/faker-markdown-generator: =1.1.0
- escolalms/core: ^1
- laravel/framework: >=8.0
Requires (Dev)
- orchestra/testbench: ^6
- phpunit/phpunit: ^9.0
README
Static page management package
What does it do
This package allows you to create static pages in Laravel app.
Installing
composer require escolalms/pages
,php artisan migrate
php artisan db:seed --class="EscolaLms\Pages\Database\Seeders\PermissionTableSeeder"
Endpoints
All the endpoints are defined in
Tests
Run ./vendor/bin/phpunit --filter 'EscolaLms\\Pages\\Tests'
to run tests. See tests a quite good starting point for creating your own.
Permissions
Permissions are defined in seeder
Database relation
Author
Page is related belong to with User
Page 1 -> 1 Author