An open API service indexing awesome lists of open source software.

https://github.com/efficiently/laravel_larasset_app

Laravel 4.2, 5.0, 5.1, 5.2 & 5.3 demo application with Larasset package
https://github.com/efficiently/laravel_larasset_app

Last synced: 8 months ago
JSON representation

Laravel 4.2, 5.0, 5.1, 5.2 & 5.3 demo application with Larasset package

Awesome Lists containing this project

README

          

Init Laravel with [Larasset](https://github.com/efficiently/larasset) demo application
===========================================

[![Build Status](https://travis-ci.org/efficiently/laravel_larasset_app.svg?branch=master)](https://travis-ci.org/efficiently/laravel_larasset_app)

This demo will show you how to give to your Laravel application some Ajax requests quickly and easily!

Prerequisites
-------------

You must [install Node.js](http://nodejs.org) on your computer (development environment only).

Larasset package is **only** compatible with **PHP >= 5.4**.

Installation
------------

1. Get a copy of this demo on your computer

```sh
git clone https://github.com/efficiently/laravel_larasset_app.git
cd laravel_larasset_app/
composer install
```

2. Install the Node.js module of this package

```sh
npm install -g larasset-js
```

3. Run your Laravel application and the assets servers

```sh
php artisan server
```

Then open this URL in your Web browser: [http://localhost:8000/messages](http://localhost:8000/messages)

You can read how this demo was build [HERE](https://github.com/efficiently/larasset/wiki/Server-generated-JavaScript-Responses).