-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from mohaphez/master
Add README.md and TestCase file to the project
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
]; | ||
} | ||
} |