kusikusi/website

A description for website.

v8.0.8 2022-08-31 15:56 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

Software License Travis Total Downloads

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.