Download the PHP package hettiger/larawire without Composer

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

LaraWire

This package is intended to merge Laravel with ProcessWire to get the best of both worlds!

Be aware: This package is work in progress!


Installation

The installation instructions might seem a bit unfamiliar to you but are required as there is no composer package of processwire. Also the releases on GitHub are off so I've forked the original package maintaining the releases myself. I hope you understand that I refuse to put a fork on packagist.

Open your composer.json file and add the following block right above the require section:

Now append the require section with following packages:

Run a composer update in your terminal:

After updating composer, add the ServiceProvider to the providers array in app/config/app.php

You can now install larawire, to merge Laravel with ProcessWire using your terminal:

Follow the instructions prompted by your terminal.

What's next?

You are able to require public/laravel.php in your template files now. Just think a second about it. This gives you a lot of power ...

Example 1

  1. Create a template file for your 404-Error-Page
  2. Require public/laravel.php in your new template file
  3. Use Laravel to take care of 404-Error's
  4. Feel free to use Laravel the way you're used to
  5. Be aware that ProcessWire URL's can "overwrite" Laravel's routes
  6. Enjoy full access to ProcessWire's API within Laravel

Example 2

  1. Create a "Laravel" template file
  2. Require public/laravel.php in your new template file
  3. Use your new "Laravel" template file for each template that should be "Laravel powered"
  4. Generate routes in Laravel using ProcessWire Selectors (template=name)
  5. Feel free to use Laravel the way you're used to
  6. Enjoy full access to ProcessWire's API within Laravel

Example 3

  1. Mix Example 1 and Example 2
  2. Go crazy :-)

Future

Pull Requests / any form of help are very welcome.


All versions of larawire with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version 4.2.*
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 hettiger/larawire contains the following files

Loading the files please wait ....