lonnieezell / vulcan Goto Github PK
View Code? Open in Web Editor NEWCLI tools for CodeIgniter 4
CLI tools for CodeIgniter 4
Hi
When i MakeEntity, but table not setting dates( created_at and updated_at) then file Entities created show:
protected $_options = [
'datamap' => [],
'casts' => [{! casts !}],
];
You can recheck it.
Thanks
It's error in MakeModel.
An uncaught Exception was encountered
Type: ParseError
Message: syntax error, unexpected ','
Filename: /htdocs/vulcan/Commands/MakeModel.php
Line Number: 120
Type: ParseError
Message: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'
Filename: /htdocs/vulcan/Commands/MakeCommand.php
Line Number: 82
You can retest all.
Thanks
Should be able to read from an existing database table and fill in additional information, like basic validation rules, allowed fields, etc.
So I take it "since it's sure to launch on or before CodeIgniter 4 does" didn't happen.
Is this project abandoned?
When we execute the console
command like:
php public/index.php ci console
It's ok...the problem here is when we call it using the ci.php
script like:
php ci.php console
Because it wraps the psysh\shell
inside a passthru execution and makes it no operational.
I open a discussion to solve this problem on: bobthecow/psysh#343
Hello Lonnie,
While I was using Vulcan, there came a warning.
The BASEPATH was not found.
I'm a doing someting wrong?
The CI4 environment was CI4 appstarter installed through composer on 12-03-2019.
Greetings,
Ubel Jan van Wijhe
I am trying to install vulcan without composer.
I've cloned the repo to app/ThirdParty/vulcan and added the namespace to app/Config/Autoload psr4 like this:
$psr4 = [
'App' => APPPATH, // To ensure filters, etc still found,
APP_NAMESPACE => APPPATH, // For custom namespace
'Config' => APPPATH . 'Config',
'Vulcan' => APPPATH . 'ThirdParty/vulcan'
];
When i run php spark namespaces i see this:
CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-04-22 23:24:49pm
+-------------+----------------------------------------------------+--------+
| Namespace | Path | Found? |
+-------------+----------------------------------------------------+--------+
| CodeIgniter | /Users/korgoth/htdocs/cutout/system | Yes |
| App | /Users/korgoth/htdocs/cutout/app | Yes |
| Config | /Users/korgoth/htdocs/cutout/app/Config | Yes |
| Vulcan | /Users/korgoth/htdocs/cutout/app/ThirdParty/vulcan | Yes |
+-------------+----------------------------------------------------+--------+
But when i try to run php spark make:controller i get: Command "make:controller" not found.
As you see i am trying on CI4.0.2 latest release.
It seems to have a problem with listing commands since "php spark" does not show any help (even the default commands that are bundled with the framework are not listed - i have seen this on a clean 4.0.2 installation also).
So can you tell me what am i doing wrong?
With all methods of resource-routes.
Hi.
Current all file syntax error
Type: ParseError
Message: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'
Filename: /htdocs/vulcan/Commands/MakeController.php
Line Number: 87
Can you retest again !
Thanks
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.