<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Web Development on Mazer.dev</title><link>https://mazer.dev/en/categories/web-development/</link><description>Recent content in Web Development on Mazer.dev</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2016-2025 Ademir Mazer Junior. All Rights Reserved.</copyright><lastBuildDate>Sun, 15 Dec 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://mazer.dev/en/categories/web-development/index.xml" rel="self" type="application/rss+xml"/><item><title>How to resolve the error: SoftException in Application.cpp 267 File /home/public_html/index.php is writeable by group</title><link>https://mazer.dev/en/php/posts/how-resolve-error-softexception-application-cpp/</link><pubDate>Sun, 15 Dec 2024 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/php/posts/how-resolve-error-softexception-application-cpp/</guid><description><![CDATA[<p>The error &ldquo;SoftException in Application.cpp:267: File &lsquo;/home/username/public_html/index.php&rsquo; is writeable by group&rdquo; frequently occurs on servers using cPanel, especially when the environment is configured with the suPHP PHP handler. This handler requires strict permissions for files and directories, and excessive permissions can trigger security errors.</p>
<p>In this article, we cover how to identify and fix this problem using chmod and chown, common tools for managing
files and permissions in Linux.</p>

<h2 id="understanding-the-softexception-in-applicationcpp-error" data-numberify>Understanding the SoftException in Application.cpp error<a class="anchor ms-1" href="#understanding-the-softexception-in-applicationcpp-error"></a></h2>
<ol>
<li><strong>Inappropriate Permissions</strong>: Files configured as group-writable (for example, with permissions <code>0666</code>) pose a security risk and are not supported by some environments configured with suPHP or other security restrictions.</li>
<li><strong>Incorrect ownership</strong>: If files are not assigned to the correct user, this can also lead to permission conflicts.</li>
<li><strong>Server Configuration</strong>: Changes to the PHP handler (from DSO to suPHP) make permissions stricter. In suPHP, files need to be owner-readable and write-safe by third parties.</li>
</ol>

<h2 id="resolving-the-softexception-in-applicationcpp-error" data-numberify>Resolving the SoftException in Application.cpp error<a class="anchor ms-1" href="#resolving-the-softexception-in-applicationcpp-error"></a></h2>
<p>Some ways to resolve the SoftException in Application.cpp error include:</p>]]></description><enclosure url="https://mazer.dev/images/php/index-writeable-by-group.jpg" length="417252" type="image/.jpg"/></item><item><title>What are code quality tools ?</title><link>https://mazer.dev/en/software-engineering/code-quality/tools/</link><pubDate>Fri, 05 Apr 2024 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/software-engineering/code-quality/tools/</guid><description><![CDATA[<p>Code quality tools are designed to help developers and teams maintain healthy codebases, promote consistency, and
catch  potential problems before they become real issues.</p>
<p>Code quality tools are essential in the development of software, serving as the vigilant sentinaries that ensure
your codebase is not only efficient and bug-free but also adheres to the best practices and standards of coding.</p>
<p>These tools can enhance the maintainability, readability, and performance of the software you develop, making the
codebase more accessible and easier to manage for both current and future developers. One of their primary goals is
to ensure standards throughout the codebase across all your teams.</p>]]></description></item><item><title>What is HTTP Session</title><link>https://mazer.dev/en/http/sessions/</link><pubDate>Sat, 12 Aug 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/http/sessions/</guid><description>&lt;p>An HTTP session is a sequence of network request-response transactions. When a user logs into a web application, for
example, an HTTP session is created to keep track of the user across multiple requests.&lt;/p>
&lt;p>Session support allows you to register an arbitrary number of variables that will be preserved between requests.
Each new visitor to your website receives a unique identifier, called a session ID. This is saved in a user-side
cookie or propagated via URL.&lt;/p></description><enclosure url="https://mazer.dev/images/http/http-sessions.webp" length="42116" type="image/.webp"/></item><item><title>Solving Laravel Livewire's asset_url issue with Filament Admin Panel</title><link>https://mazer.dev/en/laravel/filament/solving-laravel-livewire-asset_url-issue-filament-admin-panel/</link><pubDate>Sat, 08 Jul 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/filament/solving-laravel-livewire-asset_url-issue-filament-admin-panel/</guid><description><![CDATA[<p>Often, after installing the <strong>Filament Admin Panel</strong> package in a fresh Laravel project, you may run into a recurring problem. The <code>login</code> page keeps reloading without any error, and a question mark &ldquo;?&rdquo; gets appended to the URL each time.</p>
<p>This issue is likely to occur when you attempt to access the login page via the <code>localhost</code> URL, and it also
persists when you push the application live on a production server.</p>]]></description><enclosure url="https://mazer.dev/en/laravel/filament/solving-laravel-livewire-asset_url-issue-filament-admin-panel/featured-404-livewire-error-filament-login.webp" length="356792" type="image/webp"/></item><item><title>PHP Composer, error: Invalid version string</title><link>https://mazer.dev/en/php/posts/php-composer-error-invalid-version-string/</link><pubDate>Sun, 18 Jun 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/php/posts/php-composer-error-invalid-version-string/</guid><description><![CDATA[<p>Recently working with <code>PHP Composer</code> on a project that is based on the Laravel framework, I came across the error:
<strong>Invalid version string</strong>. More precisely when performing the attempt to install a <a href="/en/laravel/">Laravel package</a> that allows me to use models with the logical strategy of Eloquent to access <a href="/en/tags/mongodb/">MongoDB databases</a>.</p>
<p>The package name is <code>Laravel MongoDB</code>, created by Jens Segers, and can be found in the Github <a href="https://github.com/jenssegers" target="_blank" rel="noopener noreferrer">jenssegers repository<i class="fas fa-external-link-square-alt ms-1"></i></a>
<strong><a href="https://github.com/jenssegers/laravel-mongodb" target="_blank" rel="noreferrer noopener">laravel-mongodb</strong></a>.</p>]]></description><enclosure url="https://mazer.dev/images/php/software-bug.webp" length="40104" type="image/.webp"/></item><item><title>Increasing the Memory Limit in PHP for WordPress</title><link>https://mazer.dev/en/php/posts/increasing-memory-limit-php-wordpress/</link><pubDate>Sun, 18 Jun 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/php/posts/increasing-memory-limit-php-wordpress/</guid><description>&lt;p>Since WordPress is a CMS (Content Management System) with the possibility of using external themes and plugins, it is common for some errors to happen after the installation, even for testing, of a new extension of this nature on your site.&lt;/p>
&lt;p>It is also susceptible to some errors when a PHP or Apache or Nginx version upgrade occurs, due to the complexity of keeping all these plugins and themes up to date and with compatibility with the most current versions of these softwares.&lt;/p></description><enclosure url="https://mazer.dev/en/php/posts/increasing-memory-limit-php-wordpress/featured-wordpress.png" length="50485" type="image/png"/></item><item><title>Executing protected and private methods in PHP</title><link>https://mazer.dev/en/php/posts/executing-protected-private-methods-php/</link><pubDate>Sun, 18 Jun 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/php/posts/executing-protected-private-methods-php/</guid><description>&lt;p>Private and protected methods should not be accessed outside the permissible scope of class or subclasses. But there are some situations where this is necessary, for me in some contexts of automated testing (unit or integration), or in others where I am implementing a feature and want to perform punctual executions to verify behaviors.&lt;/p>
&lt;p>Regardless of why, and the good practice guideline in which I would claim, do not call private or protected methods outside of their scopes, several languages provide support for this possibility.&lt;/p></description><enclosure url="https://mazer.dev/en/php/posts/executing-protected-private-methods-php/featured-private.jpeg" length="192600" type="image/jpeg"/></item><item><title>How to create Copyright date with automatic year on your blog or website with PHP, WordPress and Laravel</title><link>https://mazer.dev/en/php/posts/how-create-copyright-date-with-automatic-year-php-wordpress-laravel/</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/php/posts/how-create-copyright-date-with-automatic-year-php-wordpress-laravel/</guid><description><![CDATA[<p>Adding the copyright information with the current year in the footer of websites and blogs is important to convey to
your audience the information that the content they find is &ldquo;alive&rdquo; and updated on this site. It is also interesting
to add the year of the beginning of the site, the more information about the maturity and evolution of the blog, the
more credibility it will pass to the reader.</p>]]></description><enclosure url="https://mazer.dev/en/php/posts/how-create-copyright-date-with-automatic-year-php-wordpress-laravel/featured-copyright.webp" length="53250" type="image/webp"/></item><item><title>How to resolve the error "iconv(): Wrong charset, conversion from UTF7-IMAP to UTF-8//IGNORE is not allowed" on PHP and Laravel</title><link>https://mazer.dev/en/php/posts/how-resolve-error-iconv-wrong-charset-conversion-from-utf7-imap-utf8-ignore-not-allowed/</link><pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/php/posts/how-resolve-error-iconv-wrong-charset-conversion-from-utf7-imap-utf8-ignore-not-allowed/</guid><description><![CDATA[<p>When working with different character encodings in PHP and Laravel, you might encounter errors on charset convertion like the following: <code>iconv(): Wrong charset, conversion from 'UTF7-IMAP' to 'UTF-8//IGNORE' is not allowed</code></p>
<p>This error occurs when attempting to use the iconv() function to convert a string from the &lsquo;UTF7-IMAP&rsquo; charset to &lsquo;UTF-8//IGNORE&rsquo; charset. In this article, we&rsquo;ll explore the possible causes of this error and provide solutions to fix it.</p>

