2017 © Pedro Peláez
 

library ajaxblade

Easy AJAX with blade

image

ghanem/ajaxblade

Easy AJAX with blade

  • Sunday, October 11, 2015
  • by ghanem
  • Repository
  • 2 Watchers
  • 8 Stars
  • 103 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

Easy AJAX with blade

Installation

First, pull in the package through Composer., (*1)

"require": {
    "ghanem/ajaxblade": "0.2.*"
}

or use., (*2)

composer require ghanem/ajaxblade

if using Laravel 5, include the service provider within config/app.php., (*3)

'providers' => [
    'Ghanem\Ajaxblade\AjaxbladeServiceProvider'
];

now run this comand:, (*4)

php artisan vendor:publish

Example

Within your controllers, before you perform a redirect..., (*5)

public function show()
{
    $articles = Article::orderBy('id', 'DESC')->Paginate(20);

    return view('home',compact('articles'));
}

this is home view :, (*6)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="//code.jquery.com/jquery.js"></script>
    <script src="{{ public_path('vendor/ajaxblade/ajaxblade.js') }}"></script>
</head>
<body>



@foreach ($users as user)
$user->name
@endforeach @ajaxblade($users)
</body> </html>

The Versions

11/10 2015

dev-master

9999999-dev

Easy AJAX with blade

  Sources   Download

MIT

The Requires

 

by abdullah-ghanem

laravel ajax blade

11/10 2015

0.2.2

0.2.2.0

Easy AJAX with blade

  Sources   Download

MIT

The Requires

 

by abdullah-ghanem

laravel ajax blade

11/10 2015

0.2.1

0.2.1.0

ajax blade for laravel

  Sources   Download

MIT

The Requires

 

by abdullah-ghanem