Easy Way to download cakephp 3.0

    Installation step in cakephp 3.0

     Installing Composer

       CakePHP uses Composer, a dependency management tool, as the officially
       supported method for  installation.
  • Installing Composer on Linux and macOS
    1. Run the installer script as described in the official Composer documentation and follow the instructions to install Composer.
    2. Execute the following command to move the composer.phar to a directory that is in your path:
      mv composer.phar /usr/local/bin/composer
      
  • Installing Composer on Windows
    For Windows systems, you can download Composer’s Windows installer.

    Create a CakePHP Project

    Now that you’ve downloaded and installed Composer, let’s say you want to create a new CakePHP application into my_app_name folder. For this just run the following composer command:
    php composer.phar create-project --prefer-dist cakephp/app my_app_name
    
    Or if Composer is installed globally:
    composer self-update && composer create-project --prefer-dist cakephp/app my_app_name
    
     
    You can now visit the path to where you installed your CakePHP application and see the default home page. To change the content of this page, edit src/Template/Pages/home.ctp.


Comments

Popular posts from this blog