Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 119 | All time: 9,525 This week: 455![]() |
Version | License | PHP version | Categories | |||
laravel-html-encodin 1.0.1 | The PHP License | 5 | HTML, PHP 5 |
Description | Author | |
This package can obfuscate HTML encoding it a JavaScript code. |
|
You can install the package via composer:
composer require php-junior/laravel-html-encrypt
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
PhpJunior\LaravelHtmlEncrypt\LaravelHtmlEncryptServiceProvider::class,
And
php artisan vendor:publish --provider="PhpJunior\LaravelHtmlEncrypt\LaravelHtmlEncryptServiceProvider"
This is the contents of the published config file:
return [
'encrypt' => env('HTML_ENCRYPT', true),
'disable_right_click' => true,
'disable_ctrl_and_F12_key' => true,
];
One major reason for the success of the World Wide Web is undeniably the openness of HTML. HTML files are basically plain text documents, meaning software applications and human users can easily create, read, and update web pages. The open nature of HTML not only allows users to edit websites with nothing more than a simple text editor, it also enables search engines to spider the web and forms the basis for a wide range of web-related applications for any platform you can imagine.
However, as a web designer or website owner you may encounter situations in which you feel a need for protecting your HTML, CSS or JavaScript code from being viewed and reused .
HTML encryption/decryption techniques are based on JavaScript. The encrypted HTML code, which is saved inside the HTML document, is decrypted at runtime through JavaScript and written directly into the browser window using the document.write(?) function. This ensures that any JavaScript-enabled web browser can load and display the pages without additional components or plugins.
The MIT License (MIT). Please see License File for more information.
Hey dude! Help me out for a couple of :beers:!
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
![]() | laravel-html-encodin-2017-12-06.zip 6KB |
![]() | laravel-html-encodin-2017-12-06.tar.gz 4KB |
![]() | Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.