<commit_before># Facebook PHP SDK Laravel package

A wrapper for the Facebook PHP SDK to work nicely with Laravel.

## Installation

Add this package’s name to your Composer manifest:

```json
"require": {
    "martin-bean/facebook-php-sdk-laravel": "0.1.*"
}
```

## Usage

Simply use the `FacebookRedirectLoginHelper` class bundled in this package
instead of the one in the Facebook PHP SDK. You can then use it as normal in
your controllers:

```php
<?php

use Facebook\FacebookRequest;
use Facebook\FacebookSession;
use Facebook\GraphUser;
use MartinBean\Facebook\Laravel\FacebookRedirectLoginHelper;

class TestFacebookController extends BaseController {<commit_msg>Updated vendor name in README<commit_after># Facebook PHP SDK Laravel package

A wrapper for the Facebook PHP SDK to work nicely with Laravel.

## Installation

Add this package’s name to your Composer manifest:

    "require": {
        "martinbean/facebook-php-sdk-laravel": "0.1.*"
    }

## Usage

Simply use the `FacebookRedirectLoginHelper` class bundled in this package
instead of the one in the Facebook PHP SDK. You can then use it as normal in
your controllers:

```php
<?php

use Facebook\FacebookRequest;
use Facebook\FacebookSession;
use Facebook\GraphUser;
use MartinBean\Facebook\Laravel\FacebookRedirectLoginHelper;

class TestFacebookController extends BaseController {
{'fraction_non_alphanumeric': 0.0759027266028003, 'fraction_numerical': 0.0029476787030213707, 'mean_word_length': 4.956140350877193, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4749417', 'n_tokens_mistral': 402, 'n_tokens_neox': 368, 'n_words': 151}