Download the PHP package lara-igniter/laraigniter-ide-helper without Composer

On this page you can find all versions of the php package lara-igniter/laraigniter-ide-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laraigniter-ide-helper

lara-igniter/laraigniter-ide-helper

Generates IDE helper files for Laraigniter applications — PHPDoc for facades and models, plus PhpStorm .phpstorm.meta.php metadata for autocomplete on view(), route(), config(), and env().

Requires lara-igniter/framework ^1.51.


Installation

Register the provider in config/hooks.php when package discovery is disabled:

Publish config (optional):

Local checkout (path repository)


Usage

Automatic PHPDoc generation for Laraigniter Facades

You can re-generate facade docs yourself whenever facades or their underlying services change:

This writes _ide_helper.php in your project root. Your IDE parses that file for autocomplete — it is not loaded by the application. Change the output name via the filename key in config/ide-helper.php, or pass --filename=custom.php on the command line.

Include framework helper functions in the output (optional):

Or set include_helpers to true in the config (equivalent to always passing --helpers).

Run generation automatically after every composer update by adding scripts to your app's composer.json:

Publish the config file to customize facade aliases, output paths, or helper defaults:

This copies config/ide-helper.php into your application. Edit the published file — your values override the package defaults.


Commands

Command Output Description
php artisan ide-helper:generate _ide_helper.php Facade PHPDoc stubs
php artisan ide-helper:models _ide_helper_models.php Model @property / @property-read docs
php artisan ide-helper:meta .phpstorm.meta.php PhpStorm meta for helpers and facades

Options

generate

models

Builds annotations from $fillable, $casts, and $hasOne / $hasMany / $hasManyPivot on Elegant\Database\Model\Model subclasses.

meta


Generated files

These files are for the IDE only — do not include them in runtime code.

File Purpose
_ide_helper.php Facade method stubs
_ide_helper_models.php Model property and relation hints
.phpstorm.meta.php View, route, config, and env autocomplete

Regenerate after changing models, routes, views, or facades.


Configuration

Defaults: config/ide-helper.php in this package. Override by publishing to your app's config/ide-helper.php.

Key Default Description
filename _ide_helper.php Facade helper path
models_filename _ide_helper_models.php Model helper path
meta_filename .phpstorm.meta.php Meta file path
model_locations [app/Models] Model scan directories (set at boot)
ignored_models base Model class Excluded models
model_namespace App\Models\ Namespace for short relation names
facades Blade, Gate, Route, View, … Facade map for generate
read_facades_from_hooks true Merge aliases from config/hooks.php
include_helpers false Embed helper files in output
type_overrides integer → int, etc. Cast to PHPDoc type map
user_model App\Models\User User model class

Requirements


License

MIT — see LICENSE.md.


All versions of laraigniter-ide-helper with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
ext-json Version *
lara-igniter/framework Version ^1.51
symfony/finder Version ^5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lara-igniter/laraigniter-ide-helper contains the following files

Loading the files please wait ...