PHP code example of eren / lms

1. Go to this page and download the library: Download eren/lms library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

eren / lms example snippets


   return [
       'sitekey' => env('NOCAPTCHA_SITEKEY', ''),
       'secret' => env('NOCAPTCHA_SECRET', ''),
   ];
   

   // Tell Fortify to use your package's views
        Fortify::loginView(function () {
            return view('lms::auth.login');
        });

        Fortify::registerView(function () {
            return view('lms::auth.register');
        });

        // You can also customize other views like password reset, email verification, etc.
        Fortify::requestPasswordResetLinkView(function () {
            return view('lms::auth.forgot-password');
        });

        Fortify::resetPasswordView(function () {
            return view('lms::auth.reset-password');
        });
      
sh
   php artisan vendor:publish --tag=lms_config
   php artisan vendor:publish --tag=lms_views
   php artisan vendor:publish --tag=lms_assets
   php artisan vendor:publish --tag=lms_lang
   php artisan vendor:publish --tag=lms_admin
   php artisan vendor:publish --tag=lms_requests
   php artisan vendor:publish --tag=lms_rules
   php artisan vendor:publish --tag=lms_only_header_footer_sidebar
   php artisan vendor:publish --tag=lms_migrations
   

   php artisan migrate
   

   php artisan db:seed --class=LanguageSeeder
   php artisan db:seed --class=CategoriesSeeder
   
bash
   php artisan vendor:publish --provider="Anhskohbo\NoCaptcha\NoCaptchaServiceProvider"
   
bash
   php artisan vendor:publish --tag=lms_auth_views
   

   php artisan vendor:publish --tag=lms_migrations
   php artisan migrate