escolalms/pages

Escola page repository API.

Installs: 9 514

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:package

0.1.11 2023-05-24 10:47 UTC

This package is auto-updated.

Last update: 2024-12-24 14:41:55 UTC


README

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