kusikusi / website
A description for website.
Installs: 122
Dependents: 1
Suggesters: 2
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- illuminate/support: ^7.0|^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
Suggests
- kusikusi/models: Please be sure to install kusikusi/models in this project also
This package is auto-updated.
Last update: 2024-10-29 05:54:05 UTC
README
This is a read-only repository, splitted from the monorepo at github.com/cuatromedios/kusikusi-monorepo
For the Laravel starter kit visit github.com/cuatromedios/kusikusi
Install
This package complements kusikusi/models package, that should be required first.
composer require kusikusi/website:dev-master
Usage
Publish the assets
-
Publish all the assets ...
php artisan vendor:publish --provider="Kusikusi\WebsiteServiceProvider"
-
Or Publish individual Assets
Configuration
php artisan vendor:publish --provider="Kusikusi\WebsiteServiceProvider" --tag="config"
HtmlController
php artisan vendor:publish --provider="Kusikusi\WebsiteServiceProvider" --tag="controller"
Migrations
php artisan migrate
Seeds
An administrator user
php artisan db:seed --class=AdminSeeder
One of the website templates
php artisan db:seed --class=EmptyWebsiteSeeder
php artisan db:seed --class=BlogSeeder
Routes
This Kusikusi Website Package, has a "catch-all" route. As this route may interfere with other application routes, this should not be automatically loaded. So, you will need to:
In your composer.json
file, define it as not-discover:
{ "extra": { "laravel": { "dont-discover": [ "kusikusi/website" ] } } }
In your application config/app.php
configuration file, add the provider at the end of the providers array
[ Kusikusi\WebsiteServiceProvider::class, ];
Testing
Run the tests with:
vendor/bin/phpunit
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
Security
If you discover any security-related issues, please email dev@cuatromedios instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.