https://github.com/escolalms/api
Laravel REST API. Main module that compose all Laravel packages
https://github.com/escolalms/api
api headless laravel rest
Last synced: 3 months ago
JSON representation
Laravel REST API. Main module that compose all Laravel packages
- Host: GitHub
- URL: https://github.com/escolalms/api
- Owner: EscolaLMS
- License: apache-2.0
- Created: 2021-01-26T14:43:14.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2026-04-15T12:57:32.000Z (3 months ago)
- Last Synced: 2026-04-15T14:37:05.331Z (3 months ago)
- Topics: api, headless, laravel, rest
- Language: PHP
- Homepage:
- Size: 114 MB
- Stars: 16
- Watchers: 2
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Escola LMS aka Wellms Headless LMS
Laravel Headless LMS REST API.
[](https://api-docs.wellms.io)
[](https://github.com/EscolaLMS/API/actions/workflows/phpunit-tests.yml)
[](https://packagist.org/packages/escolalms/api)
[](https://packagist.org/packages/escolalms/api)
[](https://packagist.org/packages/escolalms/api)
[](https://codeclimate.com/github/EscolaLMS/API/maintainability)
[](https://app.fossa.com/projects/git%2Bgithub.com%2FEscolaLMS%2FAPI?ref=badge_shield)
[](https://snyk.io/test/github/EscolaLMS/API)
[](https://sonarcloud.io/summary/new_code?id=EscolaLMS_API)
## Documentation
Most of the documentation is hosted at [docs.wellms.io](https://docs.wellms.io/).
## Configuration
Please not that API is based on Laravel but it's configured by environmental variables
Please don't create or edit any `.env` file but use environmental variables with `LARAVEL_` prefix, see [docker-compose.yml](docker-compose.yml) for reference.
As we want this package to be stateless and easy to scale all configuration is stored either in database or in environmental variables.
See [docs][docs] for more details.
Application is designed to be stateless - it is controlled by [environmental variables](docs/enviromental-variables.md)
## Installation from source code
If you want to use the software consider using our docker images or using [Create-LMS-App/](https://github.com/EscolaLMS/Create-LMS-App/) helper.
You should consider install with our [installation package](https://docs.wellms.io/getting-started/guide.html).
To install default docker environment either clone this repo or use
See [docs/multidomain.md][docs/multidomain.md] for more details how to quick start.
### Quick start
1. Clone this repo
2. `docker compose up -d`
## Demo
[https://api-stage.escolalms.com/api/documentation](https://api-stage.escolalms.com/api/documentation)
This is fully working demo. **Note** that content is regenerated every day - it's a seeder that is not persistent, every day database and files are cleared and rebuilt from skratch.
## Packages
This API consists of Laravel and multiple packages.
List of all packages is available at [packagist.org/?query=escolalms](https://packagist.org/?query=escolalms).
## Tests
Just run `phpunit` to test all the packages.
Summary code coverage from all the packages:
[](https://github.com/EscolaLMS/API/actions/workflows/phpunit-cc.yml)
[](https://github.com/EscolaLMS/API/actions/workflows/phpunit-cc.yml)
[](https://github.com/EscolaLMS/API/actions/workflows/phpunit-cc.yml)
[](https://github.com/EscolaLMS/API/actions/workflows/phpunit-cc.yml)
## Test
There are hundreds of tests in the packages and they are divided into:
### Integration packages test
Each packge contains their own php integration test this repo runs all of the
To run use `./vendor/bin/phpunit`
## Tasks
See [makefile](makefile) for all available devops tasks
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2FEscolaLMS%2FAPI?ref=badge_large)