Download the PHP package pwweb/localisation without Composer

On this page you can find all versions of the php package pwweb/localisation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package localisation

Laravel Localisation Package

Version Downloads Scrutinizer Code Quality StyleCI License: MIT

Localisation: C3P0 for Laravel. Take a look at contributing.md to see a to do list.

Installation

Via Composer run the following:

Pre-requisites

The package assumes a standard Laravel installation if the bundled default contollers for the entities are to be used. The bundled controllers extend from App\Http\Controllers\Controller. If other, custom base controllers are used as part of the installation, refer to Customizing.

Configuration

Customizing

The package provides the following tags for publishing individual components for customizing:

Tag Description
pwweb.localisation.config Publish the configuration files to e.g. adjust database table names.
pwweb.localisation.migrations Publish the migration file(s) to make alterations to the database tables.
pwweb.localisation.language Publish the language files to make adjustments to the translation strings.
pwweb.localisation.views Publish the view files to make adjustments to the overall structure of the views.

Default and Fallback Language

It is recommended to change your app.php to use both the ISO-639-1 ISO Language Code as well as the ISO-3166 ISO Country Code. This can be achieved by changing the following two variables:

Usage

Addresses

The package provides a trait HasAddresses which can be used to allow models to be associated with addresses.

Language Switcher

The localisation package provides a language switcher that can easily be added to blade templates as follows (note: the <div> is exemplary):

GraphQL

The package provides a graphql.schema file for use within your parent project. This can be included in your primary schema file as follows:

Note: don't forget to update the vendor path should yours be in a different location, relative to your primary schema file.

FAQs

During install via composer you get the following messages:

This is due to the command php artisan config:cache has been run. We suggest you delete the cache file bootstrap/cache/config.php and then run composer dump-autoload to be sure.

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please use the issue tracker.

Credits

License

Copyright © pw-websolutions.com. Please see the license file for more information.


All versions of localisation with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3.7
laravel/framework Version ^7.3.0
laracasts/flash Version ^3.0
pwweb/laravel-core Version ^0.1.0-beta
fzaninotto/faker Version ^1.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pwweb/localisation contains the following files

Loading the files please wait ....