2017 © Pedro Peláez
 

library laravel-ide

Generate IDE helper files with one short command.

image

sven/laravel-ide

Generate IDE helper files with one short command.

  • Saturday, July 7, 2018
  • by svenluijten
  • Repository
  • 1 Watchers
  • 7 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 700 % Grown

The README.md

laravel-ide, (*1)

Laravel IDE

Latest Version on Packagist Total Downloads ![Software License][ico-license] StyleCI, (*2)

Note: This package is no longer maintained. Use sven/artisan-shortcuts instead., (*3)

This package provides a single command to quickly generate IDE helper files. I grew tired of remembering the 3 or 4 commands it took me to generate the helper files with Barry van den Heuvel's laravel-ide-helper package, so I wrote my own command. Eventually though, I kept copying and pasting that same command in all my projects. And thus, this package was born., (*4)

Index

Installation

You'll have to follow a couple of simple steps to install this package., (*5)

Downloading

Via composer:, (*6)

$ composer require sven/laravel-ide --dev

Or add the package to your dependencies in composer.json and run composer update on the command line to download the package:, (*7)

{
    "require-dev": {
        "sven/laravel-ide": "^1.0"
    }
}

Registering the service provider

Thanks to auto-discovery, the service provider is already registered. If you disabled auto-discovery in your project, you must register \Sven\LaravelIde\ServiceProvider while the app is in the local environment., (*8)

Usage

To (re-)generate IDE helper files, execute the following command:, (*9)

$ php artisan ide

Configuration

To publish the configuration file for this package, run the following command:, (*10)

$ php artisan vendor:publish --provider="Sven\LaravelIde\ServiceProvider"

This will create a new file at config/ide.php, where you can configure the following values:, (*11)

write_to_model_files

This option is to determine whether to write the generated docblocks for models directly to the model files or to create a seperate file for them., (*12)

commands.*

The keys here stand for the ide-helper command to execute. If you want to disable one of them, set its value to false., (*13)

Contributing

All contributions (pull requests, issues and feature requests) are welcome. Make sure to read through the CONTRIBUTING.md first, though. See the contributors page for all contributors., (*14)

License

sven/laravel-ide is licensed under the MIT License (MIT). Please see the license file for more information., (*15)

The Versions

07/07 2018

dev-master

9999999-dev

Generate IDE helper files with one short command.

  Sources   Download

MIT

The Requires

 

laravel artisan ide phpstorm laravel-ide-helper ide-helper

02/06 2018

v1.1.0

1.1.0.0

Generate IDE helper files with one short command.

  Sources   Download

MIT

The Requires

 

laravel artisan ide phpstorm laravel-ide-helper ide-helper

02/06 2018

v1.0.0

1.0.0.0

Generate IDE helper files with one short command.

  Sources   Download

MIT

The Requires

 

laravel artisan ide phpstorm laravel-ide-helper ide-helper

02/06 2018

v1.0.0-beta1

1.0.0.0-beta1

Generate IDE helper files with one short command.

  Sources   Download

MIT

The Requires

 

laravel artisan ide phpstorm laravel-ide-helper ide-helper