# Speed Admin

**A rapid application development framework** for Laravel 8+. It has built-in Users Management with Roles and Permissions. It speeds up the development of CRUD functionality (adding data tables and forms).

## Quickly create Forms and Grids:

Easy to create data tables (grid)

![Easy to create datatables (grid)](/files/-McfqJ4GSHbZl_adU15w)

Easy to add Forms with **translations support**

![Easy to add Forms with translations support](/files/-Mcfs03oCQF86XOy3LeB)

## Installation

Install via composer

```bash
composer require muhammad-inaam-munir/speed-admin
```

### Publish package config file and assets

```bash
php artisan vendor:publish --tag=speed-admin-config
php artisan vendor:publish --tag=speed-admin-public
```

### Add alias in app.php (Optional):

```php
'SpeedAdminHelpers' => MuhammadInaamMunir\SpeedAdmin\Facades\SpeedAdminHelpersFacade::class,
```

### Run following commands

```bash
php artisan migrate
php artisan config:cache
php artisan config:clear
php artisan clear-compiled
composer dump-autoload
```

### Autoloading Applications/Modules (nwidart/modules)

Update composer.json to autoload modules. Add `"Modules\": "Modules/"` as shown below in psr-4.

{% code title="composer.json" %}

```bash
{
  "autoload": {
    "psr-4": {
      "App\\": "app/",


      "Modules\\": "Modules/"
    }
  }
}
```

{% endcode %}

### Run the following command to create the admin user

The following command will create admin user username: **<admin@admin.com>** and password: **admin**.

```bash
php artisan speed-admin:create-admin-user
```

### Visit admin page:

Visit `http://localhost:8000/admin` if you are running server through `php artisan serve` or you can directly visit `http://localhost/project_folder/public/admin`. Use the above credentials to log in.

## Credits: thanks to the following packages

* spatie/laravel-translatable
* coreui

## License

MIT


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://minaammunir.gitbook.io/speed-admin/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
