Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felice ostuni committed Jul 26, 2018
1 parent d142628 commit c80621b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@ Nothing to "generate", just some classes to let you develop and maintain CRUD ba

![rapyd laravel](https://raw.github.com/zofe/rapyd-laravel/master/public/assets/rapyd-laravel.png)

## A couple of minutes of your time

I came from an era where there was mutual appreciation among programmers, I would like to use two minutes of your time to recognize my usefulness and my experience on linkedin, if you use this library and benefit from it.. please link-me and write a short review.
Thanks to Mihai Berende for having done it already
[me@linkedin](https://www.linkedin.com/in/feliceostuni/)

## Install in Laravel 5.6, .. 5.2, 5.1, 5.0, 4.*


require the packege in your Laravel >= 5.6
require the package in your Laravel >= 5.6
`$ composer require zofe/rapyd`

then publish assets:
Expand All @@ -39,12 +35,17 @@ you can also require a specific version:
`zofe/rapyd:"2.0.*"` for Laravel 5.0



note: for Laravel <=5.4 you need to add the provider in your config/app.php:

`Zofe\Rapyd\RapydServiceProvider::class`


## A couple of minutes of your time before you start

I came from an era where there was mutual appreciation among programmers, if you use this library and benefit from it join-me on Linkedin and write a short review.
Thanks to Mihai Berende for having done it already
[me@linkedin](https://www.linkedin.com/in/feliceostuni/)

## DataSet

DataSet is a simple presenter, it build a super-collection, a pagination and orderby links.
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": ">=5.6.0",
"php": ">=7.1",
"illuminate/support": "~5.6",
"laravelcollective/html": "~5.6",
"intervention/image": "2.4.2",
Expand All @@ -33,5 +33,11 @@
"Zofe\\Rapyd\\RapydServiceProvider"
]
}
},
"require-dev": {
"laravel/framework": "5.6.*",
"orchestra/testbench": "3.6.*",
"phpunit/phpunit": "7.*",
"php-coveralls/php-coveralls": "^1.0"
}
}
4 changes: 2 additions & 2 deletions src/RapydServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public function boot()


$this->publishes([
__DIR__.'/routes.php' => base_path('/routes/rapyd.php'),
__DIR__.'/routes.php' => base_path().'/routes/rapyd.php',
], 'routes');


$this->loadRoutesFrom(base_path('/routes/rapyd.php'));
$this->loadRoutesFrom(base_path().'/routes/rapyd.php');


if (! $this->app->routesAreCached()) {
Expand Down

0 comments on commit c80621b

Please sign in to comment.