Skip to content

Commit

Permalink
Rename namespaces to Outl1ne
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Apr 29, 2022
1 parent 24764f5 commit 6152881
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Optimist Digital <[email protected]>
Copyright (c) 2022 Outl1ne <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Nova Translations Loader

[![Latest Version on Packagist](https://img.shields.io/packagist/v/optimistdigital/nova-translations-loader.svg?style=flat-square)](https://packagist.org/packages/optimistdigital/nova-translations-loader)
[![Total Downloads](https://img.shields.io/packagist/dt/optimistdigital/nova-translations-loader.svg?style=flat-square)](https://packagist.org/packages/optimistdigital/nova-translations-loader)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/outl1ne/nova-translations-loader.svg?style=flat-square)](https://packagist.org/packages/outl1ne/nova-translations-loader)
[![Total Downloads](https://img.shields.io/packagist/dt/outl1ne/nova-translations-loader.svg?style=flat-square)](https://packagist.org/packages/outl1ne/nova-translations-loader)

This [Laravel Nova](https://nova.laravel.com/) package helps developers load translations into their packages.

Expand All @@ -16,15 +16,15 @@ This [Laravel Nova](https://nova.laravel.com/) package helps developers load tra
Install the package in a Laravel Nova project via Composer:

```bash
composer require optimistdigital/nova-translations-loader
composer require outl1ne/nova-translations-loader
```

## Usage

Inside a Laravel's `ServiceProvider`, use the `LoadsNovaTranslations` trait and call `$this->loadTranslations()`:

```php
use OptimistDigital\NovaTranslationsLoader\LoadsNovaTranslations;
use Outl1ne\NovaTranslationsLoader\LoadsNovaTranslations;

class SomePackagesServiceProvider extends ServiceProvider
{
Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "optimistdigital/nova-translations-loader",
"name": "outl1ne/nova-translations-loader",
"description": "This Laravel Nova package helps developers load translations into their packages.",
"keywords": [
"laravel",
"nova",
"translations",
"optimistdigital"
"optimistdigital",
"outl1ne"
],
"license": "MIT",
"require": {
"php": ">=8.0",
"laravel/framework": "^9.0",
"laravel/framework": "^8.0|^9.0",
"laravel/nova": "^4.0"
},
"autoload": {
"psr-4": {
"OptimistDigital\\NovaTranslationsLoader\\": "src/"
"Outl1ne\\NovaTranslationsLoader\\": "src/"
}
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion src/LoadsNovaTranslations.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OptimistDigital\NovaTranslationsLoader;
namespace Outl1ne\NovaTranslationsLoader;

use Exception;
use Laravel\Nova\Nova;
Expand Down

0 comments on commit 6152881

Please sign in to comment.