Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-backpack/theme-coreuiv4
UI for Backpack v6 that uses CoreUI v4 and Bootstrap v5.
https://github.com/laravel-backpack/theme-coreuiv4
Last synced: 3 days ago
JSON representation
UI for Backpack v6 that uses CoreUI v4 and Bootstrap v5.
- Host: GitHub
- URL: https://github.com/laravel-backpack/theme-coreuiv4
- Owner: Laravel-Backpack
- License: mit
- Created: 2023-03-17T09:42:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T16:55:54.000Z (14 days ago)
- Last Synced: 2024-12-24T02:48:12.902Z (10 days ago)
- Language: Blade
- Size: 132 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
- License: license.md
Awesome Lists containing this project
README
# Theme CoreUI v4
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Total Downloads][ico-downloads]][link-downloads]
[![The Whole Fruit Manifesto](https://img.shields.io/badge/writing%20standard-the%20whole%20fruit-brightgreen)](https://github.com/the-whole-fruit/manifesto)This package provides a Theme for the [Backpack for Laravel](https://backpackforlaravel.com/) administration panel, that uses [CoreUI v4](https://coreui.io/product/free-bootstrap-admin-template/) and implicitly Bootstrap v5. All esthetic customizations on top of CoreUI are done in separate CSS files, which can be easily edited if you don't like them.
The file structure inside this package is the same as CoreUI v2, which is the same as Backpack v3, v4 and v5. If you want to upgrade to Bootstrap v5 and a modern theme, but you've heavily customized your blade files... this theme will be the easiest to upgrade to.
## Screenshots
![CleanShot 2023-06-30 at 18 18 43](https://github.com/Laravel-Backpack/theme-coreuiv4/assets/1032474/ddc25a64-b4fb-4a5f-ad6a-c27b636ee664)
## Installing
### Automatic installation
Because this a 1st party theme, you can quickly install it using
```
php artisan backpack:require:theme-coreuiv4
```Alternatively, follow the manual installation process below.
## Manual installation
**Step 1.** Install via Composer
``` bash
composer require backpack/theme-coreuiv4
```**Step 2.** Go to `config/backpack/ui.php` and change your view namespace:
```diff
- 'view_namespace' => 'backpack::',
+ 'view_namespace' => 'backpack.theme-coreuiv4::',
```**Step 3. (Optional)** Publish the theme config file:
```bash
php artisan vendor:publish --tag="theme-coreuiv4-config"
```## Uninstalling
To uninstall this Backpack theme:
1. Remove the composer package. Eg. `composer remove backpack/theme-coreuiv4`
2. Delete the config file. Eg. `rm -rf config/backpack/theme-coreuiv4.php`
3. Install a new theme (eg. `php artisan backpack:require:theme-tabler`) or change the `view_namespace` in `config/backpack/ui.php` to the theme you want to be active.## Overriding
If you need to change a blade file in any way, you can easily copy-paste the file to your app, and modify that file any way you want. If you do that to the correct directory, your file will be used instead of the one in the package. But please keep in mind that you will NOT be getting any updates for that file.
The more files you copy-paste and customize, the more difficult it will be to upgrade to newer versions. So please avoid doing this too much.
```bash
# create the custom directory if it's not already there
mkdir -p resources/views/vendor/backpack/theme-coreuiv4# copy the blade file inside the folder we created above
cp -i vendor/backpack/theme-coreuiv4/src/resources/views/dashboard.blade.php resources/views/vendor/backpack/theme-coreuiv4/dashboard.blade.php
```## Change log
Changes are documented here on Github. Please see the [Releases tab](https://github.com/backpack/theme-coreuiv4/releases).
## Contributing
Please see [contributing.md](contributing.md) for a todolist and howtos.
## Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Cristian Tabacitu][link-author]
- [All Contributors][link-contributors]## License
This project was released under MIT, so you can install it on top of any Backpack & Laravel project. Please see the [license file](license.md) for more information.
[ico-version]: https://img.shields.io/packagist/v/backpack/theme-coreuiv4.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/backpack/theme-coreuiv4.svg?style=flat-square[link-packagist]: https://packagist.org/packages/backpack/theme-coreuiv4
[link-downloads]: https://packagist.org/packages/backpack/theme-coreuiv4
[link-author]: https://github.com/backpack
[link-contributors]: ../../contributors