Giter Club home page Giter Club logo

combustor's People

Contributors

rougin avatar scrutinizer-auto-fixer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

combustor's Issues

Proper form validation rules

When generating controllers, the fields in _validate_input() only contains a rule of required. It must consists of rules based on the field's properties.

Unable to load the requested class: Wildfire

[mz@archlinux test_grc]$ composer require rougin/combustor --dev
Using version ^1.2 for rougin/combustor
./composer.json has been updated
Running composer update rougin/combustor
Loading composer repositories with package information
Updating dependencies
Lock file operations: 20 installs, 0 updates, 0 removals

  • Locking doctrine/inflector (1.4.3)
  • Locking league/flysystem (1.1.3)
  • Locking league/mime-type-detection (1.7.0)
  • Locking psr/container (1.0.0)
  • Locking psr/http-message (1.0.1)
  • Locking psr/log (1.1.3)
  • Locking rdlowrey/auryn (v1.4.3)
  • Locking rougin/blueprint (v0.6.0)
  • Locking rougin/combustor (v1.2.4)
  • Locking rougin/describe (v1.7.0)
  • Locking rougin/slytherin (v0.9.5)
  • Locking rougin/spark-plug (v0.4.4)
  • Locking rougin/wildfire (v0.3.1)
  • Locking symfony/console (v3.4.47)
  • Locking symfony/debug (v4.4.19)
  • Locking symfony/polyfill-ctype (v1.22.1)
  • Locking symfony/polyfill-mbstring (v1.22.1)
  • Locking symfony/polyfill-php80 (v1.22.1)
  • Locking symfony/yaml (v3.4.47)
  • Locking twig/twig (v1.44.2)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 20 installs, 0 updates, 0 removals
  • Installing doctrine/inflector (1.4.3): Extracting archive
  • Installing league/mime-type-detection (1.7.0): Extracting archive
  • Installing league/flysystem (1.1.3): Extracting archive
  • Installing rdlowrey/auryn (v1.4.3): Extracting archive
  • Installing rougin/spark-plug (v0.4.4): Extracting archive
  • Installing rougin/describe (v1.7.0): Extracting archive
  • Installing symfony/polyfill-ctype (v1.22.1): Extracting archive
  • Installing twig/twig (v1.44.2): Extracting archive
  • Installing symfony/yaml (v3.4.47): Extracting archive
  • Installing symfony/polyfill-mbstring (v1.22.1): Extracting archive
  • Installing symfony/polyfill-php80 (v1.22.1): Extracting archive
  • Installing psr/log (1.1.3): Extracting archive
  • Installing symfony/debug (v4.4.19): Extracting archive
  • Installing symfony/console (v3.4.47): Extracting archive
  • Installing psr/http-message (1.0.1): Extracting archive
  • Installing psr/container (1.0.0): Extracting archive
  • Installing rougin/slytherin (v0.9.5): Extracting archive
  • Installing rougin/blueprint (v0.6.0): Extracting archive
  • Installing rougin/combustor (v1.2.4): Extracting archive
  • Installing rougin/wildfire (v0.3.1): Extracting archive
    21 package suggestions were added by new dependencies, use composer suggest to see details.
    Generating autoload files
    10 packages you are using are looking for funding.
    Use the composer fund command to find out more!
    [mz@archlinux test_grc]$ vendor/bin/combustor install:wildfire

ERROR: An Error Was Encountered

Unable to load the requested class: Wildfire

[mz@archlinux test_grc]$ vendor/bin/combustor install:doctrine

ERROR: An Error Was Encountered

Unable to load the requested class: Wildfire

[mz@archlinux test_grc]$

Date input type in create.php and edit.php

When generating create.php and edit.php, the fields that has a date or datetime data types will only generated an <input type="text" />. It would be nice if it is <input type="date" /> in order for developers to spend time less on replacing them.

could not find driver

How do I configure Doctrine and SQLite?

--- a/application/config/database.php
+++ b/application/config/database.php
@@ -64,11 +64,11 @@ $query_builder = TRUE;

 $db['default'] = array(
    'dsn'   => '',
-   'hostname' => 'localhost',
+ 'hostname' => 'sqlite:' . APPPATH . 'data/sqlite-database.db',
    'username' => '',
    'password' => '',
    'database' => '',
-   'dbdriver' => 'mysqli',
+ 'dbdriver' => 'pdo',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => TRUE,
$ php vendor/bin/combustor create:controller test
could not find driver

WAMP / windows

I get no errors but nothing happens? Output below no matter what command I try.

E:\Program Files (x86)\EasyPHP-12.1\www\generate>php "vendor/bin/combustor" inst
all:wildfire
SRC_DIR="pwd"
cd "dirname "$0""
cd "../rougin/combustor/bin"
BIN_TARGET="pwd/combustor"
cd "$SRC_DIR"
"$BIN_TARGET" "$@"

Special cases for specified fields

When generating code from database tables, Combustor can also generate a dropdown field for the following fields:

  • gender
    • male
    • female
  • marital_status
    • single
    • married
    • widowed
    • seperated
    • divorced

create:authentication

It would be nice if there is a create:authentication command wherein it will automatically generate an authentication process based on the given table and set of columns. It is useful when prototyping login/logout pages.

Fatal error: Class 'Describe\Describe' not found

combustor command does not work.

$ composer require rougin/combustor
$ php vendor/bin/combustor install:doctrine
$ vendor/bin/combustor create:scaffold test

Fatal error: Class 'Describe\Describe' not found in .../CodeIgniter-3.0.0/vendor/rougin/combustor/src/Doctrine/CreateControllerCommand.php on line 58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.