A complete learning management system for Larapen. Build courses from sections and lessons, release them on a schedule, grade learners with quizzes, and award certificates of completion, with enrollment, checkout and per-lesson progress tracking built in.
Curriculum Builder
Drag and drop sections and lessons into place. Move a lesson between sections, toggle its free preview, and see the running total update as you build.
Five Lesson Types
Uploaded video, YouTube/Vimeo embeds, rich-text articles, PDF documents and scheduled live sessions, plus quizzes as a lesson in their own right.
Drip Scheduling
Release the whole course at once, unlock lessons one after another, or open them a set number of days after enrolment or on fixed calendar dates.
Quizzes & Grading
Single and multiple choice, true/false and short answer, with pass marks, attempt limits, time limits, shuffling and automatic grading.
Certificates
Issued automatically on completion, downloadable as a PDF, each with a public verification page anyone can check.
Progress Tracking
Video lessons complete themselves as they are watched and resume where the learner stopped; everything else completes on a click.
Use Cases
Paid Online Courses
Sell individual courses with a one-off price, an optional sale price, and a checkout that runs on the payment gateways already installed on your site. Set an access window in days, or leave it open for life.
Cohort-Based Programmes
Use fixed-date drip scheduling so every learner in an intake reaches the same material on the same day, and add live sessions with a join link for the weekly call.
Staff Training & Onboarding
Make courses free, enrol staff by hand from the admin panel, and require a passing quiz before the course counts as complete. The certificate then serves as a record of completion.
Certification Programmes
Set the pass mark and the minimum progress a certificate requires. Each certificate carries a number and a verification code, so an employer can confirm it on your site without an account.
Free Lead-Generation Courses
Publish a free course with one-click enrolment, and mark an early lesson as a free preview so visitors can watch something before signing up.
Requirements
- Larapen CMS v1.0.0 or later
- PHP 8.3+
- MySQL 8.0+
- A payment gateway add-on (e.g. Stripe, PayPal, Paddle, MoMo) for paid courses (optional)
Installation
Step 1: Upload the Add-on
In the admin panel, go to Admin → Extensions → Add-ons and click the Upload Add-on button. Select the add-on’s ZIP file: the system extracts it automatically and the add-on appears in the installed add-ons list.
Step 2: Activate the Add-on
Find Courses (LMS) in the list and click Activate. Its migrations and permissions are set up automatically.
Step 3: Configure
Navigate to Admin → Courses → Settings to set the catalog layout, enrolment rules, quiz defaults and certificate details. See Settings.
Purchase Code (License Key)
Courses (LMS) is sold as a separate product, so it has its own purchase code (license key), distinct from the purchase code of the main application and from the one of every other add-on. You are asked for it when you activate Courses (LMS) in Admin panel → Add-ons.
Our products are sold on three platforms. The way you receive a purchase code depends on where you bought the product.
| Platform / Marketplace | How you get the purchase code | Where to find it again |
|---|---|---|
| bedigit.com Store In-site purchase (Shop) |
Generated automatically when the order is paid, then sent by email, either in its own license email, or inside the order confirmation email. | My Account → My Licenses on bedigit.com |
| Gumroad | Created as soon as Gumroad notifies us of the sale, then sent in a separate email, in addition to the Gumroad receipt. | The license email, your Gumroad Library, and My Account → My Licenses on bedigit.com |
| Envato Market CodeCanyon |
Issued by Envato, not by us, and never sent by email: you download it yourself from your Envato account. | Envato account → Downloads → License certificate & purchase code |
Quick Start
The shortest path from a fresh install to a course a learner can take:
- Add an instructor. Courses → Instructors → New instructor. A name is enough to start; the headline, photo and biography appear on the course page.
- Add a category. Courses → Categories. Categories drive the catalog sidebar and give each course its own browsable page.
- Create the course. Courses → Courses → New course. Fill in the title and short description, pick the instructor, category and level, then save. You land straight on the Curriculum tab.
- Build the curriculum. Add a section, then add lessons inside it. Mark the first lesson as a free preview so visitors can sample the course.
- Set the price. On the Pricing & access tab, either tick Free or set a price (and optionally a sale price).
- Publish. Set the status to Published in the sidebar and save. The course
appears at
/courses.
Dashboard
Courses → Dashboard summarises the whole add-on: how many courses exist and how many are published, total and active enrolments, completions and the completion rate, certificates issued, and revenue taken through course checkouts.
Below that sit a 30-day enrolment trend, your most enrolled courses, and the most recent enrolments with their progress. Each row links straight to the enrolment detail.
Courses
Courses → Courses lists every course with its cover, instructor, level, lesson count, student count, price and status. Filter by status, category, instructor or level, or search by title.
Row actions let you edit, publish or unpublish, duplicate, and delete a course. The student count links to the list of learners taking that course.
Content
The Content tab holds everything a visitor reads before enrolling:
- Title and slug: leave the slug empty and it is generated from the title.
- Short description: the sentence shown on the catalog card and under the page title.
- Full description: the rich-text body of the course page.
- What students will learn, Requirements and Who this course is for: repeatable one-line lists. Empty lines are dropped when you save.
Every one of these fields is translatable: use the language selector in the card header to switch locale.
In the sidebar you also set the cover image and an optional trailer URL (YouTube or Vimeo), which plays from the cover on the course page.
Curriculum
The Curriculum tab is where the course is actually built. It appears once the course exists, so a brand-new course takes you there straight after the first save.
- Add section creates a chapter. Sections group lessons and can carry their own drip schedule.
- Add lesson opens the lesson editor. The button in a section header adds the lesson to that section directly.
- Drag a section by its handle to reorder chapters, or a lesson to move it inside its section, or into another one.
- The eye button toggles a lesson’s free preview without opening it.
Each change saves immediately, and the lesson count and total running time in the header update with it.
Pricing & Access
- Free: learners enrol in one click, with no checkout.
- Price and Sale price: when a sale price is set and lower, it is what the learner is charged, and the catalog shows the discount.
- Access expires after: a number of days from enrolment. Leave it empty for lifetime access.
- Maximum seats: caps enrolments. Leave empty for unlimited.
- Starts at / Ends at: the window during which enrolment is open.
Drip Scheduling
Drip controls when a learner may open each lesson. Choose one mode per course:
| Mode | Behaviour |
|---|---|
| No drip | Every lesson is available as soon as the learner enrols. |
| Sequential | A lesson unlocks once the previous one is complete. Good for material that builds on itself. |
| Days after enrolment | Lessons open a set number of days after each learner enrols, so everyone gets the same paced experience whenever they join. |
| Fixed dates | Lessons open on calendar dates you choose: the same moment for everyone. Use this for cohorts. |
With the last two modes you set the delay or the date on the section, and optionally override it on an individual lesson. A lesson’s own setting always wins over its section’s.
Certificate
Turn Certificate of completion off if a course should not award one. When it is on, set the minimum progress a learner must reach: 100% by default.
The certificate is issued automatically the moment the course completes. See Certificates.
Lessons
Lessons are edited in a dialog opened from the curriculum. The fields shown follow the lesson type you pick, so you only ever see what is relevant.
Lesson Types
| Type | What it needs | How it completes |
|---|---|---|
| Video file | A video uploaded through the media picker. | Automatically, once enough of it has been watched. |
| YouTube / Vimeo | The video URL. The provider is detected for you. | Automatically, once enough of it has been watched. |
| Article | Rich text in the lesson body. | The learner clicks Mark as complete. |
| PDF document | A PDF chosen from the media library. | The learner clicks Mark as complete. |
| Live session | Start time, duration, join URL and platform name. | The learner clicks Mark as complete. |
| Quiz | Nothing at first: save the lesson, then build its questions. | Automatically, once the quiz is passed. |
For video lessons, fill in the video length in seconds. It drives the progress bar and decides when the lesson counts as watched. Leave it at 0 and the lesson duration is used instead.
Attachments
Any lesson can carry downloadable files: worksheets, slides, source code. Each attachment is a name plus either a file from the media library or an external link. They appear under the player and are only downloadable by enrolled learners, unless the lesson is a free preview.
Free Previews
Tick Free preview to let anyone watch a lesson without enrolling. Preview lessons are marked in the curriculum on the course page, and the cover image gains a Watch a free preview button.
Quizzes
A quiz belongs to a lesson of type Quiz, which is what gives it a place in the curriculum. Create that lesson first, save it, then open the quiz editor from the lesson row or from Courses → Quizzes.
Question Types
| Type | How it is answered | How it is marked |
|---|---|---|
| Single choice | One option from a list. | Correct when the chosen option is the right one. |
| Multiple choice | Any number of options. | All or nothing: every correct option and no incorrect one. |
| True or false | One of two fixed options. | Correct when the chosen option is the right one. |
| Short answer | Free text. | Compared against every accepted spelling you list, ignoring case, accents, punctuation and spacing. |
Each question carries its own points and an optional explanation, shown to the learner with their result.
Grading & Attempts
- Pass mark: the percentage of available points needed to pass.
- Maximum attempts: 0 means unlimited. A learner who passes cannot retake the quiz.
- Time limit: in minutes. The countdown is enforced from when the attempt was opened, so closing the browser does not stop the clock.
- Shuffle questions / answers: randomise the order per attempt.
- Show correct answers: whether the result page reveals what was right.
- Required to complete the course: when on, the course is not complete, and no certificate is issued, until this quiz is passed.
Quizzes → Attempts lists every graded attempt with its score, result and time spent, along with the pass rate and average score for that quiz.
Categories
Courses → Categories manages the catalog taxonomy. Categories are translatable, can be nested, carry an icon and can be reordered by drag and drop.
Each category gets its own catalog page at /courses/category/{slug}, and the count column tells you how
many courses are filed under it.
Instructors
An instructor is the person credited on a course. Courses → Instructors holds their name, photo, headline, translatable biography, contact details and social links.
An instructor profile can optionally be linked to a user account. That link identifies the person across the site; teaching does not require the learner-facing account to exist.
When the public instructors page setting is on, instructors with at least one published course are
listed at /courses/instructors, each with their own profile page and course list.
Enrollments
Courses → Enrollments lists who is taking what. Each row shows the enrolment number, the learner, the course, the status, a progress bar and what was paid. Filter by status or course, search by name, email, enrolment number or course title, and export the current selection to CSV.
Statuses
| Status | Meaning |
|---|---|
| Pending payment | Created at checkout, waiting for the payment to clear. No access yet. |
| Active | The learner can take the course. |
| Completed | Every published lesson is done and every required quiz passed. |
| Cancelled | Withdrawn by an administrator. No access. |
| Refunded | The payment was returned. No access. |
| Expired | The access window closed. No access. |
Enrolling someone by hand
Enroll a student grants access immediately without a payment, useful for staff, for complimentary places, or for an order taken outside the site.
The enrolment detail
Opening an enrolment shows its progress lesson by lesson, its quiz attempts, and its payment and access details. From there you can change the status, recalculate progress (useful after adding lessons to a live course) and issue the certificate by hand.
Certificates
Courses → Certificates lists every certificate issued, with its number, learner, course, final score and state. You can download any of them as a PDF.
Each certificate records the learner’s name, the course title and the instructor as they were on the day it was issued, so renaming a course later never rewrites a certificate already awarded.
Revoking
Revoke marks a certificate invalid without deleting it: the public verification page then reports it as revoked, and the learner can no longer download it. Restore undoes that.
Branding
Set the certificate logo, signature image and signatory name in Courses → Settings → Certificates. When no logo is set, your site logo is used.
Settings
Courses → Settings is grouped into tabs.
Catalog
Courses per page, the number of grid columns, which side the filter sidebar sits on (or none), how many related courses to suggest, and whether the public instructors page is shown.
Enrollment
The prefix used for enrolment numbers, one-click enrolment for free courses, and whether visitors may watch preview lessons. This tab also carries the Sale Terms at Checkout card: keep Use the global setting and the course checkout follows your global settings, or choose Show, acceptance required, Show with a notice (no checkbox) or Do not show for course purchases only. The Privacy Policy at Checkout card works the same way.
Learning
How much of a video must be watched before the lesson counts as complete, how often the player saves the playback position, whether the next lesson plays automatically, and whether attachments may be downloaded.
Quizzes
The defaults applied to a new quiz: pass mark, maximum attempts and whether correct answers are revealed.
Certificates
Whether certificates are issued at all, the certificate number prefix, and the logo, signature image and signatory name printed on the PDF.
Page Header
Overrides the site-wide page header for the add-on’s front-end pages: height, alignment, background colour, gradient or image, and the title, subtitle and breadcrumb colours.
SEO
Whether renaming a course, category or instructor records a 301 redirect from the old URL. This is on by default and is what keeps existing links working after a rename.
Course Catalog
The catalog lives at /courses. It shows a counter strip, a filter sidebar and a grid of course cards.
Visitors can filter by category, level, price (free or paid) and duration, search by title, description or instructor name, and sort by newest, most popular, price or title. Filters combine, and every one of them keeps the category being browsed.
Each card shows the cover image with the level and running time, the category, title, instructor, lesson and student counts, and the price, with the old price struck through when a course is on sale.
Course Page
The course page carries everything a visitor needs to decide: the facts strip (level, lessons, duration, students, last updated), the “What you’ll learn” checklist, the full curriculum, the description, requirements, intended audience, and the instructor’s biography.
The enrolment card stays in view as the page scrolls. It shows the price, the call to action, how many seats are left when the course is capped, and what the course includes. Once enrolled, it turns into a progress bar and a Continue learning button.
In the curriculum, locked lessons show a padlock and preview lessons are playable straight away.
Enrollment & Checkout
For a free course, enrolling is a single click and access is immediate.
For a paid course, the learner is taken to a checkout showing the course, the enrolment number and the total, alongside the payment methods available on your site. Once the payment clears, the enrolment becomes active and the learner lands on a confirmation page with a link straight into the course.
Enrolment is refused, with an explanation, when the course is full, when the enrolment window is closed or has not opened yet, or when the learner is already enrolled.
Course Player
The player is where learners spend their time. A curriculum rail on the left lists every section and lesson with its state (done, current, or locked) above a progress bar for the whole course. The lesson itself fills the rest of the screen.
- Video lessons resume where the learner stopped and mark themselves complete once enough has been watched. Skipping ahead does not count as watching.
- Articles, PDFs and live sessions carry a Mark as complete button.
- Quiz lessons show the quiz cover with its rules and a button to begin.
- Attachments for the lesson are listed underneath, and Previous/Next move through the course.
The progress bar and the rail update as the learner goes, without reloading the page. Finishing the last lesson opens a short congratulations dialog with a link to the certificate when the course awards one.
Visitors who are not enrolled can still open a free preview lesson; a banner invites them to enrol for the rest.
Taking a Quiz
The quiz cover states the number of questions, the pass mark, the time limit and how many attempts are left, plus the learner’s best score so far and their previous attempts.
During an attempt a progress bar tracks how many questions have been answered, and a countdown appears for timed quizzes, turning red in the final minute. If time runs out the answers are submitted automatically.
The result page shows the score as a ring, whether the learner passed, and, when the quiz allows it, a question-by-question review with the correct answers and any explanations. From there the learner can retake the quiz, if attempts remain, or move to the next lesson.
My Learning
/courses/my-courses is the learner’s dashboard, reachable from the user menu. Courses are grouped
into All, In progress, Not started and Completed,
each card showing progress, the lesson to resume, and a button that goes straight back to it.
Certificates
Earned certificates are listed at /courses/my-certificates. Each can be viewed on screen or downloaded
as a PDF.
Every certificate carries a verification code and a public URL of the form
/courses/certificate/verify/{code}. Anyone holding that link (an employer, for instance)
can confirm who earned it, for which course and when, without an account. Revoked certificates are reported as
invalid on the same page.
Updating
There are two ways to update this add-on: via the admin panel (recommended) or manually replacing files.
Method 1: Admin Panel Upload (Recommended)
- Download the latest
.zipfile of this add-on. - Go to Admin panel → Add-ons and click the Upload button.
- Select or drag the
.zipfile into the upload area. - A confirmation prompt will show the current and new version numbers. Click Replace to proceed.
- Go to Admin panel → System Update (
/admin/update) to apply any pending database migrations.
Method 2: Manual File Replacement
Step 1: Replace Files
Replace the add-on directory with the new version.
Step 2: Run Migrations
php artisan migrate
Pending migrations run once, so the command is safe to repeat.
Step 3: Clear Caches
php artisan config:clear
php artisan route:clear
php artisan view:clear
Step 4: Rebuild Assets
If the add-on’s SCSS or JavaScript files were updated:
npx vite build
Step 5: Verify
Open Courses → Courses in the admin panel and confirm everything loads, then check the catalog and the player on the front-end.
Uninstallation
Switching an add-on off without losing anything is a deactivation: go to Admin panel → Add-ons, find Courses (LMS) and click Deactivate.
- Its routes, views, admin menu entries and permissions stop being registered, and its front-end pages stop answering.
- Its database tables and all the data they hold are kept (courses, enrolments, progress,
quiz attempts and certificates) and its files stay under
extensions/addons/courses/. Nothing is deleted. - The purchase code recorded at activation is kept too, so activating the add-on again does not ask for it.
- Deactivation is refused while another active add-on depends on this one: deactivate that add-on first.
Click Activate on the same card to switch it back on. Pending migrations are re-run, assets are republished, and the add-on picks up exactly where it left off.
Removing
Removing is permanent and destroys the add-on’s data. The Remove button only appears on a deactivated add-on, so removal is always two steps:
- Deactivate Courses (LMS) (see Uninstallation).
- Click Remove on its card and confirm the prompt.
The admin panel then, in one pass:
- runs the add-on’s uninstall hook, if it ships one, while its code is still on disk;
- revokes the permissions declared in its
addon.json; - rolls back its migrations, this drops its database tables and every row they hold, including
every enrolment, every learner’s progress and every certificate issued, and purges its entries from the
migrationstable, so a later reinstall migrates from scratch; - deletes its published assets:
public/addons/courses/,public/vendor/courses/andstorage/app/public/addons/courses/; - deletes the add-on directory
extensions/addons/courses/; - deletes its row in the
addonstable (the recorded purchase code goes with it) and clears the application cache.
Removal is refused, with an explanatory message and before anything is destroyed, when the add-on is still active,
when another active add-on depends on it, or when the web server (PHP) user cannot delete
extensions/addons/courses/. In that last case, give that user write permission on the directory
and on its parent, then try again.
Deleting the folder over FTP or SSH is not equivalent: the add-on’s tables, its entries in the
migrations table and its addons row are all left behind, and its card stays in the list.
Use Remove in the admin panel instead.
Troubleshooting
A course does not appear in the catalog
- Its status must be Published and its publish date must be in the past.
- Check that no filter is active on the page you are looking at.
- Confirm the add-on is activated in Admin → Add-ons.
A learner says a lesson is locked
- Check the course’s drip mode. Under Sequential, the previous lesson must be completed first.
- Under Days after enrolment or Fixed dates, check the delay or date on the section, and on the lesson, whose own setting overrides it.
- Confirm the enrolment is Active and has not expired.
A video lesson never completes itself
- Set the video length in seconds on the lesson. Without it there is nothing to measure progress against.
- Check Mark video complete at in Settings → Learning.
- Embedded videos report progress less reliably than uploaded files; the learner can always use Mark as complete.
The course will not complete, so no certificate is issued
- Every published lesson must be complete. A lesson added after the learner finished will reopen the course.
- Every quiz marked Required to complete the course must be passed.
- The learner’s progress must reach the course’s minimum progress for a certificate.
- Check that certificates are enabled both on the course and in Settings → Certificates.
- Use Recalculate progress on the enrolment after changing a published curriculum.
The checkout shows no payment method
- At least one payment gateway add-on must be installed, active and configured.
- Confirm the course is not marked as free and its price is above zero.
Notifications are not arriving
- Check the notification types under Admin → Settings → Notifications.
- Verify your mail configuration in Admin → Settings → Mail.
- Look in
storage/logs/laravel.logfor mail errors.
The certificate PDF will not open
- Certificates are generated on the fly; make sure PHP has enough memory and time for the request.
- If you set a custom logo or signature, it must be an image in your media library, not a remote URL.
- A revoked certificate cannot be downloaded at all.
“Unable to locate file in Vite manifest” error
The asset build has not been run since the add-on’s SCSS or JavaScript changed. Run:
npx vite build
Courses (LMS) v1.0.0: Part of the Larapen CMS platform.
© BeDigit. All rights reserved.