Download the PHP package psalm/plugin-laravel without Composer

On this page you can find all versions of the php package psalm/plugin-laravel. 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 plugin-laravel

Psalm plugin for Laravel

The package is seeking maintainers

⚠️ This is a perfect opportunity to learn Laravel very deep and collaborate with other high-skilled developers. At this moment, the package is maintained almost solely by @alies-dev, and he is looking for developers to build a team who can constantly improve this package and the whole Psalm ecosystem.

Some ideas to implement:


Packagist version Packagist downloads Type coverage Tests Tests

Overview

This Psalm plugin brings static analysis and type support to projects using Laravel. Our goal is to find as many type-related bugs as possible, therefore increasing developer productivity and application health. Find bugs without the overhead of writing tests!

Versions & Dependencies

Maintained versions:

Laravel Psalm Plugin PHP Laravel Psalm
master ^8.1 10, 11 5
2.9.x ^8.0 9, 10, 11 4, 5
1.6.x >=7.3 6, 8 4
1.4.x >=7.2 6, 7, 8 3, 4

See releases for more details about supported PHP, Laravel and Psalm versions.

Quickstart

Step 1: Install

Step 2: Configure

If you didn't use Psalm on the project before, you need to create a Psalm config:

Step 3: enable the plugin:

Step 4: Run 🚀

Run your usual Psalm command:

You can customize Psalm configuration using XML config and/or cli parameters.

Recommendation: use baseline file and increase errorLevel at least to 4: this way you can catch more issues. Step by step set errorLevel to 1 and use Psalm and this plugin at full power 🚀.

How it works

Under the hood it just runs https://github.com/barryvdh/laravel-ide-helper and feeds the resultant stubs into Psalm, which can read PhpStorm meta stubs.

It also parses any database migrations it can find to try to understand property types in your database models.

Psalm-Laravel-Plugin or Larastan?

Both! It's fine to use both tools at the same project: they use different approaches to analyze code, and thus you can find more bugs! Psalm and PHPStan use almost same the syntax annotations, so you should not have any conflicts.


All versions of plugin-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3 || ^8.0
ext-simplexml Version *
illuminate/config Version ^6.0 || ^8.0
illuminate/container Version ^6.0 || ^8.0
illuminate/contracts Version ^6.0 || ^8.0
illuminate/database Version ^6.0 || ^8.0
illuminate/events Version ^6.0 || ^8.0
illuminate/http Version ^6.0 || ^8.0
illuminate/routing Version ^6.0 || ^8.0
illuminate/support Version ^6.0 || ^8.0
illuminate/view Version ^6.0 || ^8.0
vimeo/psalm Version ^4.8.1
orchestra/testbench Version ^4.0 || ^6.0
barryvdh/laravel-ide-helper Version >=2.8.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 psalm/plugin-laravel contains the following files

Loading the files please wait ....