<h2 id="causes-of-the-error-iconv-wrong-charset-conversion-from-utf7-imap-to-utf-8ignore-is-not-allowed" data-numberify>Causes of the Error iconv(): Wrong charset, conversion from ‘UTF7-IMAP’ to ‘UTF-8//IGNORE’ is not allowed<a class="anchor ms-1" href="#causes-of-the-error-iconv-wrong-charset-conversion-from-utf7-imap-to-utf-8ignore-is-not-allowed"></a></h2>
<p>There could be a few possible reasons for this error:</p>]]></description><enclosure url="https://mazer.dev/en/php/posts/how-resolve-error-iconv-wrong-charset-conversion-from-utf7-imap-utf8-ignore-not-allowed/featured-wrong-charset-php.webp" length="95066" type="image/webp"/></item><item><title>How to resolve the error "Call to undefined function mb_strcut()" on Laravel</title><link>https://mazer.dev/en/laravel/troubleshooting/how-resolve-error-call-to-undefined-function-mb_strcut-php-laravel/</link><pubDate>Tue, 21 Mar 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/troubleshooting/how-resolve-error-call-to-undefined-function-mb_strcut-php-laravel/</guid><description><![CDATA[<p>The error &ldquo;Call to undefined function mb_strcut()&rdquo; typically occurs with PHP softwares or Laravel projects, when the PHP Multibyte String (mbstring) extension is not installed or enabled in your server environment. Laravel requires this extension for string manipulation with multi-byte characters. To resolve this error, you need to install and enable the mbstring extension.</p>
<p>Here are the steps to do this on various platforms:</p>

<h2 id="fix-call-to-undefined-function-mb_strcut-on-linux-ubuntu--linunx-debian--linux-mint" data-numberify>Fix “Call to undefined function mb_strcut()” on Linux Ubuntu / Linunx Debian / Linux Mint:<a class="anchor ms-1" href="#fix-call-to-undefined-function-mb_strcut-on-linux-ubuntu--linunx-debian--linux-mint"></a></h2>
<p>To install and enable the mbstring extension, run the following commands:</p>]]></description><enclosure url="https://mazer.dev/en/laravel/troubleshooting/how-resolve-error-call-to-undefined-function-mb_strcut-php-laravel/featured-call-to-undefined-function-mb-strcut.webp" length="55348" type="image/webp"/></item><item><title>How to solve in Laravel: oauth-private.key does not exist or is not readable</title><link>https://mazer.dev/en/laravel/troubleshooting/how-solve-laravel-oauth-private-key-does-not-exist-or-is-not-readable-copy/</link><pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/troubleshooting/how-solve-laravel-oauth-private-key-does-not-exist-or-is-not-readable-copy/</guid><description><![CDATA[<p>In Laravel when you try to run <code>php artisan</code>, you may sometimes encounter the error: <code>Unable to read key from file file:///var/www/mysite/storage/oauth-private.key at vendor/league/oauth2-server/src/CryptKey.php:64</code>.</p>
<p>This error occurs when Laravel cannot find or access the private key file (<strong>oauth-private.key</strong>) used for the OAuth2 authentication. To resolve this issue, follow the steps provided in this post.</p>

