Download the PHP package kwadwokyeremeh/laravel-package-ide-helper without Composer

On this page you can find all versions of the php package kwadwokyeremeh/laravel-package-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 laravel-package-ide-helper

Laravel Package IDE Helper

A standalone IDE helper generator and linter for Laravel packages. Unlike other IDE helper tools, this works without requiring Laravel application or artisan command access - perfect for package development!

🎯 Why This Package?

When developing Laravel packages, you don't have access to php artisan ide-helper:generate. This tool solves that by:

📦 Installation

As a Development Dependency

Globally

🚀 Usage

Generate IDE Helpers

Run from your package root:

This will:

  1. Scan your package for Models, Facades, Commands, etc.
  2. Generate IDE helper files in .idea-ide-helper/
  3. Create PHPDoc stubs for better autocompletion

Advanced Usage

Command Options

📝 Inline PHPDoc Injection (Recommended)

The --inline option injects comprehensive PHPDoc blocks directly into your model files!

Usage:

Example Output:

🔍 Linter

The package includes a powerful linter that checks your Laravel package for common issues, best practices, and code quality problems.

Basic Linting

Advanced Linting

Lint Command Options

Available Lint Checks

Check Description
general PHP tags, namespaces, strict types, trailing whitespace
models Fillable/guarded, casts, relationships, table names
facades Accessor methods, proper facade structure
commands Signatures, descriptions, handle methods, return types
providers Register/boot methods, parent calls, config publishing
naming File names, class names, naming conventions
types Return types, parameter types, type hints
best_practices Security issues, debug functions, hardcoded secrets

Example Lint Output

Lint Configuration

Create a custom config file for advanced linting:

Then use it with:

📁 Generated Files

After running the generator, you'll get:

🔧 IDE Configuration

VS Code

Add to .vscode/settings.json:

PHPStorm

  1. Go to Settings > Languages & Frameworks > PHP
  2. Add .idea-ide-helper/ to the Include paths
  3. The IDE will automatically recognize the helper files

Vim (with ALE or CoC)

Add to your .vimrc or .config/nvim/init.vim:

📝 Configuration File

Create a custom config file for advanced usage:

Example ide-helper-config.php:

🎨 Example Output

For Models

For Facades

🔄 Continuous Integration

Add to your CI/CD pipeline to keep IDE helpers up-to-date:

📋 What Gets Analyzed?

Component What's Detected
Models Properties, fillable, casts, relationships, table name
Facades Class name, accessor, namespace
Commands Signature, description, namespace
Providers Service provider classes, namespaces
Events Event classes, namespaces
Middlewares Middleware classes
Jobs Job classes (ShouldQueue)
Listeners Event listener classes

🛠️ Requirements

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details.

📄 License

The MIT License (MIT). Please see License File for more information.

🙏 Credits

Created by Kyeremeh

Inspired by the need for better IDE support in Laravel package development.

🐛 Issues & Support

If you encounter any issues or have questions, please open an issue.


Happy Package Developing! 🎉


All versions of laravel-package-ide-helper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
nikic/php-parser Version ^4.0|^5.0
symfony/finder Version ^6.0|^7.0
symfony/console Version ^6.0|^7.0
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 kwadwokyeremeh/laravel-package-ide-helper contains the following files

Loading the files please wait ...