Browse Source

Merge pull request #140 from andrewdwallo/development-3.x

Development 3.x
3.x
Andrew Wallo 5 months ago
parent
commit
bedba264de
No account linked to committer's email address
4 changed files with 68 additions and 67 deletions
  1. 1
    1
      composer.json
  2. 64
    64
      composer.lock
  3. 1
    1
      database/seeders/DatabaseSeeder.php
  4. 2
    1
      routes/web.php

+ 1
- 1
composer.json View File

18
         "awcodes/filament-table-repeater": "^3.0",
18
         "awcodes/filament-table-repeater": "^3.0",
19
         "barryvdh/laravel-snappy": "^1.0",
19
         "barryvdh/laravel-snappy": "^1.0",
20
         "codewithdennis/filament-simple-alert": "^3.0",
20
         "codewithdennis/filament-simple-alert": "^3.0",
21
+        "fakerphp/faker": "^1.24",
21
         "filament/filament": "^3.2",
22
         "filament/filament": "^3.2",
22
         "guava/filament-clusters": "^1.1",
23
         "guava/filament-clusters": "^1.1",
23
         "guzzlehttp/guzzle": "^7.8",
24
         "guzzlehttp/guzzle": "^7.8",
31
     },
32
     },
32
     "require-dev": {
33
     "require-dev": {
33
         "barryvdh/laravel-debugbar": "^3.15",
34
         "barryvdh/laravel-debugbar": "^3.15",
34
-        "fakerphp/faker": "^1.23",
35
         "laravel/pint": "^1.13",
35
         "laravel/pint": "^1.13",
36
         "laravel/sail": "^1.26",
36
         "laravel/sail": "^1.26",
37
         "mockery/mockery": "^1.6",
37
         "mockery/mockery": "^1.6",

+ 64
- 64
composer.lock View File

4
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
4
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
         "This file is @generated automatically"
5
         "This file is @generated automatically"
6
     ],
6
     ],
7
-    "content-hash": "d025044f35b2bd1c51f1a316081969aa",
7
+    "content-hash": "370f1def076669e74e94cb2c1bf9c31f",
8
     "packages": [
8
     "packages": [
9
         {
9
         {
10
             "name": "akaunting/laravel-money",
10
             "name": "akaunting/laravel-money",
1734
             ],
1734
             ],
1735
             "time": "2025-03-06T22:45:56+00:00"
1735
             "time": "2025-03-06T22:45:56+00:00"
1736
         },
1736
         },
1737
+        {
1738
+            "name": "fakerphp/faker",
1739
+            "version": "v1.24.1",
1740
+            "source": {
1741
+                "type": "git",
1742
+                "url": "https://github.com/FakerPHP/Faker.git",
1743
+                "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5"
1744
+            },
1745
+            "dist": {
1746
+                "type": "zip",
1747
+                "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5",
1748
+                "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5",
1749
+                "shasum": ""
1750
+            },
1751
+            "require": {
1752
+                "php": "^7.4 || ^8.0",
1753
+                "psr/container": "^1.0 || ^2.0",
1754
+                "symfony/deprecation-contracts": "^2.2 || ^3.0"
1755
+            },
1756
+            "conflict": {
1757
+                "fzaninotto/faker": "*"
1758
+            },
1759
+            "require-dev": {
1760
+                "bamarni/composer-bin-plugin": "^1.4.1",
1761
+                "doctrine/persistence": "^1.3 || ^2.0",
1762
+                "ext-intl": "*",
1763
+                "phpunit/phpunit": "^9.5.26",
1764
+                "symfony/phpunit-bridge": "^5.4.16"
1765
+            },
1766
+            "suggest": {
1767
+                "doctrine/orm": "Required to use Faker\\ORM\\Doctrine",
1768
+                "ext-curl": "Required by Faker\\Provider\\Image to download images.",
1769
+                "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.",
1770
+                "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.",
1771
+                "ext-mbstring": "Required for multibyte Unicode string functionality."
1772
+            },
1773
+            "type": "library",
1774
+            "autoload": {
1775
+                "psr-4": {
1776
+                    "Faker\\": "src/Faker/"
1777
+                }
1778
+            },
1779
+            "notification-url": "https://packagist.org/downloads/",
1780
+            "license": [
1781
+                "MIT"
1782
+            ],
1783
+            "authors": [
1784
+                {
1785
+                    "name": "François Zaninotto"
1786
+                }
1787
+            ],
1788
+            "description": "Faker is a PHP library that generates fake data for you.",
1789
+            "keywords": [
1790
+                "data",
1791
+                "faker",
1792
+                "fixtures"
1793
+            ],
1794
+            "support": {
1795
+                "issues": "https://github.com/FakerPHP/Faker/issues",
1796
+                "source": "https://github.com/FakerPHP/Faker/tree/v1.24.1"
1797
+            },
1798
+            "time": "2024-11-21T13:46:39+00:00"
1799
+        },
1737
         {
1800
         {
1738
             "name": "filament/actions",
1801
             "name": "filament/actions",
1739
             "version": "v3.3.10",
1802
             "version": "v3.3.10",
9486
             ],
9549
             ],
