laravel Parse Scaffolder
Laravel Parse Scaffolder Gives you the ability to generate CRUD blade files, Controller and Model for a Parse database.
This package supports basic html and default metronic template., (*1)
Installation
Begin by installing this package through Composer., (*2)
composer require elmokna/laravel-parse-scaffolder
, (*3)
or add it through composer.json file and run composer install, (*4)
"require": {
//...
"elmokna/laravel-parse-scaffolder": "dev-master"
//...
},
then, add your new provider to the providers array of config/app.php:, (*5)
'providers' => [
// ...
elmokna\laravelParseScaffolder\ParseScaffoldingServiceProvider::class,
// ...
],
Finally, add your database credentials in the .env file with the following keys, (*6)
DB_HOST=Your parse IP or domain
DB_PORT=Your parse port
DB_USERNAME=Your parse app_id
DB_PASSWORD=Your parse master_key
Usage
In Your terminal run:, (*7)
php artisan make:crud your-parse-table-name {--template=none}
, (*8)
By default if --template
option was not specified or --template=none
, basic html elements will be generated., (*9)
To generate html elements with metronic support, set --template=metronic
, (*10)
php artisan make:crud your-parse-table-name --template=metronic
, (*11)
Todo
- Add Support for Bootstrap 4.
- Add Support for more parse data types (Relations,Array,ACL,Object...).
- Refactor Code.