Commit 1ef98dd0 authored by Oleksii Pass's avatar Oleksii Pass
Browse files

init

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
.idea
 No newline at end of file

.travis.yml

0 → 100644
+15 −0
Original line number Diff line number Diff line
language: php

php:
    - 7.1
    - 7.3

include:
    - php: 7.1
      env: dependencies=lowest

before_script:
    - composer self-update
    - composer install --prefer-source --no-interaction --dev
    - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;

composer.json

0 → 100644
+40 −0
Original line number Diff line number Diff line
{
  "name": "iressources/elasticquent",
  "type": "library",
  "description": "Maps Laravel Eloquent models to Elasticsearch types.",
  "keywords": [
    "elasticsearch",
    "eloquent",
    "laravel"
  ],
  "homepage": "https://git.iressources.com/CherryPick/elasticquent",
  "license": "MIT",
  "authors": [
    {
      "name": "Adam Fairholm",
      "email": "adam.fairholm@gmail.com",
      "homepage": "http://adamfairholm.com"
    }
  ],
  "require": {
    "php": ">=5.4.0",
    "illuminate/database": "~4.2|^5|^6|^7",
    "illuminate/config": "~4.2|^5|^6|^7",
    "nesbot/carbon": "~1.0|~2",
    "elasticsearch/elasticsearch": "~7.8"
  },
  "require-dev": {
    "phpunit/phpunit": "~4.2|~5.0|~8.0",
    "mockery/mockery": "^0.9.4|^1.0"
  },
  "autoload": {
    "psr-4": {
      "Elasticquent\\": "src/"
    }
  },
  "extra": {
    "branch-alias": {
      "dev-master": "1.0-dev"
    }
  }
}

license.txt

0 → 100644
+21 −0
Original line number Diff line number Diff line
The MIT License (MIT)

Copyright (c) <Taylor Otwell>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 No newline at end of file

phpunit.xml

0 → 100644
+18 −0
Original line number Diff line number Diff line
<?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>
 No newline at end of file
Loading