<h2 id="fixing-oauth-privatekey-does-not-exist-or-is-not-readable" data-numberify>Fixing: oauth-private.key does not exist or is not readable<a class="anchor ms-1" href="#fixing-oauth-privatekey-does-not-exist-or-is-not-readable"></a></h2>
<p>To solve this issue, follow these steps:</p>]]></description><enclosure url="https://mazer.dev/en/laravel/troubleshooting/how-solve-laravel-oauth-private-key-does-not-exist-or-is-not-readable-copy/featured-private-key-not-found.jpg" length="417771" type="image/jpeg"/></item><item><title>PHP Framework Laravel – What is</title><link>https://mazer.dev/en/laravel/b1-course/laravel-framework-what-is/</link><pubDate>Sat, 25 Feb 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/b1-course/laravel-framework-what-is/</guid><description><![CDATA[<p>PHP <a href="https://laravel.com" target="_blank" rel="noreferrer noopener">Laravel</a> is an application framework based on a <em>Open Source</em> Code, aimed at developing web systems with expressive and elegant syntax. It is developed in PHP, being easily adopted and learning.</p>
<div class="alert alert-info" role="alert"><i class="alert-icon fas fa-fw fa-info-circle me-1"></i>
<p>Its first public version was a beta released in mid-2009.</p>
</div>
<p>Its web structure provides an infrastructure and starting point for creating your app, allowing you to focus on your software&rsquo;s business rules.</p>
<p>Let <a href="/en/laravel/b1-course/framework-laravel-architecture-components/">framework take care of the details</a> such as data sanitization, user input validation rules, HTTP request header treatment, HTTP response structure formatting, among many other technical features.</p>]]></description><enclosure url="https://mazer.dev/en/laravel/b1-course/laravel-framework-what-is/featured-laravel-logo.png" length="8776" type="image/png"/></item><item><title>PHP Laravel Framework Architecture Components</title><link>https://mazer.dev/en/laravel/b1-course/framework-laravel-architecture-components/</link><pubDate>Wed, 22 Feb 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/b1-course/framework-laravel-architecture-components/</guid><description><![CDATA[<p>Every development framework delivers standardized architecture to organize the activity of software project teams with good programming practices. With Laravel framework this is no different, and in this article you will have an overview of the components that make up your architecture.</p>
<p>Note that for each component of the Laravel PHP described here, a specific article may be suggested for deepening and learning in the use of it.</p>
<div class="alert alert-info" role="alert"><i class="alert-icon fas fa-fw fa-info-circle me-1"></i>
<p>If you don&rsquo;t know the Laravel framework, start with the article:</p>]]></description><enclosure url="https://mazer.dev/en/laravel/b1-course/framework-laravel-architecture-components/featured-laravel.png" length="30091" type="image/png"/></item><item><title>How to fix Laravel Class Not Found Error running "php artisan migrate:rollback"</title><link>https://mazer.dev/en/laravel/troubleshooting/como-resolver-erro-laravel-class-not-found-em-php-artisan-migrate-rollback/</link><pubDate>Fri, 17 Feb 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/troubleshooting/como-resolver-erro-laravel-class-not-found-em-php-artisan-migrate-rollback/</guid><description><![CDATA[<p>If you are geting the error <code>class not found</code> when executing the command <code>php artisan migrate:rollback</code> in a project with the <a href="/en/componentes-de-arquitetura-do-framework-laravel/">Laravel framework</a>, this article shows how to solve the error and execute rollback.</p>

<h2 id="migrations" data-numberify>Migrations<a class="anchor ms-1" href="#migrations"></a></h2>
<p>When working with <em>Migations</em>, the migrations of databases in the <a href="/en/instalar-aplicacao-laravel-em-subdiretorio-com-cpanel/">Laravel</a>, mainly in the initial development phase of a project, it is often used the execution of migrations with the command <code>php artisan migrate</code>.</p>
<p>It is also common to back down migrations to make hits on <em>migration</em> scripts without the need to create new portions of code to change tables, so the return on migrations for improvements in the database structure is generated with the command <code>php artisan migrate:rollback</code>.</p>]]></description></item><item><title>How to fix the errno 150 "Foreign key constraint is incorrectly formed" on Laravel Migration</title><link>https://mazer.dev/en/laravel/troubleshooting/laravel-migration-foreign-key-incorrectly-formed/</link><pubDate>Tue, 03 Jan 2023 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/troubleshooting/laravel-migration-foreign-key-incorrectly-formed/</guid><description><![CDATA[<p>Sometimes when running a Laravel Migration you get the error: <code>errno 150 &quot;Foreign key constraint is incorrectly formed&quot;</code>. This error is mainly caused because your foreign key column is declared in a different data type that is the related key column on source table.</p>

<h2 id="main-cause-of-the-error-errno-150-foreign-key-constraint-is-incorrectly-formed" data-numberify>Main cause of the error “errno 150: Foreign key constraint is incorrectly formed”<a class="anchor ms-1" href="#main-cause-of-the-error-errno-150-foreign-key-constraint-is-incorrectly-formed"></a></h2>
<p>The most common cause to the error is that the foreign key column is created with the wrong type, related to referenced primary column.</p>]]></description><enclosure url="https://mazer.dev/en/laravel/troubleshooting/laravel-migration-foreign-key-incorrectly-formed/featured-key.webp" length="42768" type="image/webp"/></item><item><title>Backup and Restore of MySQL, Mariadb and PostgreSQL databases in Docker Laradock</title><link>https://mazer.dev/en/docker/laradock/backup-restore-databases-docker-laradock/</link><pubDate>Wed, 12 Oct 2022 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/docker/laradock/backup-restore-databases-docker-laradock/</guid><description><![CDATA[<p>As with any essential software project back up database data, as well as restore these backups, your MySQL or Mariadb databases, as well as PostgreSQL.</p>
<p>When you are working with the developmental environment of your Laravel PHP projects in Laradock Docker containers, it is important to understand how the directories and files structure is configured in Docker.</p>

