Download the PHP package iracode-com/filament-reporting without Composer

On this page you can find all versions of the php package iracode-com/filament-reporting. 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 filament-reporting

��# Filament Reporting

### Reporting for Filament with advanced functionality

This package provides a Filament resource to add advanced functionality for filtering and reporting data from tables.

## Requirements

- Laravel v11

- Filament v3

- SpartanNL/Laravel-Excel v3

- Ariaieboy/Filament-jalali-datetime V1

- Ariaieboy/Filament-jalali-datetimepicker V3

- Hekmatinasser/Verta V8

## Languages Supported

Filament Reporting Plugin is translated for :

- us English

- fa Farsi

## Installation

You can install the package via composer:

`bash

composer require iracode-com/filament-reporting

`

After that run the install command:

`bash

php artisan filament-reporting:install

`

This will publish the config & migrations & translations from iracode-com/filament-reporting

And run migrates

`bash

php artisan migrate

`

You can manually publish the configuration file with:

`bash

php artisan vendor:publish --tag="filament-reporting-config"

`

This is the contents of the published config file:

`php

return [

/*

* This model will be used to report.

*/

'import_model' => \IracodeCom\FilamentReporting\Models\Report::class,

/*

* This model will be determined as user model.

* creator, updater: foreign key columns in report model for creator, updater relationships

*/

'user' => [

'model' => \App\Models\User::class,

'creator' => 'created_by',

'updater' => 'updated_by'

],

/*

* This is the name of the table that will be created by the migration and

* used by the Import model shipped with this package.

*/

'table' => 'ir_reports',

'resources' => [

'label' => 'Reporting',

'plural_label' => 'Reportings',

'navigation_group' => null,

'navigation_icon' => 'heroicon-o-clipboard-document-check',

'navigation_sort' => null,

'navigationcountbadge' => false,

'resource' => \IracodeCom\FilamentReporting\Resources\ReportResource::class,

],

'datetime_format' => 'd/m/Y H:i:s',

];

`

Optionally, you can publish the views using

`bash

php artisan vendor:publish --tag="filament-reporting-views"

`

## Usage

### Basic SpartanNL Laravel Excel usage

In your AppServiceProvider add HeadingRowFormatter::default('none') method to disable formatting

`php

use Illuminate\Support\ServiceProvider;

use Maatwebsite\Excel\Imports\HeadingRowFormatter;

class AppServiceProvider extends ServiceProvider

{

/

* Register any application services.

*/

public function register(): void

{

//

}

/

* Bootstrap any application services.

*/

public function boot(): void

{

HeadingRowFormatter::default('none');

}

}

`

## Plugin usage

In your Panel ServiceProvider (App\Providers\Filament) active the plugin

Add the IracodeCom\FilamentReporting\FilamentReportingPlugin to your panel config

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make(),

]);

}

`

## Customising the ReportResource

You can swap out the ReportResource used by updating the ->resource() value. Use this to create your own CustomResource class and extend the original at \IracodeCom\FilamentReporting\Resources\ReportResource::class. This will allow you to customise everything such as the views, table, form and permissions.

> [!NOTE]

> If you wish to change the resource on List and View page be sure to replace the getPages method on the new resource and create your own version of the ListPage and ViewPage classes to reference the custom CustomResource.

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->resource(\Path\For\Your\CustomResource::class),

]);

}

`

## Customising label Resource

You can swap out the Resource label used by updating the ->label() and ->pluralLabel() value.

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->label('Reporting')

->pluralLabel('Reportings'),

]);

}

`

## Grouping resource navigation items

You can add a Resource navigation group updating the ->navigationGroup() value.

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->navigationGroup('Reporting'),

]);

}

`

## Customising a resource navigation icon

You can swap out the Resource navigation icon used by updating the ->navigationIcon() value.

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->navigationIcon('heroicon-o-clipboard-document-check'),

]);

}

`

## Active a count badge

You can active Count Badge updating the ->navigationCountBadge() value.

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->navigationCountBadge(true),

]);

}

`

## Set navigation sort

You can set the Resource navigation sort used by updating the ->navigationSort() value.

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->navigationSort(3),

]);

}

`

## Authorization

If you would like to prevent certain users from accessing the logs resource, you should add a authorize callback in the FilamentReportingPlugin chain.

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->authorize(

fn () => auth()->user()->id === 1

),

]);

}

`

## Full configuration

`php

use IracodeCom\FilamentReporting\FilamentReportingPlugin;

public function panel(Panel $panel): Panel

{

return $panel

->plugins([

FilamentReportingPlugin::make()

->resource(\Path\For\Your\CustomResource::class)

->label('Reporting')

->pluralLabel('Reportings')

->navigationGroup('Reporting')

->navigationIcon('heroicon-o-clipboard-document-check')

->navigationCountBadge(true)

->navigationSort(2)

->authorize(

fn () => auth()->user()->id === 1

),

]);

}

`

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Acknowledgements

Special acknowledgment goes to these remarkable tools and people (developers), the Reporting plugin only exists due to the inspiration and at some point the use of these people's codes.

- [Filament](https://github.com/filamentphp/filament)

## Credits

- [ArdavanShamroshan](.com/Ardavan-Shamroshan)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.


All versions of filament-reporting with dependencies

PHP Build Version
Package Version
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 iracode-com/filament-reporting contains the following files

Loading the files please wait ....