<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cakephp Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 16 Dec 2019 00:31:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install CakePHP in Windows 10.</title>
		<link>https://www.osradar.com/how-to-install-cakephp-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-cakephp-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Mon, 16 Dec 2019 00:31:21 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16675</guid>

					<description><![CDATA[<p>CakePHP is a free and open-source web application development framework written in PHP. Additionally, it is built on the concepts of Ruby on rails. In other words, it is a base content that developers use to design web pages of all kinds. Like Ruby On Rails, CakePHP makes it easier for the user to interact [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-cakephp-in-windows-10/">How to install CakePHP in Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>CakePHP is a free and open-source web application development framework written in PHP. Additionally, it is built on the concepts of Ruby on rails. In other words, it is a base content that developers use to design web pages of all kinds.  Like <a href="https://rubyonrails.org/" target="_blank" rel="noreferrer noopener" aria-label="Ruby On Rails (opens in a new tab)">Ruby On Rails</a>, CakePHP makes it easier for the user to interact with the database through the use of ActiveRecord. It also makes use of the Model View Controller pattern. The main objective of this framework is to work in a structured way, fast and without loss of flexibility. Being one of the most robust frameworks, let&#8217;s see how to install CakePHP in Windows 10.</p>



<h2>Prerequisites</h2>



<p>In order to install this framework, it is imperative to have the following installed:</p>



<ul><li>An HTTP server. It can be Nginx, Microsoft IIS or Apache. Here in <g class="gr_ gr_9 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Punctuation only-ins replaceWithoutSep" id="9" data-gr-id="9">osradar.com</g> we show you how to install <a rel="noreferrer noopener" aria-label="Apache (opens in a new tab)" href="https://www.osradar.com/how-to-install-composer-on-windows-10/" target="_blank">Apache</a> in Windows 10.</li><li>PHP 5.6.0 or greater. If you want to know how to install <a rel="noreferrer noopener" aria-label="PHP 7.40 (opens in a new tab)" href="https://www.osradar.com/how-to-install-php-in-windows-10/" target="_blank">PHP 7.40</a>, please read our tutorial.</li><li>A database storage engines. For more information about database managers, check out our post about <a rel="noreferrer noopener" aria-label="MySQL (opens in a new tab)" href="https://www.osradar.com/how-to-install-mysql-in-windows-10/" target="_blank">MySQL</a> in Windows 10.</li><li>Composer. If you want to know how to install it, please check our <a href="https://www.osradar.com/how-to-install-composer-on-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="post (opens in a new tab)">post</a>.</li></ul>



<h2>Enabling the necessary extensions in PHP</h2>



<p>Not only is it necessary to have PHP installed, it is also indispensable to have the following extensions enabled:</p>



<ul><li> Mbstring PHP extension </li><li> Intl PHP extension </li></ul>



<p>Depending on the installation path, PHP extensions are located in this folder <strong>C:\php\ext</strong>. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/cake3-1.jpg" alt="Location of the extensions in PHP" class="wp-image-16678" srcset="https://www.osradar.com/wp-content/uploads/2019/12/cake3-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/cake3-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/cake3-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/cake3-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/cake3-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/cake3-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Location of the extensions in PHP</figcaption></figure>



<p>However, the fact that the extensions are present in the <em>ext</em> folder only means that you don&#8217;t have to download or compile them. To enable them, you need to edit the <strong>PHP.ini</strong> file. With this intention go to the following path: <strong>C:\php</strong>. Once there, select the file and open it with your favorite text editor.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/cake4-1.jpg" alt="Select the PHP.ini file" class="wp-image-16682" srcset="https://www.osradar.com/wp-content/uploads/2019/12/cake4-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/cake4-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/cake4-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/cake4-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/cake4-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/cake4-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> Select the PHP.ini file </figcaption></figure>



<p>Once the file is open, you only have to scroll to the list of extensions. Additionally, you can notice that the file contains all the extensions that are in the program folder. Furthermore, the extensions that are currently enabled, have a <strong>;</strong> before the name. Therefore, in order to enable any extension, just delete the <strong>;</strong> in the line. With this in mind, select <strong>mbstring</strong><em> </em>and <strong>intl</strong> to delete the <strong>;</strong> and enable them. Then save the file to set the changes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/cake5.jpg" alt="Enabling PHP extensions" class="wp-image-16684" srcset="https://www.osradar.com/wp-content/uploads/2019/12/cake5.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/cake5-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/cake5-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/cake5-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/cake5-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/cake5-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Enabling PHP extensions</figcaption></figure>



<h2>Installing a new CakePHP project.</h2>



<p>To install  and create a new CakePHP project, please open a Command Prompt from the following path: <strong>C:\Apache24\htdocs</strong>. Next, execute the following command:</p>



<pre class="wp-block-preformatted"> composer create-project --prefer-dist cakephp/app my_app_name </pre>



<p>Please remember to replace my_app_name with the name you assigned to the project.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/cake-1.jpg" alt="" data-id="16688" data-link="https://www.osradar.com/?attachment_id=16688" class="wp-image-16688" srcset="https://www.osradar.com/wp-content/uploads/2019/12/cake-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/cake-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/cake-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/cake-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/cake-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/cake-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/cake2-1.jpg" alt="" data-id="16689" data-full-url="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/cake2-1.jpg" data-link="https://www.osradar.com/?attachment_id=16689" class="wp-image-16689" srcset="https://www.osradar.com/wp-content/uploads/2019/12/cake2-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/cake2-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/cake2-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/cake2-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/cake2-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/cake2-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li></ul><figcaption class="blocks-gallery-caption">Project created with CakePHP</figcaption></figure>



<h2>Conclusion</h2>



<p>Ultimately we&#8217;ve seen how to install CakePHP on Windows 10. Its modular design allows designers and developers to work together, as well as quickly prototype. That&#8217;s it for now. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-cakephp-in-windows-10/">How to install CakePHP in Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-cakephp-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install CakePHP on CentOS 8?</title>
		<link>https://www.osradar.com/install-cakephp-centos-8/</link>
					<comments>https://www.osradar.com/install-cakephp-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 27 Sep 2019 17:00:09 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web development]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13938</guid>

					<description><![CDATA[<p>Installing and using a PHP framework is a great idea to develop quality web applications. This is because the frameworks have configurations and conventions prepared for development. In this post, I will show you how to install CakePHP in CentOS 8. With this framework you will be able to quickly create web applications following the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cakephp-centos-8/">How to install CakePHP on CentOS 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Installing and using a PHP framework is a great idea to develop quality web applications. This is because the frameworks have configurations and conventions prepared for development. In this post, I will show you how to install CakePHP in CentOS 8. With this framework you will be able to quickly create web applications following the best possible conventions.</p>



<p><strong>In Osradar we like <a rel="noreferrer noopener" aria-label="CakePHP (opens in a new tab)" href="https://cakephp.org/" target="_blank">CakePHP</a></strong> very much and is that this <a href="https://www.osradar.com/tag/php/" target="_blank" rel="noreferrer noopener" aria-label="PHP (opens in a new tab)">PHP</a> framework for the creation of solid web applications, is a wonder. Thanks to CakePHP it is possible to create applications quickly, robust and above all easy to maintain. Not in vain is one of the best known frameworks that PHP has.</p>



<p>So, let us start to install CakePHP on CentOS 8.</p>



<h2>Install CakePHP on CentOS 8</h2>



<h3>1) Install LAMP on CentOS 8</h3>



<p>While it is true that to start developing using CakePHP you only need to install PHP and a database management system, it is recommended to install the entire LAMP stack at once.</p>



<p>Read, <a href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/" target="_blank" rel="noreferrer noopener" aria-label="How to install LAMP on CentOS 8? (opens in a new tab)">How to install LAMP on CentOS 8?</a></p>



<p>In the case of PHP, you can use PHP 7.3 but you have to activate the following modules:</p>



<ul><li>mbstring PHP extension </li><li>intl PHP extension</li><li>simplexml PHP extension </li><li>PDO PHP extension</li></ul>



<p>You can also use Apache or Nginx as a web server. As you can see, the framework is very flexible.</p>



<h3>2) Install Composer on CentOS 8</h3>



<p>CakePHP has many dependencies that make manual installation a bit complicated. However, to handle PHP dependencies nothing better than <a rel="noreferrer noopener" aria-label="Composer (opens in a new tab)" href="https://getcomposer.org/" target="_blank">Composer</a>. Using it the CakePHP installation becomes a lot less complicated. So you have to install it. Just, be sure that you have installed the json PHP extension.</p>



<p>Read, <a href="https://www.osradar.com/how-to-install-composer-on-linux/" target="_blank" rel="noreferrer noopener" aria-label="How to install Composer on Linux? (opens in a new tab)">How to install Composer on Linux?</a></p>



<p>In that post, we detail the installation process. So you will not have any problems in completing the process. Once you are done, you can continue.</p>



<h3>3) Install CakePHP on CentOS 8</h3>



<p>Now it is time to install CakePHP on CentOS 8. For that, just use composer to &#8220;download&#8221; all CakePHP components. On a terminal, run the following, as a regular user not as root:</p>



<pre class="wp-block-preformatted">:~$ composer create-project --prefer-dist cakephp/app example</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="555" src="https://www.osradar.com/wp-content/uploads/2019/09/1-27-1024x555.png" alt="1.- Install CakePHP on CentOS 8" class="wp-image-13969" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-27-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-27-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-27-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-27-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-27-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-27-775x420.png 775w, https://www.osradar.com/wp-content/uploads/2019/09/1-27.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install CakePHP on CentOS 8</figcaption></figure>



<p>So, remember to replace &#8220;<g class="gr_ gr_4 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling gr-progress" id="4" data-gr-id="4">e</g>xample&#8221; with the correct name of your project. This is just an example.</p>



<p>Then, you have to make the cake file executable to get tools from the framework. To do this, execute the following commands:</p>



<pre class="wp-block-preformatted">:~$ cd example
:~$ chmod +x bin/cake</pre>



<p>Now all you have to do is start developing your application. If you want to &#8220;serve it&#8221; and check that everything is perfectly in order, run the following command from the project folder:</p>



<pre class="wp-block-preformatted">:~$ bin/cake server</pre>



<p>This will make your application available from localhost and will be accessible from the web browser. But if you add the option -H and -P you can specify the host and port where the application will be served.</p>



<pre class="wp-block-preformatted">:~$ bin/cake server -H [host] -p [port]</pre>



<p>Now, open your web browser and go to your CakePHP app and you will see the following:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="499" src="https://www.osradar.com/wp-content/uploads/2019/09/2-26-1024x499.png" alt="2.- CakePHP on CentOS 8" class="wp-image-13974" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-26-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-26-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-26-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-26-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/09/2-26-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-26-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-26-861x420.png 861w, https://www.osradar.com/wp-content/uploads/2019/09/2-26.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- CakePHP on CentOS 8</figcaption></figure>



<p>And that is it.</p>



<h2>Conclusion</h2>



<p>CakePHP combines the ease of a clear and conscious framework with the robustness of a solid code that allows you to have secure applications with clear conventions. In this post, you have learned to install it in CentOS in an easy and fast way.</p>



<p>You can also learn <a href="https://www.osradar.com/install-cakephp-debian-10/" target="_blank" rel="noreferrer noopener" aria-label="how to install it in Debian 10. (opens in a new tab)">how to install it in Debian 10.</a></p>



<p>Please share this post with your friends and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram channel. (opens in a new tab)">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cakephp-centos-8/">How to install CakePHP on CentOS 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-cakephp-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install CakePHP on Debian 10?</title>
		<link>https://www.osradar.com/install-cakephp-debian-10/</link>
					<comments>https://www.osradar.com/install-cakephp-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 27 Aug 2019 23:11:21 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13199</guid>

					<description><![CDATA[<p>The development of web applications seems to be fashionable these days. Many young people start their way of developing applications for the web. And for that, a Linux distribution is the most recommendable thing to use. Because it provides stability and above all, the tools to make the process without problems. For web development there [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cakephp-debian-10/">How to install CakePHP on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The development of web applications seems to be fashionable these days. Many young people start their way of developing applications for the web. And for that, a Linux distribution is the most recommendable thing to use. Because it provides stability and above all, the tools to make the process without problems. For web development there are certain languages that can be used, perhaps PHP is the most popular of them. And in PHP we have many frameworks to speed up the development. So in this post, I will show you how to install CakePHP on Debian 10. It is one of the most popular because of its low learning curve.</p>
<h2>CakePHP it is a good framework</h2>
<p><a href="https://cakephp.org/" rel="noopener noreferrer">CakePHP</a> is a PHP framework for web application development. It is known to be one of the easiest to learn. However, do not be fooled by its ease of learning, it is also one of the most powerful.</p>
<p>As expected, CakePHP is open source and is compatible with both <a href="https://www.osradar.com/tag/apache/" rel="noopener noreferrer">Apache</a> and <a href="https://www.osradar.com/tag/nginx/" rel="noopener noreferrer">Nginx</a>. It also supports various database handlers such as <a href="https://www.osradar.com/tag/mysql/" rel="noopener noreferrer">MySQL</a>, <a href="https://www.osradar.com/tag/mariadb/" rel="noopener noreferrer">MariaDB</a>, <a href="https://www.osradar.com/how-to-install-sqlite-on-ubuntu-18-04-and-linux-mint-19/" rel="noopener noreferrer">SQLite</a> or <a href="https://osradar.com/tag/postgresql/" rel="noopener noreferrer">PostgreSQL</a>.</p>
<p>So let us go for it.</p>
<h2>Install CakePHP on Debian 10</h2>
<h3>1) Install LAMP on Debian 10</h3>
<p>First of all, you have to have a working LAMP server. As I told you at the beginning, it is also possible to run it with Nginx. However, for this tutorial, I will use Apache.</p>
<p>The LAMP server is absolutely necessary to &#8220;deploy&#8221; the application once finished. However, it is not indispensable for development. Although it is good to install it at once.</p>
<p>Read <a href="https://www.osradar.com/install-lamp-on-debian-10/" rel="noopener noreferrer">How to install LAMP on Debian 10?</a></p>
<p>Just be sure to install these PHP extensions</p>
<pre>php-pdo php-intl php-xml php-zip php-mbstring</pre>
<p>Now we can continue.</p>
<h3>2) Install Composer on Debian 10</h3>
<p>One of the best ways to install CakePHP is to use Composer. <a href="https://getcomposer.org" rel="noopener noreferrer">Composer</a> is an open-source and cross-platform PHP dependency manager. It is a wonderful tool for our PHP projects.</p>
<p>Read, <a href="https://www.osradar.com/how-to-install-composer-on-linux/" rel="noopener noreferrer">How to install Composer on Linux?</a></p>
<p>Now, we can install CakePHP.</p>
<h3>3) Install CakePHP on Debian 10</h3>
<p>Now we can start installing CakePHP on Debian 10. For that, we will use composer to create the project all at once.</p>
<p>In the terminal, run the following command:</p>
<pre>:~$ composer create-project --prefer-dist cakephp/app myproject
</pre>
<p><figure id="attachment_13201" aria-describedby="caption-attachment-13201" style="width: 1349px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13201" src="https://www.osradar.com/wp-content/uploads/2019/08/1-18.jpeg" alt="1.- Install CakePHP on Debian 10" width="1349" height="692" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-18.jpeg 1349w, https://www.osradar.com/wp-content/uploads/2019/08/1-18-300x154.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-18-768x394.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-18-1024x525.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-18-696x357.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-18-1068x548.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/1-18-819x420.jpeg 819w" sizes="(max-width: 1349px) 100vw, 1349px" /><figcaption id="caption-attachment-13201" class="wp-caption-text">1.- Install CakePHP on Debian 10</figcaption></figure></p>
<p>Replace &#8220;myproject&#8221; by the name you want to yo your project. The installation will take some time.</p>
<p>If you want to use the CakePHP command, it needs to have run permissions.</p>
<pre>:~$ cd myproject
:~$ chmod +x bin/cake</pre>
<p>Now you can start developing your application with your favorite text editor. You can also use the project to see the changes in the web browser as if it were the real web server.</p>
<p>To do this, run the following command:</p>
<pre>:~$ bin/cake server</pre>
<p><figure id="attachment_13202" aria-describedby="caption-attachment-13202" style="width: 578px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13202" src="https://www.osradar.com/wp-content/uploads/2019/08/2-16.jpeg" alt="2.- Serve the application" width="578" height="201" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-16.jpeg 578w, https://www.osradar.com/wp-content/uploads/2019/08/2-16-300x104.jpeg 300w" sizes="(max-width: 578px) 100vw, 578px" /><figcaption id="caption-attachment-13202" class="wp-caption-text">2.- Serve the application</figcaption></figure></p>
<p>This will make the application available at http://localhost:8765. However, we can also specify a host and a specific port with the following command:</p>
<pre>:~$ bin/cake server -H <span class="m">[host]</span> -p <span class="m">[port]</span></pre>
<p>Now, you can open your web browser and check that everything is OK.</p>
<p><figure id="attachment_13203" aria-describedby="caption-attachment-13203" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13203" src="https://www.osradar.com/wp-content/uploads/2019/08/3-4.png" alt="3.- CakePHP running" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/3-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-4-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-4-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-4-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-4-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-4-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13203" class="wp-caption-text">3.- CakePHP running</figcaption></figure></p>
<p>Note that you should never use this method to deploy the application on a real server. To do this, just upload the whole folder of your project to the root document of the server, for example<code> /var/www/html/</code>.</p>
<p>So, create a new application with CakePHP.</p>
<h2>Conclusion</h2>
<p>Web development is very important nowadays and for PHP it seems to be the most used and important language. It also has the advantage of having many important frameworks to be used as CakePHP. In this sense, installing CakePHP is quite simple and provides us with a great tool ready for work.</p>
<p>Please share this post and join <a href="https://t.me/osradar" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cakephp-debian-10/">How to install CakePHP on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-cakephp-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