<h2 id="where-are-the-database-files-at-docker-laradock" data-numberify>Where are the database files at Docker Laradock<a class="anchor ms-1" href="#where-are-the-database-files-at-docker-laradock"></a></h2>
<p>In Docker the files manipulated in their containers may exist only during the time of execution, or have
shared volumes with the host operating system.</p>]]></description></item><item><title>Web and Mobile Software Development Environment in Linux</title><link>https://mazer.dev/en/blog/posts/software-development-environment-in-linux/</link><pubDate>Tue, 19 Jul 2022 19:33:23 +0000</pubDate><guid>https://mazer.dev/en/blog/posts/software-development-environment-in-linux/</guid><description><![CDATA[<p>If you want to set up the <s>Best</s> environment for software development in <a href="https://linuxmint.com/" target="_blank" rel="noopener noreferrer">Linux Mint<i class="fas fa-external-link-square-alt ms-1"></i></a> (or Ubuntu and other Debian based distros), this is the right article for this.</p>
<p>Every software developer organizes their development environment for programming using a mix of technologies and tools to use to program, improve productivity and that has their personal preferences.</p>
<p>In this post I&rsquo;ll show you how I organize my development environment, starting telling you that there is no best but the most appropriate development environment.Here I show <s>the</s> my best operating system configuration, programming and other tools according to my context, but it can help you in yours.</p>]]></description></item><item><title>VSCode extensions for developers</title><link>https://mazer.dev/en/blog/posts/vscode-extensions-for-developers/</link><pubDate>Sat, 09 Jul 2022 14:25:25 +0000</pubDate><guid>https://mazer.dev/en/blog/posts/vscode-extensions-for-developers/</guid><description><![CDATA[<p>Visual Studio Code, or VSCode, is one of the most popular source code editors (IDE) that software developers use. To increase the productivity of your software development project, you can (should) use the best extensions for VSCode. Weel, I bring them to you in this article.</p>
<blockquote>
<p>Mark this article in your favorites, and follow me on my social networks, to know when it is updated with the best extensions for VSCode.</p>]]></description><enclosure url="https://mazer.dev/en/blog/posts/vscode-extensions-for-developers/featured-extensoes-vscode-marketplace.webp" length="75952" type="image/webp"/></item><item><title>Good practices to write clean code</title><link>https://mazer.dev/en/software-engineering/clean-code/boas-praticas/</link><pubDate>Sat, 02 Jul 2022 22:13:38 +0000</pubDate><guid>https://mazer.dev/en/software-engineering/clean-code/boas-praticas/</guid><description><![CDATA[<p>In this article I present tips for developing software, writing with good clean code practices, which generally means writing more readable code blocks in some more fluid and well -structured contexts.</p>
<p>There is a mistake on the part of junior -level developers that the &ldquo;concept&rdquo; of clean code almost translates into writing less code. In my experience, in addition to theoretical readings, a clean code is a code that follows good programming practices, standardization, which make it readable to other developers, or even to you in future maintenance.</p>]]></description></item><item><title>Troubleshooting "NumberFormatter Not Found" class error in Laravel PHP on Windows and Linux</title><link>https://mazer.dev/en/php/posts/laravel-php-class-numberformatter-not-found/</link><pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/php/posts/laravel-php-class-numberformatter-not-found/</guid><description><![CDATA[<p>If you have ever come across &ldquo;NumberFormatter Class Not Found&rdquo; error when installing a PHP Laravel application on a Windows or Linux server, this article will help you resolve this issue.</p>
<p>Let&rsquo;s explore in this article the cause for the error <code>class &quot;numberformatter&quot; not found</code> in PHP <a href="/en/laravel-framework-o-que-e/">Laravel</a>, and how to resolve it on both operating systems: Windows and Linux ( Debian, Ubuntu, Mint).</p>

<h2 id="cause-for-class-numberformatter-not-found-error-in-php-laravel" data-numberify>Cause for class “NumberFormatter Not Found” error in PHP Laravel<a class="anchor ms-1" href="#cause-for-class-numberformatter-not-found-error-in-php-laravel"></a></h2>
<p>When trying to install a Laravel application on a Windows or Linux server, it is common to face the error &ldquo;class NumberFormatter Not Found&rdquo;. This happens because the <code>php intl</code> extension, responsible for the <code>NumberFormatter</code> class, is not installed or enabled on the IIS Windows or Linux Apache or Nginx server.</p>]]></description><enclosure url="https://mazer.dev/en/php/posts/laravel-php-class-numberformatter-not-found/featured-class-numberformatter-not-found.webp" length="44804" type="image/webp"/></item><item><title>How to solve “COMPOSER_AUTH” does not match the expected JSON schema no Laradock</title><link>https://mazer.dev/en/docker/laradock/troubleshooting/how-solve-composer_auth-does-not-match-the-expected-json-schema/</link><pubDate>Sat, 18 Jun 2022 17:42:58 +0000</pubDate><guid>https://mazer.dev/en/docker/laradock/troubleshooting/how-solve-composer_auth-does-not-match-the-expected-json-schema/</guid><description><![CDATA[<p>When using <a href="/laradock-instalacao-e-configuracao/">Laradock</a>, by accessing the container <code>Workspace</code> I have sometimes received the following error when trying to execute PHP <code>composer</code>:</p>
<pre tabindex="0"><code class="language-bash"" data-lang="bash"">COMPOSER_AUTH&#34; does not match the expected JSON schema, this may result in errors and should be resolved:  
   - Boolean value found, but an object is required  
</code></pre><p>According to <a href="https://github.com/laradock/laradock/issues/3189" target="_blank" rel="noreferrer noopener">this issue</a>of Laradock project, the problem has being solves, but if you still come across it, there is a simple way to get around until you update your containers.</p>]]></description></item><item><title>Error on LaraDock with Mac Silicon computer (MacBook Pro M1) – Docker Desktop Apache2_1 exit with code 2</title><link>https://mazer.dev/en/docker/laradock/troubleshooting/mac-silicon-computer-macbook-pro-m1-docker-desktop-apache2_1-exit-code-2/</link><pubDate>Wed, 06 Apr 2022 01:55:16 +0000</pubDate><guid>https://mazer.dev/en/docker/laradock/troubleshooting/mac-silicon-computer-macbook-pro-m1-docker-desktop-apache2_1-exit-code-2/</guid><description><![CDATA[<p>In an installation of <a href="/en/docker/laradock/installation-and-configuration/">Laradock</a>, to run the Docker environment in a Mac Silicon Computer (MacBook Pro or M1) Following the steps below, Apache2 does not go up, showing error <code>exited code2</code>:</p>
<p><strong>Steps to reproduce</strong></p>
<ol>
<li>git clone <a href="mailto:git@github.com">git@github.com</a>:laradock/laradock.git</li>
<li>cd laradock</li>
<li>cp .env.example .env</li>
<li>docker-compose build workspace</li>
<li>docker-compose build apache2</li>
<li>docker-compose up apache2 workspace <strong>&ndash;&gt; Apache2_1 exited with code 2</strong></li>
</ol>

