Skip to content

Commit b6bbb29

Browse files
committed
update readme
1 parent bb1b23c commit b6bbb29

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ This is a Laravel package for translatable models. Its goal is to remove the com
1919

2020
The full documentation can be found at [GitBook](https://docs.astrotomic.info/laravel-translatable).
2121

22+
## Installation
23+
24+
```bash
25+
composer require astrotomic/laravel-translatable
26+
```
27+
2228
## Quick Example
2329

2430
### **Getting translated attributes**
@@ -66,6 +72,24 @@ echo $post->translate('fr')->title; // Mon premier post
6672
* [How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application](https://mydnic.be/post/how-to-build-an-efficient-and-seo-friendly-multilingual-architecture-for-your-laravel-application)
6773
* [How to Add Multi-Language Models to Laravel QuickAdminPanel](https://quickadminpanel.com/blog/how-to-add-multi-language-models-to-laravel-quickadminpanel/)
6874

75+
## Changelog
76+
77+
Please see [CHANGELOG](docs/changelog.md) for more information on what has changed recently.
78+
79+
## Contributing
80+
81+
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
82+
83+
### Security
84+
85+
Please see [SECURITY](SECURITY.md) for details.
86+
87+
## Credits
88+
89+
- [Tom Witkowski](https://github.com/Gummibeer)
90+
- [Dimitrios Savvopoulos](https://github.com/dimsav)
91+
- [All Contributors](https://github.com/Astrotomic/laravel-translatable/graphs/contributors)
92+
6993
## Versions
7094

7195
| Package | Laravel | PHP |

docs/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
This is a Laravel package for translatable models. Its goal is to remove the complexity in retrieving and storing multilingual model instances. With this package you write less code, as the translations are being fetched/saved when you fetch/save your instance.
1010

11+
## Installation
12+
13+
```bash
14+
composer require astrotomic/laravel-translatable
15+
```
16+
1117
## Quick Example
1218

1319
### Getting translated attributes
@@ -55,6 +61,12 @@ echo $post->translate('fr')->title; // Mon premier post
5561
* [How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application](https://mydnic.be/post/how-to-build-an-efficient-and-seo-friendly-multilingual-architecture-for-your-laravel-application)
5662
* [How to Add Multi-Language Models to Laravel QuickAdminPanel](https://quickadminpanel.com/blog/how-to-add-multi-language-models-to-laravel-quickadminpanel/)
5763

64+
## Credits
65+
66+
- [Tom Witkowski](https://github.com/Gummibeer)
67+
- [Dimitrios Savvopoulos](https://github.com/dimsav)
68+
- [All Contributors](https://github.com/Astrotomic/laravel-translatable/graphs/contributors)
69+
5870
## Versions
5971

6072
| Package | Laravel | PHP |

0 commit comments

Comments
 (0)