Download the PHP package patrickbussmann/shooting-target without Composer

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

Shooting Target

Build Status Latest Stable Version Total Downloads StyleCI codecov.io

The goal was it to display the hits from the www.meyton.org/shooting-data-feed-sdf/ system. The data source is called Shooting Data Feed (SDF) and could be a XML file or a MySQL database.

Installation

With Composer

Without Composer

Usage

Example Air Rifle 10m (DE: Luftgewehr LG 10m)

Result

The picture generated by the script above

Example Air Pistol 10m (DE: Luftpistole / LP 10m)

Result

The picture generated by the script above

Example with custom font

Using a custom font is more better because it will scale up to your selected size.

Result

The picture generated by the script above

Target list

There are many targets which are compatible with this. Use them as you like. The examples below based on this document from the DSB. This is the reason why the table is in german language.

Wettbewerb / DisciplineØ 10Innen-Ø 10RingabstandErster schw. RingRingzahlStatus
Gewehr 10 m
Armbrust 10 m
0.50.52.5410
$target = new Target(0.5, 0.5, 2.5, 4, 10);
10 m Pistole11.558710
$target = new Target(11.5, 5, 8, 7, 10);
Gewehr 15 m4.5 4.5610
$target = new Target(4.5, 0, 4.5, 6, 10);
100 m Gewehr
25 m Pistole
50 m Pistole
502525710
$target = new Target(50, 25, 25, 7, 10);
Gewehr 300 m
Vorderlader Freigewehr 300 m
1005050510
$target = new Target(100, 50, 50, 5, 10);
Muskete 50 m80 4016
$target = new Target(80, 0, 40, 1, 6);
25 m Schnellfeuer-/Duell-Pistole
Pistole (Duell)
100504056
$target = new Target(100, 50, 40, 5, 6);
Laufende Scheibe 10 m5.50.52.5510
$target = new Target(5.5, 0.5, 2.5, 5, 10);
Laufende Scheibe 50 m60301702
$target = new Target(60, 30, 17, 0, 2);
Armbrust international 30 m626310
$target = new Target(6, 2, 6, 3, 10);
Armbrust National 30 m100.51546
$target = new Target(10, 0.5, 15, 4, 6);

Contribution

Support

If you like this project please star it 😉


All versions of shooting-target with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
ext-gd Version *
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 patrickbussmann/shooting-target contains the following files

Loading the files please wait ....