Coder Social home page Coder Social logo

svenluijten / laravel-ide Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 27 KB

๐Ÿ’ป Generate IDE helper files for your Laravel applications with a single command.

Home Page: https://git.io/lide

License: MIT License

PHP 100.00%
laravel phpstorm laravel-ide php ide-helper laravel-ide-helper

laravel-ide's Introduction

laravel-ide

Laravel IDE

Latest Version on Packagist Total Downloads Software License StyleCI

Note: This package is no longer maintained. Use sven/artisan-shortcuts instead.

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.

Index

Installation

You'll have to follow a couple of simple steps to install this package.

Downloading

Via composer:

$ 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:

{
    "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.

Usage

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

$ php artisan ide

Configuration

To publish the configuration file for this package, run the following command:

$ 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:

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.

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.

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.

License

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

laravel-ide's People

Contributors

svenluijten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.