-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
98 changed files
with
2,582 additions
and
1,239 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
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
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
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
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,21 @@ | ||
# Developing Add-ons | ||
|
||
When creating add-on packages for Lunar you may wish to add new screens and functionality to the Filament panel. | ||
|
||
To achieve this you will want to create a Filament plugin in your package. With Filament plugins you can add additional | ||
resources, pages and widgets. See https://filamentphp.com/docs/3.x/panels/plugins for more information. | ||
|
||
## Registering Filament plugins | ||
|
||
Add-on packages should not try to register a Filament plugin automatically in the Lunar panel. Instead, installation | ||
instructions should be provided. | ||
|
||
Below is an example of how a plugin should be registered to the Lunar admin panel, typically in your Laravel app | ||
service provider. | ||
|
||
```php | ||
use Lunar\Admin\Support\Facades\LunarPanel; | ||
|
||
LunarPanel::panel(fn($panel) => $panel->plugin(new ReviewsPlugin())) | ||
->register(); | ||
``` |
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
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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,15 +1,20 @@ | ||
# Introduction | ||
|
||
::: danger Work In Progress | ||
This package is very much in-development. It is incomplete and not production ready. | ||
::: | ||
|
||
Lunar's admin panel is powered by Filament v3. It allows you to easily extend the admin panel to suit your project. | ||
|
||
With the panel you can administer your products, collections, orders, customers, discounts, settings and much more. | ||
|
||
## Work In Progress (WIP) | ||
|
||
This package is very much in-development. It is incomplete and not production ready. | ||
|
||
## Contributing | ||
|
||
If you wish to contribute to the project, please review the project at https://github.com/orgs/lunarphp/projects/8/views/8 | ||
If you wish to contribute to the project, please review the roadmap at https://github.com/orgs/lunarphp/projects/8/views/8 | ||
|
||
You can request to contribute on an issue in the backlog, or you can propose a new issue. | ||
|
||
::: tip | ||
Here's a guide on how to set-up your development environment ready for contributing to Lunar. | ||
[Setting Up Lunar For Local Development](/core/local-development) | ||
::: |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.