gammamatrix/playground-http

Playground: Provide Http content and filter handling for controllers and requests.

dev-develop / 73.x-dev 2024-07-20 01:14 UTC

This package is auto-updated.

Last update: 2025-02-20 02:33:05 UTC


README

Playground CI Workflow Test Coverage PHPStan Level 9

The Playground Http package for Laravel applications.

Read more on using Playground Http at the Read the Docs for Playground.

Installation

You can install the package via composer:

composer require gammamatrix/playground-http

NOTE: This package is required by Playground: Http

artisan about

Playground Http provides information in the artisan about command.

Configuration

You can publish the config file with:

php artisan vendor:publish --provider="Playground\Http\ServiceProvider" --tag="playground-config"

See the contents of the published config file: config/playground-http.php

Cloc

composer cloc
➜  playground-http git:(develop) composer cloc
> cloc --exclude-dir=output,vendor .
      63 text files.
      57 unique files.
       7 files ignored.

github.com/AlDanial/cloc v 1.98  T=0.09 s (657.2 files/s, 51299.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                             48            514           1124           2115
YAML                             1              5              0            275
XML                              3              0              7            219
Markdown                         3             38              1             73
JSON                             1              0              0             63
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                            57            560           1132           2757
-------------------------------------------------------------------------------

PHPStan

Tests at level 9 on:

  • config/
  • database/
  • lang/
  • resources/views/
  • src/
  • tests/Feature/
  • tests/Unit/
composer analyse

Coding Standards

composer format

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

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