udemy-laravel Is A Udemy Api Cli For Laravel

v0.5 2021-03-09 03:07 UTC

This package is auto-updated.

Last update: 2022-06-09 06:22:43 UTC


Laravel Udemy was created by, and is maintained by Carlos Herrera, and is a PHP API Client for bridge for Laravel. Feel free to check out the change log, releases, security policy, license, code of conduct, and contribution guidelines.

Build Status StyleCI Software License Packagist Downloads Packagist Version


Laravel GitLab requires PHP 7.2-7.4. This particular version supports Laravel 7.

To get the latest version, simply require the project using Composer.

$ composer require caherrera/Udemy-laravel

Once installed, if you are not using automatic package discovery, then you need to register the Udemy\Laravel\UdemyServiceProvider service provider in your config/app.php.

You can also optionally alias our facade:

        'Udemy'      => Udemy\Laravel\Facades\Udemy::class,


Laravel GitLab requires connection configuration.

To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish

This will create a config/Udemy.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

Real Examples

Here you can see an example of just how simple this package is to use. Out of the box, the default adapter is main. After you enter your authentication details in the config file, it will just work:

use Udemy\Laravel\Facades\Udemy;
// you can alias this in config/app.php if you like

// we're done here - how easy was that, it just works!

If you prefer to use models over facades like me, then you can easily inject the manager like so:

use Udemy\Laravel\Model\UserActivity;

class Foo
    protected $link;

    public function __construct()
        $this->user_activity = new UserActivity();

    public function all()
        return $this->user_activity->all();
Further Information

There are other classes in this package that are not documented here. This is because they are not intended for public use and are used internally by this package.


If you discover a security vulnerability within this package, please rise an issue. All security vulnerabilities will be promptly addressed. You may view our full security policy here.


Laravel GitLab is licensed under The MIT License (MIT).


Special thanks to