9487
             "time": "2025-03-05T08:29:11+00:00"
9550
             "time": "2025-03-05T08:29:11+00:00"
9488
         },
9551
         },
9489
-        {
9490
-            "name": "fakerphp/faker",
9491
-            "version": "v1.24.1",
9492
-            "source": {
9493
-                "type": "git",
9494
-                "url": "https://github.com/FakerPHP/Faker.git",
9495
-                "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5"
9496
-            },
9497
-            "dist": {
9498
-                "type": "zip",
9499
-                "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5",
9500
-                "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5",
9501
-                "shasum": ""
9502
-            },
9503
-            "require": {
9504
-                "php": "^7.4 || ^8.0",
9505
-                "psr/container": "^1.0 || ^2.0",
9506
-                "symfony/deprecation-contracts": "^2.2 || ^3.0"
9507
-            },
9508
-            "conflict": {
9509
-                "fzaninotto/faker": "*"
9510
-            },
9511
-            "require-dev": {
9512
-                "bamarni/composer-bin-plugin": "^1.4.1",
9513
-                "doctrine/persistence": "^1.3 || ^2.0",
9514
-                "ext-intl": "*",
9515
-                "phpunit/phpunit": "^9.5.26",
9516
-                "symfony/phpunit-bridge": "^5.4.16"
9517
-            },
9518
-            "suggest": {
9519
-                "doctrine/orm": "Required to use Faker\\ORM\\Doctrine",
9520
-                "ext-curl": "Required by Faker\\Provider\\Image to download images.",
9521
-                "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.",
9522
-                "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.",
9523
-                "ext-mbstring": "Required for multibyte Unicode string functionality."
9524
-            },
9525
-            "type": "library",
9526
-            "autoload": {
9527
-                "psr-4": {
9528
-                    "Faker\\": "src/Faker/"
9529
-                }
9530
-            },
9531
-            "notification-url": "https://packagist.org/downloads/",
9532
-            "license": [
9533
-                "MIT"
9534
-            ],
9535
-            "authors": [
9536
-                {
9537
-                    "name": "François Zaninotto"
9538
-                }
9539
-            ],
9540
-            "description": "Faker is a PHP library that generates fake data for you.",
9541
-            "keywords": [
9542
-                "data",
9543
-                "faker",
9544
-                "fixtures"
9545
-            ],
9546
-            "support": {
9547
-                "issues": "https://github.com/FakerPHP/Faker/issues",
9548
-                "source": "https://github.com/FakerPHP/Faker/tree/v1.24.1"
9549
-            },
9550
-            "time": "2024-11-21T13:46:39+00:00"
9551
-        },
9552
         {
9552
         {
9553
             "name": "fidry/cpu-core-counter",
9553
             "name": "fidry/cpu-core-counter",
9554
             "version": "1.2.0",
9554
             "version": "1.2.0",

+ 1
- 1
database/seeders/DatabaseSeeder.php View File

31
             })
31
             })
32
             ->create([
32
             ->create([
33
                 'name' => 'Admin',
33
                 'name' => 'Admin',
34
-                'email' => 'admin@gmail.com',
34
+                'email' => 'admin@erpsaas.com',
35
                 'password' => bcrypt('password'),
35
                 'password' => bcrypt('password'),
36
                 'current_company_id' => 1,  // Assuming this will be the ID of the created company
36
                 'current_company_id' => 1,  // Assuming this will be the ID of the created company
37
             ]);
37
             ]);

+ 2
- 1
routes/web.php View File

1
 <?php
1
 <?php
2
 
2
 
3
 use App\Http\Controllers\DocumentPrintController;
3
 use App\Http\Controllers\DocumentPrintController;
4
+use Filament\Facades\Filament;
4
 use Illuminate\Support\Facades\Route;
5
 use Illuminate\Support\Facades\Route;
5
 
6
 
6
 Route::get('/', function () {
7
 Route::get('/', function () {
7
-    return view('welcome');
8
+    return redirect(Filament::getDefaultPanel()->getUrl());
8
 });
9
 });
9
 
10
 
10
 Route::middleware(['auth'])->group(function () {
11
 Route::middleware(['auth'])->group(function () {

Loading…
Cancel
Save