<h2 id="fixing-the-error-apache2-exited-code-2-with-docker-on-macos" data-numberify>Fixing the error Apache2 exited code 2 with Docker on MacOs<a class="anchor ms-1" href="#fixing-the-error-apache2-exited-code-2-with-docker-on-macos"></a></h2>
<p>To solve this problem you need to edit the <code>/apache2/dockerfile</code> file, found from the Laradock directory.</p>]]></description></item><item><title>How to Solve Laradock and Docker Error with Python Modules</title><link>https://mazer.dev/en/docker/laradock/troubleshooting/how-solve-laradock-docker-error-python-modules/</link><pubDate>Wed, 06 Apr 2022 01:40:07 +0000</pubDate><guid>https://mazer.dev/en/docker/laradock/troubleshooting/how-solve-laradock-docker-error-python-modules/</guid><description><![CDATA[<p>When trying to up Docker containers, using the distribution of <a href="/en/laradock-containers-docker-para-desenvolvimento-php-laravel/">Laradock</a>, with standard images of <code>apache2</code>, <code>redis</code>, <code>mariadb</code> e <code>workspace</code>, I came across the following list of errors.</p>
<p>Apparently the errors describe that Python modules are not available because it does not find the <code>*.py</code> files.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker-compose up -d apache2 redis mariadb workspace 
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1"># output</span>
</span></span><span class="line"><span class="cl">Traceback <span class="o">(</span>most recent call last<span class="o">)</span>:
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;urllib3/connectionpool.py&#34;</span>, line 670, in urlopen
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;urllib3/connectionpool.py&#34;</span>, line 392, in _make_request
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1255, in request
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1301, in _send_request
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1250, in endheaders
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1010, in _send_output
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 950, in send
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/transport/unixconn.py&#34;</span>, line 43, in connect
</span></span><span class="line"><span class="cl">FileNotFoundError: <span class="o">[</span>Errno 2<span class="o">]</span> No such file or directory
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">During handling of the above exception, another exception occurred:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Traceback <span class="o">(</span>most recent call last<span class="o">)</span>:
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;requests/adapters.py&#34;</span>, line 439, in send
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;urllib3/connectionpool.py&#34;</span>, line 726, in urlopen
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;urllib3/util/retry.py&#34;</span>, line 410, in increment
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;urllib3/packages/six.py&#34;</span>, line 734, in reraise
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;urllib3/connectionpool.py&#34;</span>, line 670, in urlopen
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;urllib3/connectionpool.py&#34;</span>, line 392, in _make_request
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1255, in request
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1301, in _send_request
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1250, in endheaders
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 1010, in _send_output
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;http/client.py&#34;</span>, line 950, in send
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/transport/unixconn.py&#34;</span>, line 43, in connect
</span></span><span class="line"><span class="cl">urllib3.exceptions.ProtocolError: <span class="o">(</span><span class="s1">&#39;Connection aborted.&#39;</span>, FileNotFoundError<span class="o">(</span>2, <span class="s1">&#39;No such file or directory&#39;</span><span class="o">))</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">During handling of the above exception, another exception occurred:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Traceback <span class="o">(</span>most recent call last<span class="o">)</span>:
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/api/client.py&#34;</span>, line 214, in _retrieve_server_version
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/api/daemon.py&#34;</span>, line 181, in version
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/utils/decorators.py&#34;</span>, line 46, in inner
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/api/client.py&#34;</span>, line 237, in _get
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;requests/sessions.py&#34;</span>, line 543, in get
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;requests/sessions.py&#34;</span>, line 530, in request
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;requests/sessions.py&#34;</span>, line 643, in send
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;requests/adapters.py&#34;</span>, line 498, in send
</span></span><span class="line"><span class="cl">requests.exceptions.ConnectionError: <span class="o">(</span><span class="s1">&#39;Connection aborted.&#39;</span>, FileNotFoundError<span class="o">(</span>2, <span class="s1">&#39;No such file or directory&#39;</span><span class="o">))</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">During handling of the above exception, another exception occurred:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Traceback <span class="o">(</span>most recent call last<span class="o">)</span>:
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker-compose&#34;</span>, line 3, in &lt;module&gt;
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;compose/cli/main.py&#34;</span>, line 81, in main
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;compose/cli/main.py&#34;</span>, line 200, in perform_command
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;compose/cli/command.py&#34;</span>, line 60, in project_from_options
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;compose/cli/command.py&#34;</span>, line 152, in get_project
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;compose/cli/docker_client.py&#34;</span>, line 41, in get_client
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;compose/cli/docker_client.py&#34;</span>, line 170, in docker_client
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/api/client.py&#34;</span>, line 197, in __init__
</span></span><span class="line"><span class="cl">  File <span class="s2">&#34;docker/api/client.py&#34;</span>, line 221, in _retrieve_server_version
</span></span><span class="line"><span class="cl">docker.errors.DockerException: Error <span class="k">while</span> fetching server API version: <span class="o">(</span><span class="s1">&#39;Connection aborted.&#39;</span>, FileNotFoundError<span class="o">(</span>2, <span class="s1">&#39;No such file or directory&#39;</span><span class="o">))</span>
</span></span><span class="line"><span class="cl"><span class="o">[</span>8278<span class="o">]</span> Failed to execute script docker-compose
</span></span></code></pre></div>
<h2 id="fixing-docker-error-with-python" data-numberify>Fixing Docker Error with Python<a class="anchor ms-1" href="#fixing-docker-error-with-python"></a></h2>
<p>Despite an extensive list of errors and poorly descriptive messages, the solution is extremely simple:</p>]]></description></item><item><title>How to install VSCode on Linux Ubuntu and Mint</title><link>https://mazer.dev/en/blog/posts/how-to-install-vscode-on-linux-ubuntu-mint/</link><pubDate>Wed, 08 Dec 2021 01:15:46 +0000</pubDate><guid>https://mazer.dev/en/blog/posts/how-to-install-vscode-on-linux-ubuntu-mint/</guid><description><![CDATA[<p>Dive into this comprehensive guide on &ldquo;How to install VSCode on Linux Ubuntu&rdquo; and &ldquo;How to install VSCode on Linux
Mint&rdquo;. We&rsquo;ll walk you through the straightforward steps to install Microsoft&rsquo;s Visual Studio Code, commonly known as
VSCode, on these popular Linux distributions. Whether you&rsquo;re using Ubuntu, Mint, or any other Debian-based Linux
distribution, we&rsquo;ve got you covered with the official packages for a seamless installation experience.</p>

<h2 id="what-is-vscode-the-visual-studio-code" data-numberify>What is VSCode, the Visual Studio Code<a class="anchor ms-1" href="#what-is-vscode-the-visual-studio-code"></a></h2>
<p>Visual Studio Code, or simply VSCode, is a mild source code editor that provides comprehensive support and easy understanding for editing, navigation and code clearance.</p>]]></description><enclosure url="https://mazer.dev/en/blog/posts/how-to-install-vscode-on-linux-ubuntu-mint/featured-vscode.webp" length="5828" type="image/webp"/></item><item><title>How to fill the file upload input field with old data, in PHP and Laravel</title><link>https://mazer.dev/en/laravel/posts/how-fill-file-upload-input-field-with-old-data-php-laravel/</link><pubDate>Sat, 04 Dec 2021 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/posts/how-fill-file-upload-input-field-with-old-data-php-laravel/</guid><description>&lt;p>After validating data entry forms, which return to the user with information from the errors that should be corrected, the best practice is to fill the fields with the last (old) values, but is not possible to apply this techinique to upload field files, both in Laravel PHP and in any other language.&lt;/p>
&lt;p>This is a browse safety measure to avoid malicious programs to try to fool the user by forcing them to upload files with sensitive data.&lt;/p></description><enclosure url="https://mazer.dev/en/laravel/posts/how-fill-file-upload-input-field-with-old-data-php-laravel/featured-image-upload-scaled.webp" length="70246" type="image/webp"/></item><item><title>GIT - Semantic Commits</title><link>https://mazer.dev/en/git/best-practices/git-semantic-commits/</link><pubDate>Fri, 26 Nov 2021 01:40:21 +0000</pubDate><guid>https://mazer.dev/en/git/best-practices/git-semantic-commits/</guid><description><![CDATA[<h2 id="what-are-semantic-commits-or-conventional-commits" data-numberify>What are “semantic commits” or “conventional commits”<a class="anchor ms-1" href="#what-are-semantic-commits-or-conventional-commits"></a></h2>
<p><strong>Semantic Commits</strong>, also known as <strong>conventional commits</strong>, are the best way to document your implementation of applications, as you check context to the management of change of your source code. Semantic commits are considered good practice in the use of GIT as much as other VCs (code versioning systems).</p>

