Download the PHP package jjuanrivvera/canvas-lms-kit-laravel without Composer

On this page you can find all versions of the php package jjuanrivvera/canvas-lms-kit-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package canvas-lms-kit-laravel

Canvas LMS Kit for Laravel

Latest Version on Packagist Total Downloads Tests

A minimal Laravel integration package for the Canvas LMS Kit. Auto-configure Canvas API access, manage multiple connections, and test with ease.

โœจ Features

๐Ÿ“ฆ Installation

โšก Quick Start

1. Publish Configuration

2. Add Credentials to .env

3. Test Your Connection

4. Start Using!

๐ŸŽฏ Why This Package?

The Problem

Without this package, you need to manually configure Canvas LMS Kit in every controller, job, or service:

The Solution

This package auto-configures everything from your Laravel config:

๐Ÿ“– Usage

Basic Usage

The package automatically configures the Canvas LMS Kit when your application boots. You can immediately use all Canvas API classes:

Multi-Tenant Support

Perfect for SaaS applications managing multiple Canvas instances:

Configure multiple connections in config/canvas.php:

Testing

Mock Canvas API calls in your tests:

Facade Usage (Optional)

If you prefer facades, you can use the Canvas facade:

๐Ÿ”ง Configuration

The configuration file (config/canvas.php) provides extensive customization options:

๐Ÿ” Authentication Methods

API Key Authentication (Default)

The simplest authentication method using Canvas API tokens:

OAuth 2.0 Authentication

For OAuth-based authentication, switch the auth mode and configure OAuth settings:

User Masquerading (Runtime Only)

Administrators can make API calls as another user (requires appropriate permissions):

๐ŸŽจ Artisan Commands

Test Connection

Verify your Canvas API connection and see authenticated user info:

๐Ÿงช Testing Your Integration

Using Pest (Recommended)

Available Assertions

๐Ÿš€ Real-World Examples

Syncing Users from Laravel to Canvas

Multi-Tenant Course Management

๐Ÿ“š Available Canvas APIs

This package provides auto-configuration for all Canvas LMS Kit APIs. Use them directly:

Core Resources

Course Components

Discussions & Communication

Files & Media

Grading & Assessment

Groups & Collaboration

Outcomes & Standards

Calendar & Scheduling

Admin & Configuration

See the Canvas LMS Kit documentation for complete API reference.

๐Ÿค Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Development

๐Ÿ“ License

The MIT License (MIT). Please see License File for more information.

๐Ÿ™ Credits

๐Ÿ”— Related Packages

๐Ÿ†˜ Support

If you encounter any issues or have questions:

  1. Check the FAQ section below
  2. Search through existing issues
  3. Create a new issue with a clear description

โ“ FAQ

Q: Do I need to manually initialize the Canvas API?
A: No! This package auto-configures everything when Laravel boots.

Q: Can I use this with multiple Canvas instances?
A: Yes! Configure multiple connections and switch between them using Canvas::connection().

Q: How do I test Canvas API calls?
A: Use the included CanvasFake class to mock API responses in your tests.

Q: Is this package compatible with Laravel Octane?
A: Yes, the package is stateless and works with Laravel Octane.

Q: What Laravel versions are supported?
A: Laravel 9.x, 10.x, and 11.x are fully supported.


All versions of canvas-lms-kit-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
jjuanrivvera/canvas-lms-kit Version ^1.5
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/console Version ^9.0|^10.0|^11.0|^12.0
illuminate/config Version ^9.0|^10.0|^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jjuanrivvera/canvas-lms-kit-laravel contains the following files

Loading the files please wait ...