https://github.com/escolalms/pages
Simple CMS for general content pages management
https://github.com/escolalms/pages
api-rest cms laravel
Last synced: 2 months ago
JSON representation
Simple CMS for general content pages management
- Host: GitHub
- URL: https://github.com/escolalms/pages
- Owner: EscolaLMS
- License: mit
- Created: 2021-05-07T13:26:27.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-24T10:47:27.000Z (about 3 years ago)
- Last Synced: 2025-02-10T02:36:20.332Z (over 1 year ago)
- Topics: api-rest, cms, laravel
- Language: PHP
- Homepage:
- Size: 29 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pages
Static page management package
[](https://escolalms.github.io/pages/)
[](https://codecov.io/gh/EscolaLMS/pages)
[](https://github.com/EscolaLMS/pages/actions/workflows/test.yml)
[](https://packagist.org/packages/escolalms/pages)
[](https://packagist.org/packages/escolalms/pages)
[](https://packagist.org/packages/escolalms/pages)
[](https://codeclimate.com/github/EscolaLMS/pages/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 [](https://escolalms.github.io/pages/)
## Tests
Run `./vendor/bin/phpunit --filter 'EscolaLms\\Pages\\Tests'` to run tests. See [tests](tests) a quite good starting point for creating your own.
Test details [](https://codecov.io/gh/EscolaLMS/pages) [](https://github.com/EscolaLMS/pages/actions/workflows/test.yml)
## Permissions
Permissions are defined in [seeder](vendor/escolalms/pages/database/seeders/PermissionTableSeeder.php)
## Database relation
1. `Author` Page is related belong to with User
```
Page 1 -> 1 Author
```