Code Monkey home page Code Monkey logo

eloquent-docs's Introduction

๐Ÿ‰ Brave Dragon - Welcome to Seth Phat's world ๐Ÿ‘‹

"If you have the motivation, I don't think anything in this world is impossible"

Hello mate,

My name is Seth Phat, nice to meet you. A Senior Rockstar Engineer who loves to elevate awesome products ๐Ÿ”ฅ.

People know me as a super funny, friendly, optimistic, and energetic guy who has loved Technology & Programming since high school ๐Ÿฅฐ. I'm a continuous learner, team-player ๐ŸŽ๏ธ.

Living in Vietnam & working with engineers around the globe ๐Ÿ˜†. Can't start my day with a lovely Ca Phe Sua Da Saigon (Milk Coffee) โ˜•๏ธ.

My facts:

  • The first-ever programming language I learned was Lua (in 2009 - when I was a 9th-grade student) to make quests & NPCs in games ๐Ÿ‘€
    • And then, PHP (2010) ๐Ÿ˜Ž
  • I do cardio almost every day (20~30 mins). Favorites: Running & Jump Rope ๐Ÿƒโ€โ™‚๏ธ
  • I love to try every kind of beer (but <=6.5% ๐Ÿฅน)

My personal projects/products

STACK & Expertise

Backend Frontend Misc
PHP 8.3 JavaScript TDD
Node.JS 20 TypeScript DDD
Laravel 11 Vue 3 Tech writer
MySQL/PostgreSQL React (soft-core) Linux & MacOS
Queues (SQS, Redis, DB) TailwindCSS FTW CI/CD
Redis Jest/Mocha Vultr, AWS & GCP
PHPUnit/Jest โค๏ธ Drag & Drop Docker

โค๏ธ Serverless too ๐Ÿš€

Have a lovely day, my friend ๐Ÿ˜‰!

eloquent-docs's People

Contributors

sethsandaru avatar siarheipashkevich 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eloquent-docs's Issues

Unable to read ENUMs

Unknown database type enum requested, Doctrine\DBAL\Platforms\MariaDb1027Platform may not support it.

I have a table that uses an ENUM as the column type. This is more a Doctrine issue then this specific packages but maybe adding a some sort of try catch when the package encounters this and just notify the user it can't do that so needs to be manually added.

Doc duplicate

Hi,
I use your lib with the command :
php artisan eloquent:bulk-phpdoc "app/Models/*/*/*.php
but when we update our model and need to regenerate doc, it's duplicate the doc instead of correct them :
image
I check all your code and I don't find any code to rewrite comment instead of write a new one.
Have you think about this ?
A solution could be to start your comment with your own keyword and end it with the same

/***********ELOGQUEN DOC START *********/
/**
 * Table : 
 .....
**/
/***********ELOGQUEN DOC END *********/

and rewrite this section only

are you still updating?
do you think you can include this feature?

Batch generating models

New Feature

Introduces a new command eloquent:bulk-phpdoc {location} {--short-class} to batch generating a bunch of phpDoc for models in 1 go.

location would be a glob pattern, eg:

'app/Models/*.php'
'app/Modules/*/Models/*.php'

Notes

This command will do the generation & writing in force mode (always overwrite the old phpDoc), no preview mode (it is just impossible to preview 2+ files.

Please Upgrade for use under laravel 11.14 and Doctrine 4.0

Hi can you please upgrade to fix this problem, running command composer require --dev sethphat/eloquent-docs, on a new fresh installation

Problem 1 - sethphat/eloquent-docs[1.0.0, ..., 1.1.2] require laravel/framework ^9|^8 -> found laravel/framework[v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but it conflicts with your root composer.json require (^11.9). - sethphat/eloquent-docs[1.1.4, ..., 1.2.3] require laravel/framework ^10|^9 -> found laravel/framework[v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.16] but it conflicts with your root composer.json require (^11.9). - sethphat/eloquent-docs[2.0.0, ..., 2.0.1] require doctrine/dbal ^3.8 -> found doctrine/dbal[3.8.0, ..., 3.8.6] but it conflicts with your root composer.json require (^4.0). - Root composer.json requires sethphat/eloquent-docs * -> satisfiable by sethphat/eloquent-docs[1.0.0, ..., 1.2.3, 2.0.0, 2.0.1].

Thanks

no hasAttributeMutator

There are no hasAttributeMutator in laravel 8.12

php artisan eloquent:phpdoc App\\Models\\User

   BadMethodCallException

  Call to undefined method App\Models\User::hasAttributeMutator()

  at vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:50
     46โ–•      * @throws \BadMethodCallException
     47โ–•      */
     48โ–•     protected static function throwBadMethodCallException($method)
     49โ–•     {
  โžœ  50โ–•         throw new BadMethodCallException(sprintf(
     51โ–•             'Call to undefined method %s::%s()', static::class, $method
     52โ–•         ));
     53โ–•     }
     54โ–• }

  โ€ข Bad Method Call: Did you mean App\Models\User::hasGetMutator() ?

      +21 vendor frames
  22  artisan:37
      Illuminate\Foundation\Console\Kernel::handle()

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.