Download the PHP package sirthxalot/laravel-matryoshka without Composer

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

Laravel Matryoshka

Travis GitHub issues GitHub forks GitHub stars

Laravel-Matryoshka is a simple package for Laravel that provides Russian Doll caching for your view logic. It uses the "updated at" timestamp of the model, in order to automatic cache busting whenever the model is updated. Laravel-Matryoshka will extend your blade view logic in order to create caching segments, which can be managed separately.

Popularized in the Rails world, Russian Doll caching is an interesting approach, where you create nested fragment caches for your view logic. If you then link the keys for each of these cached items to the model's "updated at" timestamp, what you get is easy caching for your view logic, and automatic cache busting whenever the model is updated.

laravel-matryoshka

How to install?

Step-01: Composer

Use Composer from the command line and run:

Step-02: Service Provider

Open config/app.php, and add a new item to the providers array:

This will bootstrap the Laravel-Matryoshka package into your Laravel application.

Step-03: Setup Cache Driver

For this package to function properly, you must use a Laravel cache driver that supports tagging (like Cache::tags('foo')). Drivers such as Memcached and Redis support this feature.

Check your .env file, and ensure that your CACHE_DRIVER choice accommodates this requirement:

Have a look at Laravel's cache configuration documentation, if you need any further help.

Need Further Help

Please take a look at the official documentation, in order to receive further information about the Laravel-Matryoshka. It will guide you through all the basics and is the defacto educational resource specifically for any Laravel-Matryoshka beginner.

If you have a question, want to report any bug or have any other issue, than please do not hesitate to use the issue tracker. Here you will find any tickets, questions and many more, related to Laravel-Matryoshka.

Contributing

Yet just me helped to get Laravel-Matryoshka what it is today, so lets change this. Anyone and everyone is welcome to contribute, however, if you decide to get involved, please take a moment to review the guidelines:

License

The code is available under the MIT-License.


All versions of laravel-matryoshka with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^5.3
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 sirthxalot/laravel-matryoshka contains the following files

Loading the files please wait ....