Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kristi11 committed Jan 21, 2025
1 parent 731a443 commit 77703d3
Show file tree
Hide file tree
Showing 22 changed files with 1,095 additions and 714 deletions.
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
<!-- PROJECT SHIELDS -->
<!--
*** I'm using markdown "reference style" links for readability.
*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).
*** See the bottom of this document for the declaration of the reference variables
*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.
*** https://www.markdownguide.org/basic-syntax/#reference-style-links
-->

[![LinkedIn][linkedin-shield]][linkedin-url]



<!-- PROJECT LOGO -->
<br />
<div align="center">
Expand Down Expand Up @@ -49,6 +36,7 @@
<li>
<a href="#about-the-project">About The Project</a>
<ul>
<li><a href="#key-features">Key Features</a></li>
<li><a href="#built-with">Built With</a></li>
</ul>
</li>
Expand All @@ -66,9 +54,10 @@
<a href="#configuration">Configuration</a>
<ul>
<li><a href="#adding-variants">Adding variants</a></li>
<li><a href="#otp">One Time Passwords</a></li>
</ul>
</li>
<li><a href=""></a></li>
<li><a href="#shop">Shop</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contributing">Contributing</a></li>
Expand Down Expand Up @@ -127,6 +116,8 @@
visibility, business services, announcements and much more...
* **E-commerce:** TALL stack e-commerce shop. Stripe integration
* **Shop panel control** Have control over the shop products and orders straight from you admin panel.
* **Shop panel control** One Time Passwords (OTP) for an extra added layer of security.

<p align="right">(<a href="#about-the-project">back to top</a>)</p>

## Built With
Expand Down Expand Up @@ -244,7 +235,11 @@ php artisan storage:link
Don't forget to run `npm run dev` and `php artisan serve`
after the above commands are ran.
I use [Mailtrap](https://mailtrap.io/) for email testing. You can use whatever you like. If you want to
> [!NOTE]
>
> Don't forget to update your Mail settings to reflect your production server's needs
I use [Mailtrap](https://mailtrap.io/) for local email testing. You can use whatever you like. If you want to
use [Mailtrap](https://mailtrap.io/),
create an account and add the credentials to the `.env` file. If you are using [forge](https://forge.laravel.com/) you
can add the credentials to the server environment variables.
Expand Down Expand Up @@ -277,6 +272,9 @@ Here's a [youtube video](https://www.youtube.com/watch?v=vFwy-vB_d_k) on how to
If you are using [forge](https://forge.laravel.com/) you can add the credentials to the server environment variables.
<-- Shop -->
## Shop
Add the Stripe credentials:
```
STRIPE_KEY=your-stripe-key
Expand Down Expand Up @@ -364,8 +362,14 @@ and `view any` under the `Gallery` model permissions. Also give the `panel_user`
**If the above steps have been implemented, your newly created variant is ready for use throughout the app.**
> [!NOTE]
>
> **The App comes preloaded with some general variants and some tech variants. You should add the variant types that fit the type of store you're building.**
<!-- One Time Passwords -->
> [!Importnat]
>
>OTP is now available for an extra added layer of security. To enable OTP just got to your desired panels. The available panels are `AdminPanelProvider.php`, `CustomerPannelProvider.php` and `TeamPanelProvider.php`. If you're going to enable OTP is advisable to enable it on all panels but that depends on your app's needs.
<p align="right">(<a href="#about-the-project">back to top</a>)</p>
<!-- USAGE EXAMPLES -->
Expand Down
4 changes: 3 additions & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Providers\Filament;

use Afsakar\FilamentOtpLogin\FilamentOtpLoginPlugin;
use App\Filament\Widgets\UsersChartWidget;
use App\Filament\Widgets\UsersCountWidget;
use BezhanSalleh\FilamentShield\FilamentShieldPlugin;
Expand Down Expand Up @@ -80,11 +81,12 @@ public function panel(Panel $panel): Panel
UsersChartWidget::class
])
->plugins([
//FilamentOtpLoginPlugin::make(), // uncomment to enable one time passwords
GlobalSearchModalPlugin::make()
->slideOver()
->RetainRecentIfFavorite(true)
->associateItemsWithTheirGroups(),
// FilamentSpatieLaravelBackupPlugin::make(),
//FilamentSpatieLaravelBackupPlugin::make(),
ThemesPlugin::make(),
BreezyCore::make()
->myProfile(
Expand Down
2 changes: 2 additions & 0 deletions app/Providers/Filament/CustomerPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Providers\Filament;

use Afsakar\FilamentOtpLogin\FilamentOtpLoginPlugin;
use App\Filament\Customer\Widgets\BusinessHoursWidget;
use App\Filament\Customer\Widgets\ServicesWidget;
use App\Filament\Customer\Widgets\SocialsWidget;
Expand Down Expand Up @@ -71,6 +72,7 @@ public function panel(Panel $panel): Panel
]
)
->plugins([
// FilamentOtpLoginPlugin::make(), // uncomment to enable one time passwords
GlobalSearchModalPlugin::make()
->slideOver()
->RetainRecentIfFavorite(true)
Expand Down
2 changes: 2 additions & 0 deletions app/Providers/Filament/TeamPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Providers\Filament;

use Afsakar\FilamentOtpLogin\FilamentOtpLoginPlugin;
use App\Filament\Customer\Widgets\BusinessHoursWidget;
use App\Filament\Customer\Widgets\ServicesWidget;
use App\Filament\Customer\Widgets\SocialsWidget;
Expand Down Expand Up @@ -64,6 +65,7 @@ public function panel(Panel $panel): Panel
'business_hours' => BusinessHoursWidget::class,
])
->plugins([
// FilamentOtpLoginPlugin::make(), // uncomment to enable one time passwords
GlobalSearchModalPlugin::make()
->slideOver()
->RetainRecentIfFavorite(true)
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"php": "^8.2",
"ext-intl": "*",
"ext-pdo": "*",
"afsakar/filament-otp-login": "^1.3",
"aymanalhattami/filament-slim-scrollbar": "^2.0",
"bezhansalleh/filament-language-switch": "^3.0",
"bezhansalleh/filament-shield": "^3.2",
Expand Down
Loading

0 comments on commit 77703d3

Please sign in to comment.