Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/longhornopen/laravel-celtic-lti
Integrates the Celtic LTI library with a Laravel app
https://github.com/longhornopen/laravel-celtic-lti
Last synced: 3 months ago
JSON representation
Integrates the Celtic LTI library with a Laravel app
- Host: GitHub
- URL: https://github.com/longhornopen/laravel-celtic-lti
- Owner: longhornopen
- License: lgpl-2.1
- Created: 2020-12-30T14:33:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T14:25:26.000Z (7 months ago)
- Last Synced: 2024-06-30T04:54:23.095Z (5 months ago)
- Language: PHP
- Size: 44.9 KB
- Stars: 10
- Watchers: 3
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lti - Integrates the Celtic LTI library with a Laravel app
- awesome-lti - Integrates the Celtic LTI library with a Laravel app
README
## Laravel Celtic LTI
This is a package to integrate [CeLTIc LTI](https://github.com/celtic-project/LTI-PHP/) with Laravel. CeLTIc is a full-fledged LTI library written in generic PHP; this library provides hooks for supporting Laravel's opinionated stance on database access, configuration management, etc.
## Installation
Require this package with composer.
```shell
composer require longhornopen/laravel-celtic-lti
```Publish this package's assets.
```shell
php artisan vendor:publish --provider="LonghornOpen\LaravelCelticLTI\LtiServiceProvider"
```Run your app's migrations, which will install the 'lti2_*' database tables.
```php
php artisan migrate
```Finally, check the `config/lti.php` file to set your app's configuration.
### Laravel without auto-discovery:
If you don't use Laravel's auto-discovery of packages, add the ServiceProvider to the providers array in config/app.php:
```php
LonghornOpen\LaravelCelticLti\LtiServiceProvider
```## Usage
A sample set of steps to get this library up and running in your own app can be found at [https://github.com/longhornopen/laravel-celtic-lti/wiki/Laravel-app-setup](https://github.com/longhornopen/laravel-celtic-lti/wiki/Laravel-app-setup).
A simple Laravel example app using this library, mostly ready to deploy, is at [https://github.com/longhornopen/lti-example-app](https://github.com/longhornopen/lti-example-app).
## Contributing
We gladly accept GitHub issues containing bug reports or suggestions for improvement.
Pull requests or other offers of development help are appreciated. If you're wanting to contribute a large change, please open an issue and let us know.
## Thanks
Thanks to the CeLTIc project and to Stephen Vickers in particular. This library would not be possible without their underlying work.