laravel maintained by paragraph
Description
Official Laravel package for Paragraph - a more productive way to manage your texts
Author
Last update
2023/02/01 05:22
(dev-main)
License
Downloads
459
Tags
laravel
Paragraph official Laravel package
Installation
The easiest way to install Paragraph Laravel package is by using Composer:
$ composer require paragraph/laravel
It's almost ready, just copy & paste your Paragraph project ID and API key in your .env file:
PARAGRAPH_PROJECT_ID=XXX
PARAGRAPH_API_KEY=YYY
Commands
To download the latest texts run:
$ php artisan paragraph:download-texts
To parse all language files and Blade templates so that existing texts can be discovered, run:
$ php artisan paragraph:init
Creating an account
Sign up for a free account on https://paragraph.ph
Tutorials
Detailed tutorials explaining how to localize Laravel application are available in our blog https://paragraph.ph/blog