https://github.com/agilasadi/wire
Admin Panel for Laravel Applications
https://github.com/agilasadi/wire
admin admin-panel laravel laravel-applications php
Last synced: 6 months ago
JSON representation
Admin Panel for Laravel Applications
- Host: GitHub
- URL: https://github.com/agilasadi/wire
- Owner: agilasadi
- License: mit
- Created: 2019-08-11T08:53:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-04T17:06:22.000Z (almost 4 years ago)
- Last Synced: 2025-07-26T17:43:57.840Z (11 months ago)
- Topics: admin, admin-panel, laravel, laravel-applications, php
- Language: Blade
- Size: 1.2 MB
- Stars: 9
- Watchers: 0
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Wire
###### Admin Panel for Laravel Applications
Install The package By running
```
composer require rapkit/wire
```
Once the package is installed you need to publish it by running the following command:
```
php artisan vendor:publish --provider="Rapkit\Wire\WireServiceProvider"
```
You will also need to register a service provider that has been published to modify some of the functionalities of Wire.
Either register it in **config/app.php**
```
App\Providers\WireServiceProvider::class,
```
If you register it inside `config/app.php` make sure to clear config cache with `php artisan config:clear`
or inside register method of AppServiceProvider:
```
$this->app->register(WireServiceProvider::class);
```
To create an **identifier** run:
```
php artisan wire:identifier User
```
An `identifier` is where you place your Model parameter to be used within **wire**.
**User**, in this case, is your Model name.
Identifiers will be located in `App\Wire\Identifiers`
If your model is located in an unusall Path,
you can configure that in `config\wire.php` by updating:
```
'model_path' => 'App\\',
```
___
When an identifier was created, Wire will automatically cache it to show in the menu, but if you would like to specifically cache each identifier that you would like to show in the menu, you can run:
```
php artisan identifier:cache --User
```
If you run `php artisan identifier:cache` with no Identifier name, then it will cache all of the identifiers.
You can remove identifier list with `php artisan cache:clear` command of laravel.
Fields for given identifier will be loaded when it's created, if there is no such model or table at time of creation, you can run ` php artisan identifier:load User`, but if the table content is changed after the creation you can run
```
php artisan identifier:load User --f
```
Refer to https://github.com/rapkit/wire/wiki/Fields for more information about fields