<commit_before>Eloquent Geonames
=================

[![Build Status](https://travis-ci.org/ipalaus/geonames.png?branch=master)](https://travis-ci.org/ipalaus/geonames)
[![Coverage Status](https://coveralls.io/repos/ipalaus/geonames/badge.png?branch=master)](https://coveralls.io/r/ipalaus/geonames?branch=master)

A collection of Eloquent models and Commands to get all the power of GeoNames in Laravel 4.

Installation
------------

Add `ipalaus/geonames` as a requirement to composer.json:

```javascript
{
    "require": {
        "ipalaus/geonames": "0.1.*"
    }
}
```

Update your packages with `composer update` or install with `composer install`.

Once you have installed the dependency, you need to register `geonames` in Laravel. Open your
`app/config/app.php` and add the next provider to your `providers` array:

```php
'Ipalaus\Geonames\GeonamesServiceProvider'
```

If you run now `php artisan` you should see a new namespace **geonames** with a few commands related to the package. In order to proceed with the install, run the next command:

```bash
$ php artisan geonames:install
```

This will publish the config file to `app/config/packages/ipalaus/geonames/config.php` and the migrations to your `app/database/migrations` directory. To be able to control what's going on, we recommend you to manually trigger `php artisan migrate`.

Artisan Commands<commit_msg>Bumped version to 0.2.* in the README file.<commit_after>Eloquent Geonames
=================

[![Build Status](https://travis-ci.org/ipalaus/geonames.png?branch=master)](https://travis-ci.org/ipalaus/geonames)
[![Coverage Status](https://coveralls.io/repos/ipalaus/geonames/badge.png?branch=master)](https://coveralls.io/r/ipalaus/geonames?branch=master)

A collection of Eloquent models and Commands to get all the power of GeoNames in Laravel 4.

Installation
------------

Add `ipalaus/geonames` as a requirement to composer.json:

```javascript
{
    "require": {
        "ipalaus/geonames": "0.2.*"
    }
}
```

Update your packages with `composer update` or install with `composer install`.

Once you have installed the dependency, you need to register `geonames` in Laravel. Open your
`app/config/app.php` and add the next provider to your `providers` array:

```php
'Ipalaus\Geonames\GeonamesServiceProvider'
```

If you run now `php artisan` you should see a new namespace **geonames** with a few commands related to the package. In order to proceed with the install, run the next command:

```bash
$ php artisan geonames:install
```

This will publish the config file to `app/config/packages/ipalaus/geonames/config.php` and the migrations to your `app/database/migrations` directory. To be able to control what's going on, we recommend you to manually trigger `php artisan migrate`.

Artisan Commands
{'fraction_non_alphanumeric': 0.12822349570200572, 'fraction_numerical': 0.0028653295128939827, 'mean_word_length': 4.619718309859155, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7260588', 'n_tokens_mistral': 880, 'n_tokens_neox': 836, 'n_words': 292}