Browse Source

Init Package

tags/0.1.0
Nafies Luthfi 8 years ago
commit
6908cf3489
  1. 2
      .gitignore
  2. 11
      .travis.yml
  3. 21
      LICENSE
  4. 24
      composer.json
  5. 16
      phpunit.xml
  6. 19
      readme.md

2
.gitignore

@ -0,0 +1,2 @@
/vendor
composer.lock

11
.travis.yml

@ -0,0 +1,11 @@
language: php
php:
- 7.0
- 7.1
before_script:
- travis_retry composer install --prefer-source --no-interaction
script:
- phpunit tests

21
LICENSE

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2017 Nafies Luthfi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

24
composer.json

@ -0,0 +1,24 @@
{
"name": "luthfi/simple-crud-generator",
"description": "A simple CRUD generator for Laravel 5.4.",
"license": "MIT",
"authors": [
{
"name": "Nafies Luthfi",
"email": "nafiesl@gmail.com"
}
],
"autoload": {
"psr-4": {
"Luthfi\\CrudGenerator\\": "src/"
}
},
"minimum-stability": "dev",
"require": {
"php": ">=7.0",
"illuminate/support": "dev-master"
},
"require-dev": {
"orchestra/testbench": "~3.0"
}
}

16
phpunit.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="CRUD Generator Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>

19
readme.md

@ -0,0 +1,19 @@
# Laravel Simple CRUD Generator
This is a package to create simple CRUD on your Laravel 5.4 application.
## How to install
Install this package through [Composer](https://getcomposer.org). Run following from terminal:
```
composer require luthfi/simple-crud-generator
```
Update `config/app.php`, add provider and aliases :
```php
// providers
Luthfi\CrudGenerator\CrudGeneratorServiceProvider::class,
```
## How to use
Loading…
Cancel
Save