Giter VIP home page Giter VIP logo

Comments (4)

furey avatar furey commented on May 18, 2024

Hi @kcornbower,

Can you please provide the following details so I can look into this further for you?

  • Your Tinx version (composer info ajthinking/tinx)
  • Your PHP version (php -v)
  • Your Laravel version (php artisan -V)
  • Your development environment and version (Valet? Homestead? etc)
  • Your operating system and version (Mac? Windows? etc)

Cheers.

from tinx.

furey avatar furey commented on May 18, 2024

Hi @kcornbower (again),

Recent versions of Laravel Tinker should automatically alias/resolve class paths for you, providing those class paths exist in your vendor/composer/autoload_classmap.php file.

If you either…

  • run composer dump -o before starting Tinx
  • run exec("composer dump -o") && re() in your existing Tinx session

…then run your $geo = new GeoIP(); statement again…

composer-dump-o-and-re

…is the GeoIP class now automatically aliased/resolved for you?

Cheers.

from tinx.

ecornbower avatar ecornbower commented on May 18, 2024

Hi @furey,

Awesome, running the exec command in Tinx solved the problem. Is there any way to have this run automatically? Maybe adding this in the documentation would be helpful, unless I somehow missed it.

from tinx.

furey avatar furey commented on May 18, 2024

Hi @kcornbower,

I've just pushed a new release that adds a reo() function to Tinx implementing the functionality mentioned above, and added a note about it in the README to help users with similar issues in the future.

Cheers.

from tinx.

Related Issues (20)

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.