Skip to content

EscolaLMS/pages

Repository files navigation

Pages

Static page management package

swagger codecov phpunit downloads downloads downloads Maintainability

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 swagger

Tests

Run ./vendor/bin/phpunit --filter 'EscolaLms\\Pages\\Tests' to run tests. See tests a quite good starting point for creating your own.

Test details codecov phpunit

Permissions

Permissions are defined in seeder

Database relation

  1. Author Page is related belong to with User
Page 1 -> 1 Author