Skip to content

ndeblauw/blue-admin

Repository files navigation

blue-admin, a custom admin backend

Latest Version on Packagist Total Downloads GitHub Actions

Documentation will follow once the pacakge becomes stable...

Installation

You can install the package via composer:

composer require ndeblauw/blue-admin

Or manually add the following line to composer.json for the legacy version:

  "ndeblauw/blue-admin": "^1.0",

or for the newest version

  "ndeblauw/blue-admin": "9999999-dev",

Installation in local development

Add to your composer.json

"repositories": {
    "blueadmin": {
        "type": "path",
        "url": "D:/HERD/blue-admin", // or whatever directory you use
        "options": {
            "symlink": true
        }
    }
},
"require": {
   ...
   "ndeblauw/blue-admin": "@dev", 
   ...
} 

Usage

When using vite, don't forget to add to tailwind.config.jsthe following line

export default {
    content: [
        // Existing paths
        './vendor/ndeblauw/blue-admin/resources/**/*.blade.php', // <-- ADD THIS
    ],

When using the Tinymceimage component, don't forget to add blueadmin/tinymce/upload to the $except list in the \App\Http\Middleware\VerifyCsrfToken.php middleware to make sure the image uploads will happen.

protected $except = [
  'blueadmin/tinymce/upload', // add this line
];

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The GNU GPLv3. Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.