Installation
Installation
- Install the package via composer:
bash
composer require qore-works-business/qore-admin-base- Run the artisan install script to install the qore-admin-base including Filament and all default packages.
bash
php artisan qore-admin-base:installOptionally, you can use and run the provided seeders in your project. Note: This will overwrite your DatabaseSeeder.php file.
bash
php artisan vendor:publish --tag="qore-admin-base-seeders" --force
php artisan db:seedOptionally, you can publish the translations with:
bash
php artisan vendor:publish --tag="qore-admin-base-translations"Optionally, you can publish the views with:
bash
php artisan vendor:publish --tag="qore-admin-base-views"Requirements
The qore-admin-base package requires a fresh Laravel installation. One way to create new Laravel project, is running:
bash
composer create-project laravel/laravel project-nameAlso the private repository should be added to your composer.json file.
json
"repositories": [
{
"type": "composer",
"url": "https://dolphiq.repo.packagist.com/packages/"
}
]And configure your environment to make use of the right Database connection.
dotenv
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=database_name
DB_USERNAME=db
DB_PASSWORD=db@123Setup common packages to install
shell
composer remove phpunit/phpunit --dev --no-update
composer require barryvdh/laravel-ide-helper itsgoingd/clockwork larastan/larastan pestphp/pest pestphp/pest-plugin-laravel pestphp/pest-plugin-livewire qore-works-business/pest-plugin-qore --no-update --dev
composer update
php ./vendor/bin/pest --init