<h2 id="why-to-use-semantic-commits" data-numberify>Why to use semantic commits<a class="anchor ms-1" href="#why-to-use-semantic-commits"></a></h2>
<p>You should write in a GIT commit message not only what you have done, but also specifying <strong>WHY</strong> you have done that.</p>]]></description><enclosure url="https://mazer.dev/en/git/best-practices/git-semantic-commits/featured-conventional-commit.webp" length="52794" type="image/webp"/></item><item><title>How to resolve slow Git conections with SSH in Github, Gitlab or Bitbucket</title><link>https://mazer.dev/en/git/troubleshooting/how-to-fix-slow-ssh-git-with-github-gitlab-bitbucket/</link><pubDate>Wed, 17 Nov 2021 19:13:09 +0000</pubDate><guid>https://mazer.dev/en/git/troubleshooting/how-to-fix-slow-ssh-git-with-github-gitlab-bitbucket/</guid><description><![CDATA[<p>To fix push and pull slow <a href="/en/git/">GIT commands</a>, when we are using <code>SSH</code> keys with the Github, Gitlab and Bitbucket repository services, you need to change the IP version setting used.</p>
<p>I allways use the <a href="/en/http/http-protocol-overview/">HTTPS</a> connections of the source codes repository services, especially for the practicality of using services on any machine without the need to create SSH keys to the GIT connection.</p>
<p>However, the connection speed has become a problem, especially after Github and Bitbucket forcing interaction with their repositories through SSH keys.</p>]]></description></item><item><title>How to fix Eslint's error ‘Unexpected string concatenation’</title><link>https://mazer.dev/en/blog/posts/how-to-fix-eslint-unexpected-string-concatenation-error/</link><pubDate>Thu, 28 Oct 2021 23:43:35 +0000</pubDate><guid>https://mazer.dev/en/blog/posts/how-to-fix-eslint-unexpected-string-concatenation-error/</guid><description><![CDATA[<p>By executing ESLINT in a JavaScript code, Nodejs or Expressjs, we can find the error &ldquo;unexpected string concatenation&rdquo; or &ldquo;Unexpeted String Concatenation&rdquo;.</p>
<p>This lint points to a possible code that manipulates string concatenation, which was written in order to result in a difficult reading.</p>

