A free open source IT asset/license management system
Added barryvdh/laravel-ide-helper
snipec90dee4cf458
diff --git a/composer.lock b/composer.lockindex 9b686d95e6..cef13cb43c 100644--- a/composer.lock+++ b/composer.lock@@ -4,7 +4,7 @@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file","This file is @generated automatically"],- "content-hash": "8a95fe6650431578ed47b7c22e4b32dc",+ "content-hash": "3d463d3c67b62645c95e566f20f3e368","packages": [{"name": "aws/aws-sdk-php",@@ -6139,6 +6139,128 @@}],"packages-dev": [+ {+ "name": "barryvdh/laravel-ide-helper",+ "version": "v2.4.3",+ "source": {+ "type": "git",+ "url": "https://github.com/barryvdh/laravel-ide-helper.git",+ "reference": "5c304db44fba8e9c4aa0c09739e59f7be7736fdd"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/5c304db44fba8e9c4aa0c09739e59f7be7736fdd",+ "reference": "5c304db44fba8e9c4aa0c09739e59f7be7736fdd",+ "shasum": ""+ },+ "require": {+ "barryvdh/reflection-docblock": "^2.0.4",+ "illuminate/console": "^5.0,<5.7",+ "illuminate/filesystem": "^5.0,<5.7",+ "illuminate/support": "^5.0,<5.7",+ "php": ">=5.4.0",+ "symfony/class-loader": "^2.3|^3.0"+ },+ "require-dev": {+ "doctrine/dbal": "~2.3",+ "illuminate/config": "^5.0,<5.7",+ "illuminate/view": "^5.0,<5.7",+ "phpunit/phpunit": "4.*",+ "scrutinizer/ocular": "~1.1",+ "squizlabs/php_codesniffer": "~2.3"+ },+ "suggest": {+ "doctrine/dbal": "Load information from the database about models for phpdocs (~2.3)"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.3-dev"+ },+ "laravel": {+ "providers": [+ "Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Barryvdh\\LaravelIdeHelper\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Barry vd. Heuvel",+ "email": "[email protected]"+ }+ ],+ "description": "Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.",+ "keywords": [+ "autocomplete",+ "codeintel",+ "helper",+ "ide",+ "laravel",+ "netbeans",+ "phpdoc",+ "phpstorm",+ "sublime"+ ],+ "time": "2018-02-08T07:56:07+00:00"+ },+ {+ "name": "barryvdh/reflection-docblock",+ "version": "v2.0.4",+ "source": {+ "type": "git",+ "url": "https://github.com/barryvdh/ReflectionDocBlock.git",+ "reference": "3dcbd98b5d9384a5357266efba8fd29884458e5c"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/barryvdh/ReflectionDocBlock/zipball/3dcbd98b5d9384a5357266efba8fd29884458e5c",+ "reference": "3dcbd98b5d9384a5357266efba8fd29884458e5c",+ "shasum": ""+ },+ "require": {+ "php": ">=5.3.3"+ },+ "require-dev": {+ "phpunit/phpunit": "~4.0,<4.5"+ },+ "suggest": {+ "dflydev/markdown": "~1.0",+ "erusev/parsedown": "~1.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.0.x-dev"+ }+ },+ "autoload": {+ "psr-0": {+ "Barryvdh": [+ "src/"+ ]+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Mike van Riel",+ "email": "[email protected]"+ }+ ],+ "time": "2016-06-13T19:28:20+00:00"+ },{"name": "behat/gherkin","version": "v4.5.1",@@ -7672,6 +7794,62 @@"homepage": "https://symfony.com","time": "2018-06-04T17:31:56+00:00"},+ {+ "name": "symfony/class-loader",+ "version": "v3.4.13",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/class-loader.git",+ "reference": "e63c12699822bb3b667e7216ba07fbcc3a3e203e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/class-loader/zipball/e63c12699822bb3b667e7216ba07fbcc3a3e203e",+ "reference": "e63c12699822bb3b667e7216ba07fbcc3a3e203e",+ "shasum": ""+ },+ "require": {+ "php": "^5.5.9|>=7.0.8"+ },+ "require-dev": {+ "symfony/finder": "~2.8|~3.0|~4.0",+ "symfony/polyfill-apcu": "~1.1"+ },+ "suggest": {+ "symfony/polyfill-apcu": "For using ApcClassLoader on HHVM"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "3.4-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\ClassLoader\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony ClassLoader Component",+ "homepage": "https://symfony.com",+ "time": "2018-01-03T07:37:34+00:00"+ },{"name": "symfony/dom-crawler","version": "v4.0.13",diff --git a/config/ide-helper.php b/config/ide-helper.phpnew file mode 100644index 0000000000..f4b8cf337c--- /dev/null+++ b/config/ide-helper.php@@ -0,0 +1,182 @@+<?php++return array(++ /*+ |--------------------------------------------------------------------------+ | Filename & Format+ |--------------------------------------------------------------------------+ |+ | The default filename (without extension) and the format (php or json)+ |+ */++ 'filename' => '_ide_helper',+ 'format' => 'php',++ 'meta_filename' => '.phpstorm.meta.php',++ /*+ |--------------------------------------------------------------------------+ | Fluent helpers+ |--------------------------------------------------------------------------+ |+ | Set to true to generate commonly used Fluent methods+ |+ */++ 'include_fluent' => false,++ /*+ |--------------------------------------------------------------------------+ | Write Model Magic methods+ |--------------------------------------------------------------------------+ |+ | Set to false to disable write magic methods of model+ |+ */++ 'write_model_magic_where' => true,++ /*+ |--------------------------------------------------------------------------+ | Helper files to include+ |--------------------------------------------------------------------------+ |+ | Include helper files. By default not included, but can be toggled with the+ | -- helpers (-H) option. Extra helper files can be included.+ |+ */++ 'include_helpers' => false,++ 'helper_files' => array(+ base_path().'/vendor/laravel/framework/src/Illuminate/Support/helpers.php',+ base_path().'/Helpers/Helper.php',+ ),++ /*+ |--------------------------------------------------------------------------+ | Model locations to include+ |--------------------------------------------------------------------------+ |+ | Define in which directories the ide-helper:models command should look+ | for models.+ |+ */++ 'model_locations' => array(+ 'app/Models',+ ),+++ /*+ |--------------------------------------------------------------------------+ | Extra classes+ |--------------------------------------------------------------------------+ |+ | These implementations are not really extended, but called with magic functions+ |+ */++ 'extra' => array(+ 'Eloquent' => array('Illuminate\Database\Eloquent\Builder', 'Illuminate\Database\Query\Builder'),+ 'Session' => array('Illuminate\Session\Store'),+ ),++ 'magic' => array(+ 'Log' => array(+ 'debug' => 'Monolog\Logger::addDebug',+ 'info' => 'Monolog\Logger::addInfo',+ 'notice' => 'Monolog\Logger::addNotice',+ 'warning' => 'Monolog\Logger::addWarning',+ 'error' => 'Monolog\Logger::addError',+ 'critical' => 'Monolog\Logger::addCritical',+ 'alert' => 'Monolog\Logger::addAlert',+ 'emergency' => 'Monolog\Logger::addEmergency',+ )+ ),++ /*+ |--------------------------------------------------------------------------+ | Interface implementations+ |--------------------------------------------------------------------------+ |+ | These interfaces will be replaced with the implementing class. Some interfaces+ | are detected by the helpers, others can be listed below.+ |+ */++ 'interfaces' => array(++ ),++ /*+ |--------------------------------------------------------------------------+ | Support for custom DB types+ |--------------------------------------------------------------------------+ |+ | This setting allow you to map any custom database type (that you may have+ | created using CREATE TYPE statement or imported using database plugin+ | / extension to a Doctrine type.+ |+ | Each key in this array is a name of the Doctrine2 DBAL Platform. Currently valid names are:+ | 'postgresql', 'db2', 'drizzle', 'mysql', 'oracle', 'sqlanywhere', 'sqlite', 'mssql'+ |+ | This name is returned by getName() method of the specific Doctrine/DBAL/Platforms/AbstractPlatform descendant+ |+ | The value of the array is an array of type mappings. Key is the name of the custom type,+ | (for example, "jsonb" from Postgres 9.4) and the value is the name of the corresponding Doctrine2 type (in+ | our case it is 'json_array'. Doctrine types are listed here:+ | http://doctrine-dbal.readthedocs.org/en/latest/reference/types.html+ |+ | So to support jsonb in your models when working with Postgres, just add the following entry to the array below:+ |+ | "postgresql" => array(+ | "jsonb" => "json_array",+ | ),+ |+ */+ 'custom_db_types' => array(++ ),++ /*+ |--------------------------------------------------------------------------+ | Support for camel cased models+ |--------------------------------------------------------------------------+ |+ | There are some Laravel packages (such as Eloquence) that allow for accessing+ | Eloquent model properties via camel case, instead of snake case.+ |+ | Enabling this option will support these packages by saving all model+ | properties as camel case, instead of snake case.+ |+ | For example, normally you would see this:+ |+ | * @property \Carbon\Carbon $created_at+ | * @property \Carbon\Carbon $updated_at+ |+ | With this enabled, the properties will be this:+ |+ | * @property \Carbon\Carbon $createdAt+ | * @property \Carbon\Carbon $updatedAt+ |+ | Note, it is currently an all-or-nothing option.+ |+ */+ 'model_camel_case_properties' => false,++ /*+ |--------------------------------------------------------------------------+ | Property Casts+ |--------------------------------------------------------------------------+ |+ | Cast the given "real type" to the given "type".+ |+ */+ 'type_overrides' => array(+ 'integer' => 'int',+ 'boolean' => 'bool',+ ),+);