Skip to content

Commit

Permalink
Merge pull request #3 from mohaphez/master
Browse files Browse the repository at this point in the history
Add README.md  and TestCase file to the project
  • Loading branch information
RealMrHex authored Apr 7, 2023
2 parents 135ecce + e231227 commit 0efef11
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Laravel Filament Modular

## Introduction

The Filament module package is a Laravel package that integrates with the popular nwidart/laravel-modules package to provide seamless integration with Filament, a modern and elegant admin panel for Laravel applications.

Filament module package simplifies the process of integrating Filament into your Laravel application by providing a set of pre-built modules that can be easily installed and configured.

- Features include:

- Coming on the way....

- Latest versions of PHP and PHPUnit and PHPCsFixer

- Best practices applied:
- [`README.md`][link-readme]
- [`LICENSE`][link-license]
- [`composer.json`][link-composer-json]
- [`phpunit.xml`][link-phpunit]
- [`.gitignore`][link-gitignore]
- [`.php-cs-fixer.php`][link-phpcsfixer]

## Installation

Require this package with composer.

```shell
composer require realmrhex/filament-modular
```

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

#### Copy the package config to your local config with the publish command:

```shell
php artisan vendor:publish --provider="RealMrHex\FilamentModular\FilamentModularServiceProvider"
```
23 changes: 23 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace RealMrHex\FilamentModular\Tests;

use Illuminate\Foundation\Testing\RefreshDatabase;
use RealMrHex\FilamentModular\FilamentModularServiceProvider;

class TestCase extends \Orchestra\Testbench\TestCase
{
use RefreshDatabase;

public function setUp(): void
{
parent::setUp();
}

protected function getPackageProviders($app)
{
return [
FilamentModularServiceProvider::class,
];
}
}

0 comments on commit 0efef11

Please sign in to comment.