<h2 id="solving-the-eslint-error-unexpected-string-concatenation" data-numberify>Solving the Eslint error “Unexpected string concatenation”<a class="anchor ms-1" href="#solving-the-eslint-error-unexpected-string-concatenation"></a></h2>
<p>In addition to being able to change your LINT configuration to correct the error &ldquo;<em>Unexpeted String Concatenation</em>&rdquo; when using Eslint as the linter in our JavaScript project, we should use &lt;a href = &ldquo;<a href="https://developer.mozilla.org/en-us/docs/web/javascript/reference/template_litals" target="_blank" rel="noopener noreferrer">https://developer.mozilla.org/en-us/docs/web/javascript/reference/template_litals<i class="fas fa-external-link-square-alt ms-1"></i></a> &ldquo;target =&rdquo;_ blank &ldquo;rel =&ldquo;noreferrer noopener&rdquo;&gt;Literal template</a> (model literals) instead of straight string concatenation.</p>]]></description><enclosure url="https://mazer.dev/en/blog/posts/how-to-fix-eslint-unexpected-string-concatenation-error/featured-lint-scaled.webp" length="25530" type="image/webp"/></item><item><title>Laravel database connection with Docker Laradock</title><link>https://mazer.dev/en/docker/laradock/database-laravel-connections-laradock/</link><pubDate>Tue, 21 Sep 2021 00:47:24 +0000</pubDate><guid>https://mazer.dev/en/docker/laradock/database-laravel-connections-laradock/</guid><description><![CDATA[<p>The Laravel database connection using Laradock is very straightforward and intuitive with MySQL or Mariadb database servers in a Laravel PHP project when using Laradock Project Docker containers.</p>
<p>But some tips and reminders are important to prevent you from wasting time when preparing your environment of developing a Laradock Laravel application that uses DBMs.</p>
<p>In this article I will exemplify in addition to configuration and connection, tips for importing mysql or mariadb SQL dumps from your host for the desired Container Docker.</p>]]></description><enclosure url="https://mazer.dev/en/docker/laradock/database-laravel-connections-laradock/featured-people-with-databases.webp" length="49688" type="image/webp"/></item><item><title>Laradock, Installation and Configuration</title><link>https://mazer.dev/en/docker/laradock/installation-and-configuration/</link><pubDate>Fri, 03 Sep 2021 19:43:07 +0000</pubDate><guid>https://mazer.dev/en/docker/laradock/installation-and-configuration/</guid><description><![CDATA[<p>Learn now how to install and configure Laradock, which is, as presented in the <a href="/en/docker/introduction/how-to-install-docker-and-docker-compose-on-linux-ubuntu-mint-debian/">Introductory Article</a>, a project for quick and simple configuration of PHP Web Systems Development Environments using Docker.</p>
<p>In this tutorial article, we will see more in detail how to install and configure a Laradock environment <s> to work by PHP project, that is, an installation for each project </s>. Or how to use an installation for multiple projects.</p>]]></description><enclosure url="https://mazer.dev/en/docker/laradock/installation-and-configuration/featured-laradock-laravel-docker.webp" length="28518" type="image/webp"/></item><item><title>Open data repositories for developers</title><link>https://mazer.dev/en/blog/posts/open-data-repositories-for-developers/</link><pubDate>Thu, 02 Sep 2021 00:00:00 +0000</pubDate><guid>https://mazer.dev/en/blog/posts/open-data-repositories-for-developers/</guid><description><![CDATA[<h2 id="awesome-data-table-references" data-numberify>Awesome Data Table References<a class="anchor ms-1" href="#awesome-data-table-references"></a></h2>
<p>Awesome Data Table References is a repository of my responsibility, where I curate references to open data tables from Brazilian and world institutions.</p>
<p>Whenever it is necessary to create a field of choice of municipalities, Brazilian states, search for zip code, identification by race or color, developers find themselves by building this data manually, often with various codes of base registration tables.</p>
<p>Currently the repository provides data files to download in original CSV, XLS, SDG, XML or JSON versions.</p>]]></description><enclosure url="https://mazer.dev/en/blog/posts/open-data-repositories-for-developers/featured-dados-brasil.webp" length="117522" type="image/webp"/></item><item><title>Domain extensions to use in local development</title><link>https://mazer.dev/en/blog/posts/extensoes-de-dominio-para-usar-em-desenvolvimento-local/</link><pubDate>Tue, 31 Aug 2021 14:57:54 +0000</pubDate><guid>https://mazer.dev/en/blog/posts/extensoes-de-dominio-para-usar-em-desenvolvimento-local/</guid><description><![CDATA[<p>The <code>.dev</code> extension is no longer a local domain option to use in your application development configuration, what would be the best domain extensions to replace <code>dev</code>?</p>
<p>Since version 63 of the Chrome web browser (released in December 2017), the same force all domains ending in <code>dev</code> (and <code>.foo</code>) to be redirected to <a href="/en/http/">https</a> by means of a pre-loaded <code>HTTP Strict Transport Security</code> (HSTS) header.</p>
<p>From July 2018 Firefox also started this forced redirection to the HTTPS <code>.DEV</code> domains.</p>]]></description><enclosure url="https://mazer.dev/en/blog/posts/extensoes-de-dominio-para-usar-em-desenvolvimento-local/featured-www.webp" length="117686" type="image/webp"/></item><item><title>Laradock – Containers Docker for your PHP and Laravel Projects - Introduction</title><link>https://mazer.dev/en/docker/laradock/introduction-containers-docker-php-laravel/</link><pubDate>Tue, 31 Aug 2021 00:50:46 +0000</pubDate><guid>https://mazer.dev/en/docker/laradock/introduction-containers-docker-php-laravel/</guid><description><![CDATA[<p>Laradock is a complete web development environment for Docker, which was born to meet the development of Laravel systems and currently provides containers for various situations for PHP development.</p>
<p>It supports a variety of common services, all pre-configured to provide a PHP development environment, [Laravel]({&lt;Relref &ldquo;Laravel&rdquo;&gt;}}), WordPress, Joomla, Drupal, Cakephp, among others, and totally ready to up and ease use.</p>
<p>In this introductory article you will have an overview of the project, the features of Laradock, and a quick configuration explanation.
To go further with it&rsquo;s use and settings read the tutorials accessible by the section menu.</p>]]></description><enclosure url="https://mazer.dev/en/docker/laradock/introduction-containers-docker-php-laravel/featured-laradock.webp" length="6444" type="image/webp"/></item><item><title>Routing in Laravel does not work</title><link>https://mazer.dev/en/laravel/troubleshooting/rounting-laravel-does-not-working/</link><pubDate>Sat, 14 Aug 2021 00:12:45 +0000</pubDate><guid>https://mazer.dev/en/laravel/troubleshooting/rounting-laravel-does-not-working/</guid><description><![CDATA[<p>This article deals with the Laravel routing not to working in new projects, taking into account a very specific context, when you have new Apache server installations.</p>

