Download the PHP package coderdojo/delorean without Composer

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

Coderdojo Delorean Time Machine

This PHP command line (console) app allows you to generate screenshots of websites from the past and present, courtesy of Wayback Machine by The Internet Archive.

Installation

Install this application through Composer.

If you don't have Composer installed yet, run

Once you have Composer, you can install the app an it's depencies with

Alternatively, if you prefer to clone this Git repository, you can install the dependencies only with the following (inside the app root).

Requirements

This package is designed to work with PHP >= 5.6 over the command line.

Usage

Generate Screenshots

You can generate a past and present screenshot of a specific website by using the command: php delorean screenshot <url> [--years=10]

In other words,

will generate a screenshot for the present day, plus one from the past using the default number of years (which is 10).

To change the number of years ago for the past screenshot, you can pass this as an option.

How it Works

The delorean file in the project root is a command line php script that registers a new Symfony console application, currently with one command.

The src/ScreenshotCommand.php file contains the code that is run when you put php delorean screenshot http://google.com in the command line. Have a look in this file to check the process of getting the URL and number of years. The getSnapshotUrl() method in this file connects to the Wayback Machine API to find the right URL for the past copy of the website.

The src/ScreenshotGenerator.php file contains the code that takes a screenshot. Because this is contained within it's own PHP class / file, we can re-use this in future by just including it from wherever it's needed. See Wikipedia - DRY.

Finally, this ap makes use of a number of Open-source projects. These are listed below:

TODO

Why Delorean?

In the feature film series Back to the Future, Dr. Emmett Brown builds a time machine based on an automobile; a DeLorean DMC-12.

Futher Reading.

Credits / License

Made by David Rushton, Developer at Papertank Limited Using the MIT License


All versions of delorean with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ~2.0
guzzlehttp/guzzle Version ~5.0
symfony/process Version ^2.7
nesbot/carbon Version ^1.20
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 coderdojo/delorean contains the following files

Loading the files please wait ....