Browse Source

Initial Commit

master
Tom Lingham 11 years ago
commit
4c0890f936
  1. 4
      .gitignore
  2. 14
      .travis.yml
  3. 20
      composer.json
  4. 18
      phpunit.xml
  5. 42
      src/TomLingham/Searchy/SearchyServiceProvider.php
  6. 0
      tests/.gitkeep

4
.gitignore

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

14
.travis.yml

@ -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

@ -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

@ -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>

42
src/TomLingham/Searchy/SearchyServiceProvider.php

@ -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

Loading…
Cancel
Save