{"id":1774,"date":"2017-02-09T09:32:11","date_gmt":"2017-02-09T09:32:11","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=1774"},"modified":"2017-02-10T04:00:31","modified_gmt":"2017-02-10T04:00:31","slug":"phalcon-developer-tools-on-linux","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/02\/09\/phalcon-developer-tools-on-linux\/","title":{"rendered":"Phalcon Developer Tools on Linux"},"content":{"rendered":"<p>Reference: <a href=\"https:\/\/docs.phalconphp.com\/en\/latest\/reference\/linuxtools.html\">https:\/\/docs.phalconphp.com\/en\/latest\/reference\/linuxtools.html<\/a><\/p>\n<p>Developer Tools<br \/>\nThese tools are a collection of useful scripts to generate skeleton code. Core components of your application can be generated with a simple command, allowing you to easily develop applications using Phalcon.<br \/>\n<a href=\"http:\/\/myprojects.advchaweb.com\/index.php\/2017\/02\/09\/phalcon-installation-on-ubuntu-14-04\/\">Make sure the phalcon module already installed<\/a>.<\/p>\n<p>Installation of Phalcon Developer Tools for Linux:<\/p>\n<ol>\n<li>Clone the tools\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ git clone git:\/\/github.com\/phalcon\/phalcon-devtools.git\r\nCloning into 'phalcon-devtools'...\r\nremote: Counting objects: 18743, done.\r\nremote: Compressing objects: 100% (19\/19), done.\r\nremote: Total 18743 (delta 6), reused 0 (delta 0), pack-reused 18721\r\nReceiving objects: 100% (18743\/18743), 6.66 MiB | 1.21 MiB\/s, done.\r\nResolving deltas: 100% (9959\/9959), done.\r\nChecking connectivity... done.<\/pre>\n<\/li>\n<li>Go into the directory then execute \u201d. .\/phalcon.sh\u201d, (don\u2019t forget the dot at beginning of the command):\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ cd phalcon-devtools\/\r\nteddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/phalcon-devtools$ . .\/phalcon.sh \r\n\r\nPhalcon Developer Tools Installer\r\n\r\nMake sure phalcon.sh is in the same dir as phalcon.php\r\nand that you are running this with sudo or as root.\r\n\r\nInstalling Devtools...\r\nWorking dir is: \/home\/teddy\/Documents\/works\/phalcon\/phalcon-devtools\r\nGenerating symlink...\r\n\r\nDone. Phalcon Developer Tools installed!\r\nThank you for using Phalcon Developer Tools!\r\nWe hope that Phalcon Developer Tools helps to make your life easier.\r\n\r\nIn case of problems: https:\/\/github.com\/phalcon\/phalcon-devtools\/issues \r\n                and: https:\/\/forum.phalconphp.com\r\n\r\nERROR: Phalcon extension isn't installed, follow these instructions to install it: https:\/\/docs.phalconphp.com\/en\/latest\/reference\/install.html<\/pre>\n<p>At the end I got an error &#8220;ERROR: Phalcon extension isn&#8217;t installed&#8230;&#8221;. This is may be because my php cli version (php version 7) is different with my default php (php version 5.6). From the previous article, I only install phalcon for php 5.6. So change the php version for cli (read again <a href=\"http:\/\/myprojects.advchaweb.com\/index.php\/2016\/09\/16\/update-ppa-for-php\/\">http:\/\/myprojects.advchaweb.com\/index.php\/2016\/09\/16\/update-ppa-for-php\/<\/a>) like this:<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/phalcon-devtools$ sudo ln -sfn \/usr\/bin\/php5.6 \/etc\/alternatives\/php\r\n[sudo] password for teddy: \r\nteddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/phalcon-devtools$ php -v\r\nPHP 5.6.30-1+deb.sury.org~trusty+1 (cli) \r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies\r\n    with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans<\/pre>\n<p>When I did the last error command, it&#8217;s working now<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/phalcon-devtools$ . .\/phalcon.sh \r\n\r\nPhalcon DevTools (3.0.4)\r\n\r\nAvailable commands:\r\n  info             (alias of: i)\r\n  commands         (alias of: list, enumerate)\r\n  controller       (alias of: create-controller)\r\n  module           (alias of: create-module)\r\n  model            (alias of: create-model)\r\n  all-models       (alias of: create-all-models)\r\n  project          (alias of: create-project)\r\n  scaffold         (alias of: create-scaffold)\r\n  migration        (alias of: create-migration)\r\n  webtools         (alias of: create-webtools)<\/pre>\n<p>&nbsp;<\/li>\n<li>Create a symbolink link to the phalcon.php script:\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/phalcon-devtools$ sudo ln -s ~\/phalcon-devtools\/phalcon.php \/usr\/bin\/phalcon<\/pre>\n<p>I think &#8216;phalcon&#8217; can be used from everywhere now. even I don&#8217;t need to execute this command anymore<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/phalcon-devtools$ sudo chmod ugo+x \/usr\/bin\/phalcon\r\nchmod: cannot operate on dangling symlink \u2018\/usr\/bin\/phalcon\u2019<\/pre>\n<p>Here is the &#8216;phalcon&#8217; command running at home directory:<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ phalcon\r\n\r\nPhalcon DevTools (3.0.4)\r\n\r\nAvailable commands:\r\n  info             (alias of: i)\r\n  commands         (alias of: list, enumerate)\r\n  controller       (alias of: create-controller)\r\n  module           (alias of: create-module)\r\n  model            (alias of: create-model)\r\n  all-models       (alias of: create-all-models)\r\n  project          (alias of: create-project)\r\n  scaffold         (alias of: create-scaffold)\r\n  migration        (alias of: create-migration)\r\n  webtools         (alias of: create-webtools)<\/pre>\n<p>&nbsp;<\/li>\n<\/ol>\n<p>Use Phalcon Developer Tools for Projects (ref: <a href=\"https:\/\/docs.phalconphp.com\/en\/latest\/reference\/tools.html\">https:\/\/docs.phalconphp.com\/en\/latest\/reference\/tools.html<\/a>):<\/p>\n<ol>\n<li>Create a project<br \/>\nNote: To enable the web tools (for web GUI) , add the &#8216;&#8211;enable-webtools&#8217; after the project name<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ phalcon create-project store --enable-webtools\r\n\r\nPhalcon DevTools (3.0.4)\r\n\r\n                                                         \r\n  Success: Controller \"index\" was successfully created.  \r\n                                                         \r\n\/home\/teddy\/Documents\/works\/phalcon\/store\/app\/controllers\/IndexController.php\r\n                                                      \r\n  Success: Project \"store\" was successfully created.  \r\n<\/pre>\n<p>SO it just not &#8216;phalcon create-project store&#8217;<\/li>\n<li>Open it on your browser (http:\/\/localhost\/works\/phalcon\/store\/). But I got this error:\n<pre class=\"lang:default decode:true \">Volt directory can't be written\r\n#0 [internal function]: Phalcon\\Mvc\\View\\Engine\\Volt\\Compiler-&gt;compileFile('\/home\/teddy\/Doc...', '\/home\/teddy\/Doc...', false)\r\n#1 [internal function]: Phalcon\\Mvc\\View\\Engine\\Volt\\Compiler-&gt;compile('\/home\/teddy\/Doc...')\r\n#2 [internal function]: Phalcon\\Mvc\\View\\Engine\\Volt-&gt;render('\/home\/teddy\/Doc...', Array, true)\r\n#3 [internal function]: Phalcon\\Mvc\\View-&gt;_engineRender(Array, 'index\/index', true, true, NULL)\r\n#4 [internal function]: Phalcon\\Mvc\\View-&gt;render('index', 'index', Array)\r\n#5 \/home\/teddy\/Documents\/works\/phalcon\/store\/public\/index.php(37): Phalcon\\Mvc\\Application-&gt;handle()\r\n#6 {main}<\/pre>\n<p>From this forum: https:\/\/forum.phalconphp.com\/discussion\/15389\/volt-directory-cant-be-written, I tried to modify the files permission to &#8216;664&#8217;<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ sudo chmod -R 664 store\/<\/pre>\n<p>Then refresh, got another error:<\/p>\n<pre class=\"lang:default decode:true \">Forbidden\r\n\r\nYou don't have permission to access \/works\/phalcon\/store\/ on this server.\r\nServer unable to read htaccess file, denying access to be safe<\/pre>\n<p>Now try to modify to &#8216;777&#8217;.<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ sudo chmod -R 777 store\/<\/pre>\n<p>Then refresh again AND IT&#8217;S WORKING NOW (http:\/\/localhost\/works\/phalcon\/store\/)<\/p>\n<pre class=\"lang:default decode:true \">Congratulations!\r\nYou're now flying with Phalcon. Great things are about to happen!\r\n\r\nThis page is located at views\/index\/index.volt<\/pre>\n<p><strong>The web tools<\/strong> (make sure you create your project with the webtools enabled)<br \/>\nOpen it on your browser http:\/\/localhost\/works\/phalcon\/store\/public\/webtools.php. If you get the display like this<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-ugly.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1782\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-ugly.png\" alt=\"\" width=\"410\" height=\"543\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-ugly.png 410w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-ugly-227x300.png 227w\" sizes=\"auto, (max-width: 410px) 85vw, 410px\" \/><\/a>It means the css and js file can&#8217;t be loaded properly. From this link: https:\/\/forum.phalconphp.com\/discussion\/15111\/webtools-can-not-load-css-if-using-different-baseuri, I need to modify \/app\/config\/config.php and add &#8216;staticUri&#8217; like this:<\/p>\n<pre class=\"lang:default decode:true \">...\r\nreturn new \\Phalcon\\Config([\r\n    ...\r\n    'application' =&gt; [\r\n        ....\r\n        'baseUri'        =&gt; preg_replace('\/public([\\\/\\\\\\\\])index.php$\/', '', $_SERVER[\"PHP_SELF\"]),\r\n        'staticUri'      =&gt; '\/works\/phalcon\/store\/',\r\n    ]\r\n]);<\/pre>\n<p>Then refresh again your browser (http:\/\/localhost\/works\/phalcon\/store\/public\/webtools.php), Here is the display<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-good.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1783\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-good-1024x315.png\" alt=\"\" width=\"840\" height=\"258\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-good-1024x315.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-good-300x92.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-good-768x236.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-good-1200x370.png 1200w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-webtools-good.png 1351w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>NOTE: I FOUND ONLY &#8216;controller&#8217; COMMAND IS WORKING, BUT &#8216;model&#8217; and &#8216;scaffold&#8217; COMMANDS IS NOT WORKING! I ALSO TRIED THE COMMAND LIKE &#8216;phalcon model products&#8217; AND IT DON&#8217;T WORK. I THINK THE PROBLEM IN THE DEV TOOLS! I put this issue in phalcon github (<a href=\"https:\/\/github.com\/phalcon\/phalcon-devtools\/issues\/976\">https:\/\/github.com\/phalcon\/phalcon-devtools\/issues\/976<\/a>): Cannot create model via devtools but can create controller<br \/>\n&#8220;I can create controller via the devtools (and webtools) but I can&#8217;t create model. Here is the command:<\/p>\n<p>$ phalcon model products<\/p>\n<p>The result:<\/p>\n<p>Phalcon DevTools (3.0.4)<br \/>\nError: Table &#8220;products&#8221; does not exist.<\/p>\n<p>I also can&#8217;t do it via webtools. I fill the form like the table name and click &#8216;Generate&#8217;. The weird thing happened. it said &#8216;Models were created successfully&#8217; but I see nothing.<\/p>\n<p>I also found the url for the webtools is a bit weird (it&#8217;s working though). when I opened it the first time, the url is like this: http:\/\/localhost\/works\/phalcon\/store\/public\/webtools.php<br \/>\nbut after i clicked the others links (do some stuff on controllers, models, system info, etc), the &#8216;\/webtools.php\/&#8217; keep added and make the url longer, so it&#8217;d be like this: http:\/\/localhost\/works\/phalcon\/store\/public\/webtools.php\/webtools.php\/webtools.php\/webtools.php\/webtools.php?_url=\/controllers\/list.<\/p>\n<p>Info:<br \/>\nPhalcon DevTools Version: 3.0.4<br \/>\nPhalcon Version: 3.0.3<br \/>\nAdminLTE Version: 2.3.6<br \/>\nOS: Linux teddy-K43SJ 4.4.0-62-generic #83 14.04.1-Ubuntu SMP Wed Jan 18 18:10:30 UTC 2017 x86_64<br \/>\nPHP Version: 5.6.30-1+deb.sury.org~trusty+1<br \/>\nPHP SAPI: apache2handler&#8221;<br \/>\nI&#8217;M WAITING THE ANSWER!!!<\/p>\n<p><strong>Test Phalcon (<a href=\"https:\/\/docs.phalconphp.com\/en\/latest\/reference\/tools.html\">https:\/\/docs.phalconphp.com\/en\/latest\/reference\/tools.html<\/a>)<br \/>\nGenerating Controllers<\/strong><br \/>\nThe command \u201ccreate-controller\u201d generates controller skeleton structures. It\u2019s important to invoke this command inside a directory that already has a Phalcon project.<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/store$ phalcon create-controller --name test\r\n\r\nPhalcon DevTools (3.0.4)\r\n\r\n                                                        \r\n  Success: Controller \"test\" was successfully created.  \r\n                                                        \r\n\/home\/teddy\/Documents\/works\/phalcon\/store\/app\/controllers\/TestController.php<\/pre>\n<p>This is the content of \/store\/app\/controllers\/TestController.php<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\r\nclass TestController extends \\Phalcon\\Mvc\\Controller\r\n{\r\n    public function indexAction()\r\n    {\r\n\r\n    }\r\n}<\/pre>\n<p>Modify the above controller like this:<\/p>\n<pre class=\"lang:default decode:true \">...\r\npublic function indexAction()\r\n{\r\n    echo \"&lt;h1&gt;Test Test Test&lt;\/h1&gt;\";\r\n}\r\n...<\/pre>\n<p>Then open it on your browser: http:\/\/localhost\/works\/phalcon\/store\/test<br \/>\nResult of the test controller:<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-test-controller.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1785\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-test-controller.png\" alt=\"\" width=\"362\" height=\"142\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-test-controller.png 362w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-test-controller-300x118.png 300w\" sizes=\"auto, (max-width: 362px) 85vw, 362px\" \/><\/a><br \/>\nCreate a new database &#8216;phalcon_store&#8217; (via phpmyadmin)<br \/>\n<strong>Preparing Database Settings<\/strong><br \/>\nWhen a project is generated using developer tools. A configuration file can be found in app\/config\/config.php (NOT config.ini file).<\/p>\n<pre class=\"lang:default decode:true \">...\r\nreturn new \\Phalcon\\Config([\r\n    'database' =&gt; [\r\n        'adapter'     =&gt; 'Mysql',\r\n        'host'        =&gt; 'localhost',\r\n        'username'    =&gt; 'root',\r\n        'password'    =&gt; 'teddy',\r\n        'dbname'      =&gt; 'phalcon_store',\r\n        'charset'     =&gt; 'utf8',\r\n    ],\r\n    'application' =&gt; [\r\n        'appDir'         =&gt; APP_PATH . '\/',\r\n        'controllersDir' =&gt; APP_PATH . '\/controllers\/',\r\n        'modelsDir'      =&gt; APP_PATH . '\/models\/',\r\n        'migrationsDir'  =&gt; APP_PATH . '\/migrations\/',\r\n        'viewsDir'       =&gt; APP_PATH . '\/views\/',\r\n        'pluginsDir'     =&gt; APP_PATH . '\/plugins\/',\r\n        'libraryDir'     =&gt; APP_PATH . '\/library\/',\r\n        'cacheDir'       =&gt; BASE_PATH . '\/cache\/',\r\n\r\n        \/\/ This allows the baseUri to be understand project paths that are not in the root directory\r\n        \/\/ of the webpspace.  This will break if the public\/index.php entry point is moved or\r\n        \/\/ possibly if the web server rewrite rules are changed. This can also be set to a static path.\r\n        'baseUri'        =&gt; preg_replace('\/public([\\\/\\\\\\\\])index.php$\/', '', $_SERVER[\"PHP_SELF\"]),\r\n    ]\r\n]);<\/pre>\n<p>To generate models or scaffold, you will need to change the settings used to connect to your database. I CAN&#8217;T USE DEVTOOL FOR CREATING MODEL LIKE I SAID ABOVE, SO I&#8217;LL DO IT MANUALLY! SO create a new file &#8216;Products.php&#8217; in \/app\/models\/ directory. I also added setter\/getter methods<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\r\nuse Phalcon\\Mvc\\Model;\r\n\r\nclass Products extends Model\r\n{\r\n    \/**\r\n     * @var integer\r\n     *\/\r\n    protected $id;\r\n\r\n    \/**\r\n     * @var integer\r\n     *\/\r\n    protected $typesId;\r\n\r\n    \/**\r\n     * @var string\r\n     *\/\r\n    protected $name;\r\n\r\n    \/**\r\n     * @var string\r\n     *\/\r\n    protected $price;\r\n\r\n    \/**\r\n     * @var integer\r\n     *\/\r\n    protected $quantity;\r\n\r\n    \/**\r\n     * @var string\r\n     *\/\r\n    protected $status;\r\n\r\n\r\n    \/**\r\n     * Method to set the value of field id\r\n     *\r\n     * @param integer $id\r\n     *\/\r\n    public function setId($id)\r\n    {\r\n        $this-&gt;id = $id;\r\n    }\r\n\r\n    \/**\r\n     * Method to set the value of field typesId\r\n     *\r\n     * @param integer $typesId\r\n     *\/\r\n    public function setTypesId($typesId)\r\n    {\r\n        $this-&gt;typesId = $typesId;\r\n    }\r\n\r\n    \/\/ ...\r\n\r\n    \/**\r\n     * Returns the value of field status\r\n     *\r\n     * @return string\r\n     *\/\r\n    public function getStatus()\r\n    {\r\n        return $this-&gt;status;\r\n    }\r\n}<\/pre>\n<p>SCAFFOLD ALSO SEEMS DONT WORK VIA DEVTOOLS!<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/store$ phalcon scaffold --table-name products\r\n\r\nPhalcon DevTools (3.0.4)\r\n\r\n                                                                                         \r\n  Error: Table 'products' doesn't exist in database when dumping meta-data for Products<\/pre>\n<p>SO FOR SAVING TIME, I DOWNLOAD THE WORKING CODE FROM https:\/\/github.com\/gsokolowski\/ph-store. &#8211;&gt; THE LOOKS STILL SAME WITH MINE. NO DIFFERENT. ONLY SHOW &#8216;Congratulation.<br \/>\nHERE IS LOCAL PHALCON PROJECT WORKING: http:\/\/localhost\/works\/phalcon\/invo. &#8211;&gt;LEARN THIS!<\/p>\n<p>NOTES:<br \/>\nI found when the first time the page is loaded (index.php in \/public\/ dir), it&#8217;d be referred to \/app\/views\/index.volt. then content &#8220;{{ content }}&#8221; would be picked up from \/app\/views\/index\/index.volt. We can modify this file to change the frontend content<\/p>\n<pre class=\"lang:default decode:true \">{{ content() }}\r\n\r\n&lt;div class=\"jumbotron\"&gt;\r\n    &lt;h1&gt;Welcome to INVO&lt;\/h1&gt;\r\n    &lt;p&gt;INVO is a revolutionary application to create invoices online for free.\r\n    Receive online payments from your clients and improve your cash flow&lt;\/p&gt;\r\n    &lt;p&gt;{{ link_to('register', 'Try it for Free &amp;raquo;', 'class': 'btn btn-primary btn-large btn-success') }}&lt;\/p&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;div class=\"row\"&gt;\r\n    &lt;div class=\"col-md-4\"&gt;\r\n        &lt;h2&gt;Manage Invoices Online&lt;\/h2&gt;\r\n        &lt;p&gt;Create, track and export your invoices online. Automate recurring invoices and design your own invoice using our invoice template and brand it with your business logo. &lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4\"&gt;\r\n        &lt;h2&gt;Dashboards And Reports&lt;\/h2&gt;\r\n        &lt;p&gt;Gain critical insights into how your business is doing. See what sells most, who are your top paying customers and the average time your customers take to pay.&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4\"&gt;\r\n        &lt;h2&gt;Invite, Share And Collaborate&lt;\/h2&gt;\r\n        &lt;p&gt;Invite users and share your workload as invoice supports multiple users with different permissions. It helps your business to be more productive and efficient. &lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>Here is the looks (http:\/\/localhost\/works\/phalcon\/store\/)<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-front.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1790\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-front-1024x444.png\" alt=\"\" width=\"840\" height=\"364\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-front-1024x444.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-front-300x130.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-front-768x333.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/02\/phalcon-front.png 1177w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Reference: https:\/\/docs.phalconphp.com\/en\/latest\/reference\/linuxtools.html Developer Tools These tools are a collection of useful scripts to generate skeleton code. Core components of your application can be generated with a simple command, allowing you to easily develop applications using Phalcon. Make sure the phalcon module already installed. Installation of Phalcon Developer Tools for Linux: Clone the tools teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ git &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/02\/09\/phalcon-developer-tools-on-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Phalcon Developer Tools on Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,48,17,18],"tags":[],"class_list":["post-1774","post","type-post","status-publish","format-standard","hentry","category-phalcon","category-php-2","category-ubuntu","category-ubuntu-14-04"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=1774"}],"version-history":[{"count":11,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1774\/revisions"}],"predecessor-version":[{"id":1791,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1774\/revisions\/1791"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=1774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=1774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=1774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}