paragraph / laravel
Official Laravel package for Paragraph - a more productive way to manage your texts
dev-main
2023-02-01 04:22 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.0|^7.2
- hidehalo/nanoid-php: ^1.1
- illuminate/support: 5.*|^6.0|^7.0|^8.0|^9.0
- nikic/php-parser: ^4.11
Requires (Dev)
- larapack/dd: ^1.1
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-11-29 08:16:01 UTC
README
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