akkurateio / laravel-core
Core logic for Akkurate Ecosystem
Requires
- akkurateio/laravel-auth: ^0.1
- akkurateio/laravel-carbon-icons: ^0.1
- akkurateio/laravel-contact: ^0.1
- akkurateio/laravel-media: ^0.1
- akkurateio/laravel-search: ^0.1
- cviebrock/eloquent-sluggable: ^8.0
- kris/laravel-form-builder: ^1.40
- spatie/laravel-json-api-paginate: ^1.7
- spatie/laravel-permission: ^3.0
- spatie/laravel-query-builder: ^2.8
- webpatser/laravel-uuid: ^3.0
Requires (Dev)
- doctrine/dbal: ^3.0
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
Using this package you can easily get Akkurate's interfaces. Here are centralized classes (traits, formulaires ...) that can be called by the other Akkurate packages.
Installation
This package can be installed through Composer.
composer require akkurate/laravel-core
Optionally, you can publish the dashboard view with this command:
php artisan vendor:publish --tag="dashboard"
You can publish as well the config file with this command:
php artisan vendor:publish --provider="Akkurate\LaravelCore\LaravelCoreServiceProvider" --tag="config"
The following files will be published in the config folder of your app : general.php
, reference
and laravel-core
.
Now to deploy the core installation process, you have to through this command:
php artisan core:install
Laravel Admin
Module for managing accounts, users, languages, countries and preferences for Laravel projects.
Optionally, you can publish the config file with this command:
php artisan vendor:publish --provider="Akkurate\LaravelCore\Providers\LaravelAdminServiceProvider" --tag="config"
Laravel Access
Module for managing roles and permissions.
If you want to overwrite the config file:
php artisan vendor:publish --provider="Akkurate\LaravelCore\Providers\LaravelAccessServiceProvider" --tag="config"
Laravel Me
Module for managing the user profile.
If you want to overwrite the config with:
php artisan vendor:publish --provider="Akkurate\LaravelCore\Providers\LaravelMeServiceProvider" --tag="config"
If you want to overwrite the users delete partial:
php artisan vendor:publish --provider="Akkurate\LaravelCore\Providers\LaravelMeServiceProvider" --tag="user-partials"
If you want to publish all the views:
php artisan vendor:publish --provider="Akkurate\LaravelCore\Providers\LaravelMeServiceProvider" --tag="views"
Tests
At the root of the locally installed package:
composer install
composer test