Download the PHP package czim/laravel-pxlcms without Composer

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

Laravel PXL CMS Adapter

Latest Version on Packagist Build Status Latest Stable Version

PXL CMS Adapter for Laravel.

Version Compatibility

Laravel Package
5.1.x 1.1.x
5.2.x 1.2.x
5.3.x 1.3.x

Install

Via Composer

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

Publish the configuration:

Workflow

  1. Generate CMS content
  2. Install and set up new Laravel project and connect it to the CMS database
  3. Install this package
  4. Configure this package
  5. Run the generator: artisan pxlcms:generate

Using Models

Generated Models work, for the most part, exactly like normal Eloquent Models. This includes relationships, updating, eager loading and so forth. There are a few caveats:

Features and Traits

See the configuration file for ways to change or disable the above.

Images and Uploads

Image and File fields are set up as special relationships on the generated model. If you use the magic property for the relationship on the model, like so:

... then the image results will be enriched with information about resizes and the external URLs to the images or files.

Saving images will work, but will not affect resizes. Note that Laravel leaves you free to update the Image model's records with nonexistant files. Additionally, no resize files will be generated for any fresh images this way.

Note that this will work for translated images and uploads. Relationships will only return results for the current locale. The locale used may be overridden (generated model code allows this by default):

Slugs

A modified version of the Sluggable Eloquent model trait is used to handle slugs for the models that were 'sluggified' during model generation. This works mostly like the original Sluggify, with some exceptions:

Running the Generator

The code generator is run through the Artisan command: pxlcms:generate. It will analyze the database CMS content, if it can find it, and generate code based on the pxclms.php config file.

The following options are available:

To Do

Generator

Things NOT taken into account

Credits

License

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


All versions of laravel-pxlcms with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
illuminate/support Version ^5.3
illuminate/database Version ^5.3
czim/laravel-processor Version ^1.0
czim/dutch-helper Version ^1.0
watson/rememberable Version ^1.0
dimsav/laravel-translatable Version ~5.0
lookitsatravis/listify Version ^1.1
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/laravel-pxlcms contains the following files

Loading the files please wait ....