Initial Commit

This commit is contained in:
Tom Lingham
2014-07-13 21:12:07 +10:00
commit 4c0890f936
6 changed files with 98 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/vendor
composer.phar
composer.lock
.DS_Store

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit

20
composer.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "tom-lingham/searchy",
"description": "",
"authors": [
{
"name": "Tom Lingham",
"email": "tjlingham@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.2.*"
},
"autoload": {
"psr-0": {
"TomLingham\\Searchy": "src/"
}
},
"minimum-stability": "stable"
}

18
phpunit.xml Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

View File

@ -0,0 +1,42 @@
<?php namespace TomLingham\Searchy;
use Illuminate\Support\ServiceProvider;
class SearchyServiceProvider extends ServiceProvider {
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
//
}
/**
*
*/
public function boot()
{
$this->package('tom-lingham/searchy');
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return array();
}
}

0
tests/.gitkeep Normal file
View File