<h2 id="problem-script" data-numberify>Problem script<a class="anchor ms-1" href="#problem-script"></a></h2>
<p>At some point you will start a new project with the newly installed project with the Laravel Framework, after running the standard command to create a new composer project:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">composer create-project laravel/laravel &lt;nome-do-projeto&gt; --prefer-dist
</span></span></code></pre></div><p>All dependencies downloaded and loaded by the compose, hosted permissions on the <code>storage</code> and <code>bootstrap/cache</code> folders, so to start the work you enter a test route and a checking controller, and here&rsquo;s the error <strong>404 (File Not Found)</strong> is returned.</p>]]></description><enclosure url="https://mazer.dev/en/laravel/troubleshooting/rounting-laravel-does-not-working/featured-laravel-route.webp" length="9678" type="image/webp"/></item><item><title>Install (deploy) Laravel PHP application in subdirectory with CPanel</title><link>https://mazer.dev/en/laravel/deploy/install-deploy-laravel-php-application-subdirectory-cpanel/</link><pubDate>Mon, 28 Jun 2021 23:58:36 +0000</pubDate><guid>https://mazer.dev/en/laravel/deploy/install-deploy-laravel-php-application-subdirectory-cpanel/</guid><description><![CDATA[<p>If you work with the PHP Framework <a href="/en/laravel/">Laravel</a>, you know that installing your application in a default directory of a VPS account or a shared server, without changes, will force you to run the application leaving the root directory as it will need to access it by the subdirectory <code>/public</code>. For example: <code>http://mydomain.com/public</code></p>
<p>In case of access to the root directory, in this example, the Laravel program PHP files will be exposed and accessible, including your setting file of environmental variables: <code>.env</code>, with database keys and passwords and APIs services.</p>]]></description><enclosure url="https://mazer.dev/en/laravel/deploy/install-deploy-laravel-php-application-subdirectory-cpanel/featured-install.webp" length="5640" type="image/webp"/></item><item><title>How to fix the “Target Class [Controller] does not exist” error in Laravel 8</title><link>https://mazer.dev/en/laravel/troubleshooting/how-to-fix-the-target-class-controller-does-not-exist-error-in-laravel/</link><pubDate>Wed, 24 Mar 2021 10:08:00 +0000</pubDate><guid>https://mazer.dev/en/laravel/troubleshooting/how-to-fix-the-target-class-controller-does-not-exist-error-in-laravel/</guid><description><![CDATA[<p>The Laravel 8 framework brings a series of <a href="/laravel-8/">new features</a>, improvements in known functions and some structural changes. One of these changes was the removal of the standard &ldquo;<em>Namespacing</em>&rdquo;, so it has generated some confusion and the &ldquo;Target Class [Controller] not exist&rdquo; error.</p>
<p>This change is compatible with previous versions, which means that older projects that used Laravel 7.x can easily migrate to Laravel 8.X, without changing anything because the basic structure of [its components](/componentsFramework-Laravel Architecture/) is maintained, but new projects created in Laravel 8 should take this into consideration.</p>]]></description></item><item><title>What's New in Laravel Version 8 Release</title><link>https://mazer.dev/en/blog/news/novidades-laravel-versao-8/</link><pubDate>Tue, 08 Sep 2020 22:38:51 +0000</pubDate><guid>https://mazer.dev/en/blog/news/novidades-laravel-versao-8/</guid><description><![CDATA[<p><a href="https://laravel.com" target="_blank" rel="noopener noreferrer">Laravel<i class="fas fa-external-link-square-alt ms-1"></i></a> 8 has been released and includes many new features such as <strong>Laravel Jetstream</strong>,
a unique directory for <em>models</em>, model factory classes, migration <em>squashing</em>, improvements to quota
limitations (<em>rate-limit)</em>, <em>helpers</em> for testing dates and <em>time</em>, dynamic blade components, and many other features.</p>
<p>Before we continue the article with the new features of version 8, remember that starting from version 6,
Laravel follows SemVer (Semantic Version) and releases a new major version every six months.</p>]]></description><enclosure url="https://mazer.dev/en/blog/news/novidades-laravel-versao-8/featured-laravel-logo.png" length="8776" type="image/png"/></item><item><title>REST e RESTFul APIs</title><link>https://mazer.dev/en/software-engineering/webservices/rest/</link><pubDate>Wed, 26 Aug 2020 10:50:00 +0000</pubDate><guid>https://mazer.dev/en/software-engineering/webservices/rest/</guid><description><![CDATA[<p>In this article you will understand Roy Fielding&rsquo;s theory, which described the software architecture most used today for
building APIs and integrating systems in the cloud, <strong>REST</strong> (Representational State Transition), which served as the basis
for the APIs of modern software in the cloud ( or in <em>cloud</em> if you prefer).</p>
<p>In addition to this article, as complementary material, a video lesson is available that deals with REST API concepts and
slides for follow-up.</p>]]></description></item><item><title>What is the HTTP protocol</title><link>https://mazer.dev/en/http/http-protocol-overview/</link><pubDate>Mon, 03 Aug 2020 11:00:12 +0000</pubDate><guid>https://mazer.dev/en/http/http-protocol-overview/</guid><description><![CDATA[<p>We can say that <a href="/en/blog/posts/network-protocols-what-is/">HTTP network protocol</a> <em>highway</em> that sustains <strong>all</strong> the communication and operation of web systems and the communication of APIs <a href="/rest">REST</a> or SOAP between mobile applications and backend servers.</p>
<p>In other words:</p>
<div class="alert alert-info" role="alert"><i class="alert-icon fas fa-fw fa-info-circle me-1"></i>
<p>Virtually all information on the Internet <strong>travels</strong> using the HTTP communication protocol</p>
<p><cite>Mazer Junior, A.</cite></p>
</div>

<h2 id="what-is-http" data-numberify>What is HTTP<a class="anchor ms-1" href="#what-is-http"></a></h2>
<p>HTTP is the acronym for <em>Hypertext Transfer Protocol</em>. It is a network communication protocol used to exchange information between systems (applications) that allows data transfer between computer networks, being the main protocol for the development of web systems.</p>]]></description><enclosure url="https://mazer.dev/en/http/http-protocol-overview/featured-http.jpg" length="41941" type="image/jpeg"/></item></channel></rss>