Skip to content

Downloads new lessons and series from laracasts if there are updates. Or the whole catalogue.

License

Notifications You must be signed in to change notification settings

sdcxyz/laracasts-downloader

 
 

Repository files navigation

Laracasts Downloader

Codacy Badge SensioLabsInsight Scrutinizer Code Quality Build Status

Downloads new lessons and series from laracasts if there are updates. Or the whole catalogue.

Working good at 27/09/2016

Description

Syncs your local folder with the laracasts website, when there are new lessons the app download it for you. If your local folder is empty, all lessons and series will be downloaded!

A .skip file is used to prevent downloading deleted lessons for these with space problems. Thanks to @vinicius73

Just call php makeskips.php before deleting the lessons.

An account with an active subscription is necessary!

Requirements

  • PHP >= 5.4
  • php-cURL
  • Composer

Installation

  • Clone this repo to a folder in your machine
  • Change your info in .env.example and rename it to .env
  • composer install
  • php start.phpand you are done!

Also works in the browser, but is better from the cli because of the instant feedback

Using Docker

  • Clone this repo to a folder in your machine
  • Change your info in .env.example and rename it to .env
  • docker build -t image-name .
  • docker run -d -v /host-path:/container-path-in-config.ini image-name and the path should be absolute

Troubleshooting

If you have a cURL error 60: SSL certificate problem: self signed certificate in certificate chain do this:

And you are done! If using apache you may need to restart it.

License

This library is under the MIT License, see the complete license here

About

Downloads new lessons and series from laracasts if there are updates. Or the whole catalogue.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%