Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincrozat committed Apr 5, 2023
1 parent 0ecdfe6 commit a8f48b9
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,37 @@
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/smousss/laravel-novalize/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/smousss/laravel-novalize/actions?query=workflow%3Arun-tests+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/smousss/laravel-novalize.svg?style=flat-square)](https://packagist.org/packages/smousss/laravel-novalize)

## Documentation
## Installation

Novalize for Laravel documentation is accessible here: https://smousss.com
Install the package via Composer:

## Credits
```bash
composer require smousss/laravel-novalize
```

Publish the config file:

```bash
php artisan vendor:publish --tag=novalize-config
```

## Usage

First, [generate a secret key](https://smousss.com/dashboard) on smousss.com.

Then, create a Nova resource based on your Post model:

```php
php artisan smousss:novalize App\\Models\\Post
```

Alternatively, create a Nova resource based on multiple models:

```php
php artisan smousss:novalize App\\Models\\Post App\\Models\\Comment
```

## Credit

Novalize for Laravel has been developed by [Benjamin Crozat](https://benjamincrozat.com) for [Smousss](https://smousss.com) ([Twitter](https://twitter.com/benjamincrozat)).

Expand Down

0 comments on commit a8f48b9

Please sign in to comment.