yepwoo / laragine Goto Github PK
View Code? Open in Web Editor NEWLaravel Engine: Develop Faster And Cleaner!
Home Page: https://yepwoo.com/products/laragine/docs/v2/introduction
License: MIT License
Laravel Engine: Develop Faster And Cleaner!
Home Page: https://yepwoo.com/products/laragine/docs/v2/introduction
License: MIT License
in system/core/Base/Logging/CustomizeFormatter.php
Line 38
which contains the following:
$handler->pushProcessor([$this, 'processLogRecord']);
The problem is in the argument.
return $this->sendResponse($this->resource::collection($this->model->paginate(30))->response()->getData(true));
ex: in the migration file generated there is this line:
$table->boolean('is_done')->default('false');
it supposed to be as in the following:
$table->boolean('is_done')->default(false);
we need to update the $json
variable to be something like $current_json
in src/Core/Module/UnitTest.stub
(testItShouldGetListingOfTheResource()
method)
the same thing as above, $model
should be something like $current_model
in src/Core/Base/ApiController.stub
(update()
and destroy()
methods)
reference:
https://wiki.sei.cmu.edu/confluence/display/c/DCL01-C.+Do+not+reuse+variable+names+in+subscopes
https://wiki.sei.cmu.edu/confluence/display/java/DCL51-J.+Do+not+shadow+or+obscure+identifiers+in+subscopes
source of issues mentioned was:
SonarQube
please @AbdlrahmanSaberAbdo solve the following (I have created an unit called Comment):
Core\Blog\Controllers\API\V1\CommentApiController.php => Core\Blog\Controllers\API\V1\CommentController.php (remove Api from the file name)
Core\Blog\Controllers\Web\CommentWebController.php => Core\Blog\Controllers\Web\CommentController.php (remove Web from the file name)
in Core\Blog\database\migrations\create_comments_table.php:
class Create#UNIT_NAME_PLURAL#Table extends Migration => class CreateCommentsTable extends Migration (replace #UNIT_NAME_PLURAL# with Comments)
update README.md
to include the description, features, docs ...etc
First, change unit implementation, the unit should have an option called --init to make the main files first
Main files
** Unit command without init option **
In case he runs the init command
When trying to override files the mkdir function return error, so we should make another method for override files.
Step:
Notes:
Hi there, thanks for your effort to develop this package, but looks like your documentation website is down right now due to the PHP version.
URL: https://yepwoo.com/products/laragine/docs/v2/introduction
ERROR: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".
The initial structure of the project
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.