-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
60e103b
commit b066921
Showing
3 changed files
with
45 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,52 @@ | ||
# Seamless Admin Panel | ||
|
||
A seamless django like admin panel setup for Laravel | ||
A seamless Django-like admin panel setup for Laravel. Simple, non-cms table manager for admins. | ||
|
||
--- | ||
## Installation steps | ||
|
||
To publish assets run | ||
1. Require the Package | ||
|
||
Run the following command to install the package into your Laravel application: | ||
|
||
```shell | ||
composer require advaith/seamless-admin | ||
``` | ||
|
||
2. Publish assets and config files with: | ||
|
||
```shell | ||
php artisan vendor:publish --provider="Advaith\SeamlessAdmin\SeamlessAdminServiceProvider" --tag="assets" | ||
php artisan vendor:publish --provider="Advaith\SeamlessAdmin\SeamlessAdminServiceProvider" | ||
``` | ||
|
||
This will create a `seamless.php` configuration file within your config folder. This will also publish all the assets | ||
related to this package. | ||
|
||
**Note**: If you find the UI or the admin functionalities are not working properly after a `composer update`, run this | ||
command again with the flag `--tag="assets"` to republish the assets. This will override the existing assets with the new ones. | ||
|
||
## Usage | ||
|
||
Use the provided trait, `SeamlessAdmin`, in any of your models to get started with the package. Example: | ||
|
||
```php | ||
<?php | ||
|
||
namespace App\Models; | ||
|
||
use Advaith\SeamlessAdmin\Traits\SeamlessAdmin; | ||
... | ||
|
||
class Post extends Model | ||
{ | ||
use SeamlessAdmin; | ||
... | ||
} | ||
``` | ||
|
||
Et Voila! That's all you have to do to get started. Visit `/admin` to access the admin dashboard after logging in. | ||
|
||
![](Screenshot.png) | ||
|
||
## Configuration | ||
|
||
More configuration options will be added soon. For requesting a new feature, create a new issue with the label `feature-request`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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