Download the PHP package czim/aalberts-pxlcms without Composer

On this page you can find all versions of the php package czim/aalberts-pxlcms. 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 aalberts-pxlcms

Aalberts Laravel PXL CMS Adapter

Nothing to see here for now. See the PXLCMS adapter package for more information.

Install

Via Composer

Add this line of code to the providers array located in your config/app.php file:

And add the facade aliases to the same file:

Publish the configuration:

Set up event listening for missing translation phrases. Add the following pair to your EventServiceProvider class:

Cache

This package requires that a cache driver be used that supports tagging (such as Redis).

Configuration

.env

Set the following keys for your application in the .env file like so (or adjust confing/aalberts.php directly).

Scheduling

Translations, CMS content and Compano content are all cached for common lookups. All translations should be loaded in cache at all times; other content may be cached on demand.

A typical schedule for this in your Console/Kernel.php is:

Translations

Labels

It is much more efficient to keep all translations cached, to prevent lookups for individual atrans() calls. Translations are not automatically cached, at least not in a batch.

To make sure the cache stays up to date, schedule the artisan:cache:translations command to run periodically. It is recommended to keep the interval at least 5 minutes or to prevent overlap. The command will check whether a cache is required by comparing the latest modifiedts date for all the organization's translations. If no updates since the last cache time are detected, the cache will not be renewed.

If no cache has been set at all, this command will always fill the cache.

Local translations

Add aalberts translations files for all locales that your application uses and set content like the following:

This will be used by the StandardDateFormatter.

Usage

Run the generator to make the models and repositories:

This command works exactly like the czim/laravel-pxlcms package pxlcms:generate command.

Presenters

Some models have presenters from the Laracasts presenter package.

ToDo: add support for this to the package

Translation

Note that the Translator expects the generated Phrase and Translation classes to be in App\Models\Aalberts. Anywhere else will break the built-in Translator class.

Filters

Adding a Filter

Things to update:

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of aalberts-pxlcms with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version 5.*
illuminate/database Version 5.*
czim/laravel-dataobject Version ^1.0
czim/laravel-filter Version ^1.0
czim/laravel-pxlcms Version ^1.0
czim/laravel-listify Version ^0.9
laracasts/presenter Version ^0.2
myclabs/php-enum Version ^1.4
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 czim/aalberts-pxlcms contains the following files

Loading the files please wait ....