Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,29 @@ The main configuration file `config/buildora.php` contains:
### Navigation Structure
```php
'navigation' => [
// Link to a Buildora resource
[
'label' => 'Users',
'icon' => 'fas fa-user',
'route' => 'buildora.index',
'params' => ['resource' => 'user'],
],

// Link to an external URL
[
'label' => 'Documentation',
'icon' => 'fas fa-book',
'url' => 'https://docs.example.com',
],

// Link to a custom Laravel route
[
'label' => 'Back to site',
'icon' => 'fas fa-home',
'url' => '/',
],

// Nested navigation with children
[
'label' => 'Settings',
'icon' => 'fas fa-cog',
Expand All @@ -335,12 +358,24 @@ The main configuration file `config/buildora.php` contains:
'route' => 'buildora.index',
'params' => ['resource' => 'user'],
],
[
'label' => 'Permissions',
'icon' => 'fas fa-lock',
'route' => 'buildora.index',
'params' => ['resource' => 'permission'],
],
],
],
'include_resources' => true, // Auto-include all resources

'include_resources' => true, // Auto-include all resources not manually defined
],
```

Navigation items support:
- `route` + `params`: Link to a named Laravel route
- `url`: Direct URL (internal or external)
- `children`: Nested dropdown menu

---

## 14. All Available Commands
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
"livewire/livewire": "^3.0",
"maatwebsite/excel": "^3.1",
"pragmarx/google2fa": "^8.0",
"spatie/laravel-permission": "^6.16"
"spatie/laravel-permission": "^6.16",
"binarytorch/larecipe": "^2.0"
},
"extra": {
"buildora-version": "1.0.36",
"buildora-version": "1.0.37",
"laravel": {
"providers": [
"Ginkelsoft\\Buildora\\Providers\\BuildoraServiceProvider"
Expand Down
12 changes: 12 additions & 0 deletions config/buildora.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@
],

'include_resources' => true,

[
'label' => 'Buildora',
'icon' => 'fas fa-cog',
'children' => [
[
'label' => 'Settings',
'icon' => 'fas fa-sliders',
'route' => 'buildora.settings',
],
],
],
],

/*
Expand Down
98 changes: 98 additions & 0 deletions config/larecipe.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?php

return [
/*
|--------------------------------------------------------------------------
| Documentation Routes
|--------------------------------------------------------------------------
|
| These options configure the documentation routes.
|
*/

'docs' => [
'route' => '/buildora/docs',
'path' => '/resources/docs',
'landing' => 'index',
'middleware' => ['web'],
],

/*
|--------------------------------------------------------------------------
| Documentation Versions
|--------------------------------------------------------------------------
|
| Here you can define the available documentation versions.
|
*/

'versions' => [
'default' => '1.0',
'published' => [
'1.0',
],
],

/*
|--------------------------------------------------------------------------
| Documentation Settings
|--------------------------------------------------------------------------
|
| Configure documentation behavior.
|
*/

'settings' => [
'auth' => false,
'ga_id' => '',
'middleware' => [],
'edit_on_github' => [
'enabled' => true,
'repo' => 'https://github.com/ginkelsoft/buildora',
'branch' => 'main',
],
],

/*
|--------------------------------------------------------------------------
| Appearance
|--------------------------------------------------------------------------
|
| Configure the appearance of the documentation.
|
*/

'ui' => [
'code_theme' => 'dark',
'fav' => '',
'fa_v4_shims' => true,
'show_side_bar' => true,
'colors' => [
'primary' => '#667eea',
'secondary' => '#e8f4f8',
],
'theme_order' => null,
],

/*
|--------------------------------------------------------------------------
| SEO
|--------------------------------------------------------------------------
|
| Configure SEO settings.
|
*/

'seo' => [
'author' => 'Ginkelsoft',
'description' => 'Buildora - Laravel Admin Panel Package Documentation',
'keywords' => 'laravel, admin panel, crud, buildora, datatables',
'og' => [
'title' => 'Buildora Documentation',
'type' => 'website',
'url' => '',
'image' => '',
'description' => 'Buildora - Laravel Admin Panel Package Documentation',
],
],
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "buildora",
"version": "1.0.36",
"version": "1.0.37",
"description": "Buildora resource engine",
"main": "index.js",
"scripts": {
Expand Down
Loading
Loading