Download the PHP package aazbeltran/laravel-backpack-phpstan-extension without Composer

On this page you can find all versions of the php package aazbeltran/laravel-backpack-phpstan-extension. 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-backpack-phpstan-extension

# Laravel Backpack PHPStan Extension [![Latest Version on Packagist](https://img.shields.io/packagist/v/aazbeltran/laravel-backpack-phpstan-extension.svg?style=flat-square)](https://packagist.org/packages/aazbeltran/laravel-backpack-phpstan-extension) [![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/aazbeltran/laravel-backpack-phpstan-extension/ci.yml?branch=main&label=tests&style=flat-square)](https://github.com/aazbeltran/laravel-backpack-phpstan-extension/actions?query=workflow%3Aci+branch%3Amain) [![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/aazbeltran/laravel-backpack-phpstan-extension/ci.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/aazbeltran/laravel-backpack-phpstan-extension/actions?query=workflow%3Aci+branch%3Amain) [![Total Downloads](https://img.shields.io/packagist/dt/aazbeltran/laravel-backpack-phpstan-extension.svg?style=flat-square)](https://packagist.org/packages/aazbeltran/laravel-backpack-phpstan-extension) **Comprehensive PHPStan support for Laravel Backpack CRUD with Pro package compatibility** *Make your Backpack applications statically analyzable and improve code quality with zero configuration*

โœจ Features

๐Ÿ”ฎ Magic Method Resolution - Automatically resolves dynamic methods on CrudField and CrudColumn classes
โ›“๏ธ Fluent Interface Support - Maintains proper return types for seamless method chaining
๐Ÿ’Ž Pro Package Ready - Full compatibility with Backpack Pro operations and advanced features
๐Ÿ—๏ธ Laravel Facades - Complete type hints for Laravel facades used throughout Backpack
๐Ÿ“š Comprehensive Stubs - Type definitions for all major Backpack classes and components
๐Ÿš€ Zero Configuration - Works out of the box with sensible defaults

๐Ÿš€ Quick Start

Installation

Configuration

Add to your phpstan.neon:

Run Analysis

That's it! ๐ŸŽ‰ Your Backpack code is now statically analyzed.

๐Ÿ“– Usage Examples

Before: PHPStan Errors โŒ

After: Clean Analysis โœ…

Pro Package Support

๐ŸŽฏ Supported Components

Core CRUD Features - โœ… **CrudPanel** - Main panel operations and configuration - โœ… **CrudField** - Field definitions with fluent interface - โœ… **CrudColumn** - Column definitions with fluent interface - โœ… **CrudFilter** - Filter definitions and logic - โœ… **CrudButton** - Button definitions and positioning - โœ… **Widget** - Dashboard and page widgets - โœ… **CrudController** - Base controller functionality - โœ… **CrudPanelFacade** - Static facade access
Pro Package Features - โœ… **CloneOperation** - Entity cloning functionality - โœ… **FetchOperation** - AJAX data fetching - โœ… **InlineCreateOperation** - Inline entity creation - โœ… **ChartController** - Dashboard charts and analytics - โœ… **Pro Fields** - Advanced field types - โœ… **Pro Widgets** - Enhanced widget components
Laravel Integration - โœ… **Facades** - Route, Auth, Request, Schema, etc. - โœ… **Eloquent Models** - Enhanced model typing - โœ… **Request/Response** - HTTP layer improvements - โœ… **Validation** - Custom rule definitions

โš ๏ธ Version Compatibility

Important Notice: This extension was developed and tested against specific versions of Laravel Backpack packages. Compatibility with other versions is not guaranteed.

Tested Versions

Maintenance Notice

โš ๏ธ Limited Maintenance: Due to the lack of access to Backpack Pro licenses for all contributors, this extension has limited long-term maintenance plans. Community contributions are encouraged and appreciated.

For the most up-to-date compatibility information, please check our compatibility matrix.

๐Ÿงช Testing

Run the test suite:

Run PHPStan analysis on the extension itself:

Run code style fixes:

๐Ÿ“Š Error Reduction Results

Based on real-world testing with Laravel Backpack codebases:

๐Ÿ”ง Advanced Configuration

Custom Stub Paths

Selective Feature Enabling

๐Ÿค Contributing

We welcome contributions! Please see CONTRIBUTING.md for details.

Quick Development Setup

For AI agents and automated tools, see AGENTS.md for detailed development instructions.

๐Ÿ“š Documentation

๐Ÿ†˜ Support

๐Ÿ“ƒ License

This package is open-sourced software licensed under the MIT license.

๐Ÿ™ Credits


**Made with โค๏ธ for the Laravel Backpack community** [โญ Star this repo](https://github.com/aazbeltran/laravel-backpack-phpstan-extension) | [๐Ÿฆ Follow on Twitter](https://twitter.com/BackpackForLaravel) | [๐Ÿ“ฑ Join Discord](https://discord.gg/backpack)

Supported Classes

Error Reduction

This extension helps eliminate common PHPStan errors when working with Laravel Backpack:

Before (with errors):

After (no errors):

Development

Running Tests

Running PHPStan Analysis

Requirements

Supported Backpack Packages

License

MIT License. See LICENSE for details.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Changelog

See CHANGELOG.md for release history.


All versions of laravel-backpack-phpstan-extension with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
phpstan/phpstan Version ^1.10|^2.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 aazbeltran/laravel-backpack-phpstan-extension contains the following files

Loading the files please wait ...