From ac22cbdb279b1982cab0e079447b5ae4d92839e2 Mon Sep 17 00:00:00 2001 From: Hessam Taghvaei Date: Fri, 7 Apr 2023 20:54:41 +0330 Subject: [PATCH 1/3] feat: Add TestCase file --- tests/TestCase.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/TestCase.php diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 0000000..e4b4729 --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,23 @@ + Date: Fri, 7 Apr 2023 21:19:02 +0330 Subject: [PATCH 2/3] docs: Add README.md file --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2a1cd3a --- /dev/null +++ b/README.md @@ -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" +``` From e23122730c3a9d36a89ea292dd4d2d46d7dedf07 Mon Sep 17 00:00:00 2001 From: Hessam Taghvaei Date: Fri, 7 Apr 2023 21:20:08 +0330 Subject: [PATCH 3/3] styles: fix the TestCase code style --- tests/TestCase.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index e4b4729..840cf69 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -7,17 +7,17 @@ class TestCase extends \Orchestra\Testbench\TestCase { - use RefreshDatabase; + use RefreshDatabase; - public function setUp(): void - { - parent::setUp(); - } + public function setUp(): void + { + parent::setUp(); + } - protected function getPackageProviders($app) - { - return [ - FilamentModularServiceProvider::class, - ]; - } -} \ No newline at end of file + protected function getPackageProviders($app) + { + return [ + FilamentModularServiceProvider::class, + ]; + } +}