Download the PHP package jeffbdn/tools-bundle without Composer
On this page you can find all versions of the php package jeffbdn/tools-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffbdn/tools-bundle
More information about jeffbdn/tools-bundle
Files in jeffbdn/tools-bundle
Package tools-bundle
Short Description Symfony JeffBdnToolsBundle
License MIT
Homepage https://github.com/jeffbdn/tools-bundle
Informations about the package tools-bundle
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
This bundle comes with several services. In order to make them available for your project,
register the bundle's services.yml
file in your config.yml
:
Then, add and customise those parameters in your config.yml
:
jeffbdn_tools.weather.apikey: In order to use the Weather Service, you will need an OpenWeatherMaps API Key. You can get one for free by creating a new account on https://home.openweathermap.org/users/sign_up .
jeffbdn_tools.weather.refresh: You can choose the refresh rate for the broadcast for all locations. The cache will be renewed on next call if the data get older than the amount of time your precised.
Step 3: Use the Tools
The current version of JeffBdnToolsBundle provides 2 services:
-
A random number provider
- A weather broadcast provider
The data you may be interested to use are:
-
Temperatures in Kelvin, Celsius, Fahrenheit
-
Sky and Atmosphere details:
-
Date of last update, sunrise and sunset:
- Error Management:
Step 4: Testing the ToolsBundle
If you encounter any bug, please report on http://www.github.com/jeffbdn/tools-bundle/issues
All versions of tools-bundle with dependencies
symfony/framework-bundle Version ~2.3
symfony/security-bundle Version ~2.3