'composer' is not recognized as an internal or external command in windows server 1) Download the composer installer (.exe) and put it on C:/XAMPP. 2) Run the installer by just clicking next till the end. 3) Open command-line (cmd) and cd to your project directory (C:/XAMPP/htdocs/myproject) and type composer and see if you have it installed. 4) It should work now, let's say you want to install a PHP framework from your project directory: cmd=>composer require slim/slim "^3.0" . Sol 2: The solution is to use complete composer path instead of composer install eg:- C:\ProgramData\ComposerSetup\bin\composer install" instead of "composer install Better still, add "C:\ProgramData\ComposerSetup\bin\" to your environment variables, so that you can use "composer install" . Sol 3: If u can 't find composer file than follow only 2 steps 1- Download composer file from [https://getcomposer.org/download/...
Three Favorite Open Source Java Libraries Java developers are lucky to have a long list of community libraries to pull from. Here are a few standouts that have made their way into virtually all of my new development. These were chosen because they have clean interfaces, provide significant value, are well tested, and most of all … help me write less code. Google Guava https://github.com/google/guava This one is probably at the top of a lot of developer’s lists. Back in my C/C++ days, we had Boost. Early in my Java days, we used Apache Commons. Now, Google Guava is the primary core/utility library for Java. If you ever find yourself writing anything that could be common to the Java language, look here first. Here are a few classes from Guava that I’m always using: Use the Optional class instead of using null: https://github.com/google/guava/wiki/UsingAndAvoidingNullExplained Use the Preconditions class to validate parameters and fail fast: https://githu...
The Ultimate Beginners Guide to Firebase Today we’re going back to the basics in Firebase by building a basic web app from scratch. Even though this is beginner level, I think it’s very useful to write code with Firebase using nothing but plain JS, especially if you’re used to developing with a framework library like AngularFire , ReactFire , or Vuefire . In addition, I want give you my Why Firebase? opinion and explain why it’s my goto cloud provider. What is Firebase? Firebase is a Backend-as-a-Service, which really boils down two things - (1) A container for Google Cloud Platform resources, and (2) a collection of SDKs to interact with these resources from the web, iOS, Android, Unity, and more. Why Firebase? Why not AWS or Heroku? Firebase does not compensate me to say nice things, I am just a happy customer :) In my opinion, Firebase offers the quickest path to get your app in the hands of users . It accomplishes this by simp...
Comments
Post a Comment