rougin / combustor Goto Github PK
View Code? Open in Web Editor NEWMVC code generator for the Codeigniter framework.
Home Page: https://roug.in/combustor/
License: MIT License
MVC code generator for the Codeigniter framework.
Home Page: https://roug.in/combustor/
License: MIT License
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.
There must be a message when deleting an item via JavaScript's confirm()
or via Bootstrap's modal.
In save()
method, the generation of datetime_created
and datetime_updated
are included in $data
like they have already a value, which is not. Those said fields must be in included in a if
statements.
[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
composer suggest
to see details.composer fund
command to find out more!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]$
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.
When generating in Doctrine, there are some cases that the indexes are properly generated.
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
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" "$@"
When generating code from database tables, Combustor can also generate a dropdown field for the following fields:
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.
You must set the unique and index keys individually after creating the database table. It is because the generated unique and index keys are generated in a one keyname. The reason is that the library utilizes the DESCRIBE function to view the columns and its attributes.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.