Download the PHP package thinktomorrow/squanto without Composer
On this page you can find all versions of the php package thinktomorrow/squanto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thinktomorrow/squanto
More information about thinktomorrow/squanto
Files in thinktomorrow/squanto
Package squanto
Short Description Text manager for static laravel translations during and after development
License MIT
Homepage https://github.com/thinktomorrow/squanto
Informations about the package squanto
squanto
Manage the static translations of your Laravel application during and after development. Squanto, its name derived from one of the first Native Indian interpreters, is an opinionated way to manage the translations in database.
NOTE: This package is still in development and the api will be subject to change. That being said, please do try this package out as feedback is much appreciated!
Requirements
- php >= 7.4.7
- Laravel >= 8.0
Install
Via Composer
Setup
The service providers of the package will be discovered automatically by Laravel. Note that there are two providers: one general package service provider but also a separate one for the Manager browser UI.
Run the migrations. This will add a table called squanto_lines
to your database.
Next, publish the config file.
In the config, set the different locales you'll wish to maintain via squanto. Most of the other config settings are sensible defaults and should work fine.
Admin interface
routes
Add the following routes. These are the route definitions for viewing and editing the translations. Make sure you'll add the necessary authentication middleware.
Wysiswyg editor
The 'redactor' editor is required so you'll need to include the css and js assets. This is not provided since you'll need a licence.
Feel free to switch editors. The textareas that require a wysiwyg are assigned the redactor-editor
class.
Usage
The following console commands are available for the developer.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please email to [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of squanto with dependencies
illuminate/contracts Version ~9.11|~10.0
illuminate/database Version ~9.11|~10.0
illuminate/support Version ~9.11|~10.0
league/flysystem Version ~3.0
thinktomorrow/dynamic-attributes Version ^0.4.2
ext-json Version *