Download the PHP package steadfastcollective/laravel-summit without Composer

On this page you can find all versions of the php package steadfastcollective/laravel-summit. 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 laravel-summit

Summit

Total Downloads Latest Stable Version License

Introduction

This package powers Steadfast Collective's Summit platform and other apps. It provides a starting point for building video course applications.

Documentation

Installation

  1. Install via Composer

  2. Run the summit:install command to publish Summit's files:

Migrations

During installation, you'll get the option to publish Summit's migrations. These migrations create a few tables (courses, course_blocks and videos). These tables are used for some of Summit's built-in models. Feel free to add any columns to these as you wish.

Extending Models

Summit provides a set of models for things like Courses, Course Blocks and Videos. By default, these models live inside the Summit package. However, there may be cases where you want to add fillable properties, attributes or simply just want to override something we've done. And that's perfectly okay!

The recommended approach to doing this would be to create your own model file, like app/Models/Course.php. Inside that, instead of extending the Model class provided by Eloquent, extend the built-in Summit model. There's a demo of this below:

Depending on the model you're overriding, it may be necessary to tell Summit about your updated model. You can do this inside the configuration file published by Summit during install.

Laravel Nova

If you're using Laravel Nova within your application, you can optionally publish our base Nova resources. They're included as part of the summit:install command. However, they will only be shown if we detect Nova is installed.

The Nova Resources will be published into your app/Nova directory. Once published, you can customise them to your heart's content.

We're using Spatie's Eloquent Sortable package to handle ordering of course blocks when creating. To extend on this functionality with Laravel Nova, we suggest using the Nova Sortable package.

Video Storage

There's a couple of different places you can store your videos. Out of the box, we currently support uploading to Laravel's Filesystem and to api.video.

Laravel Filesystem

When you configure the filesystem driver, be sure to also configure a video_storage_disk. This will be the disk (from your config/filesystems.php) you wish to be use for storage.

When uploading video with the uploadVideo method, you may pass in either an UploadedFile (which is the output of $request->file('video')) or you can pass a string containing the path to the video (useful if you're using Laravel Vapor).

api.video

When using our built-in api.video integration, you'll need to pull in our steadfastcollective/laravel-api-video package. If you don't we'll just throw an exception to tell you off (just kidding, of course).

Unlike our Filesystem driver, you can only pass in a Video ID string to the uploadVideo method when using api.video. The Video ID should be returned once the video has been uploaded successfully client-side.

Contributing

Before contributing, please read the our contibutors guide.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.


All versions of laravel-summit with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/support Version ^8.0
spatie/eloquent-sortable Version ^3.11
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 steadfastcollective/laravel-summit contains the following files

Loading the files please wait ....