Lawyer - Law and Attorney Website CMS

# Lawyer

## Law and Attorney Website CMS

- Author Portfolio: https://codecanyon.net/user/phpscriptpoint/portfolio
- Support Email: phpscriptpoint@gmail.com

### Introduction

Lawyer is a responsive, user-friendly, translatable and easy-to-use content management system for attorney and lawyer. Using this CMS, you can easily build a nice, modern and clean lawyer, law agency or legal website that have almost all the pages like lawyers, about, service, project, blog, contact etc.

This CMS is developed using the popular PHP framework Laravel. So, it can easily be customized by other programmers. Developers will be able to understand the source code easily and can modify the database and files if needed.

The source code of this script is very easy and clean. The interface is user-friendly. Non-technical users can modify every contents, photos etc.

### Laravel Version Used:

Laravel 12

### Features

This CMS script has the following features:

- Easy and simple interface to use
- Fully responsive for any kind of device
- Powerful admin backend
- Clean coding with proper commenting
- Secured coding against SQL injection, XSS attack etc.
- Direct access or invalid URL press stopped for each pages
- Statistics of some data in dashboard
- Manage Blog Category
- Manage Blog
- Complete Blog comment management system
- Complete Blog tag management system
- Manage photo gallery and video gallery
- Manage Page Items
- Manage Menu Items
- Manage Counter Items
- Manage home page video section
- Manage Lawyers
- Manage Services
- Manage Testimonials
- Manage FAQs
- Ajax based subscription management
- Export subscriber system as CSV
- SEO title and meta description setup for front end pages
- SEO friendly URL structure
- Manage top bar and footer items.
- TinyMCE Editor used
- Manage Preloader
- Manage 404 Page
- Manage Maintenance Mode and Custom Options with date-time counter
- Manage Sticky header status
- Manage Google Analytic 4
- Manage Tawk live chat system
- Manage Translation and setup LTR and RTL
- Manage Theme Color option
- Manage Cookie Consent option
- Manage Currency Symbol option
- Manage Clear Cache option
- Manage Captcha option. No need to setup any key. Easiest Installation.

### Requirements

The Laravel framework has a few system requirements. You should ensure that your web server has the following minimum PHP version and extensions:

- PHP >= 8.2
- Ctype PHP Extension
- cURL PHP Extension
- DOM PHP Extension
- Fileinfo PHP Extension
- Filter PHP Extension
- Hash PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PCRE PHP Extension
- PDO PHP Extension
- Session PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension

### Installation

In order to install the CMS, please follow these steps:

1. Download the main zip file from Codecanyon and extract it. You will get total 2 folders in there: cms and cms_OLD.

2. The cms_OLD folder is the previous version of this application which was developed using vanilla PHP. If you are my old customer and want something from the old version, you can check if for reference. If you are new customer, just avoid that and always use cms folder. The cms folder is the new version which is developed using Laravel framework. So, open this cms folder.

3. In this cms folder, you will get total 3 folders. These are documentation, database and main_files. This main_files folder contains the main source codes of the project.

4. Compress this main_files folder and name something like main_files.zip. Then upload this zip file into your server using FTP or Cpanel. Extract this into the server and use. You can install this application into the root or any subdomain.

5. Create mysql database using cpanel or your hosting provider's system. Then import the lawyer.sql file (you will get it in database folder) into your created database.

6. Open up the .env file of root with any text editor (for example: VS Code Editor or other).

7. In this .env file, you will get all the important configuration settings. You must have to edit those properly to work the script without any problem. Just change the mentioned values and the script will work without any problem.

APP_NAME: This will be your application name. So give any related name here.
DB_HOST: Enter your database host name here. Normally it becomes localhost.
DB_PORT: Enter your database port number here. You can generally skip it to default.
DB_DATABASE: Create a database in your host (localhost or webhost) and put name.
DB_USERNAME: Username of the database you created.
DB_PASSWORD: Password of the database you created.
MAIL_MAILER: Put smtp here. Do not change it.
MAIL_HOST: Enter your smtp host name here. For example, if you are using gmail, then put smtp.gmail.com.
MAIL_PORT: Enter your smtp port number here.
MAIL_USERNAME: Enter your smtp username here.
MAIL_PASSWORD: Enter your smtp password here.
MAIL_ENCRYPTION: Enter mail encryption here. It will be normally tls or ssl.
MAIL_FROM_ADDRESS: Enter your email address here.

### Admin Panel Login

In order to login to the admin panel, go to the url below:

http://www.yourwebsite.com/admin

Here "yourwebsite" is your main domain name. Just after your main url, you have to put "admin" and that's it.

Default Admin Login Credentials are:

Email: admin@gmail.com
Password: 1234

### Profile Information

In order to change the profile information like admin login email, password etc., go to top right corner. Click on the photo and go to Edit Profile section.

### Translation Option

If you want to translate the text of the website into your own language, you can do that easily from the translation options.

### 404 Page Setup

If you want to customize the 404 error page, you can do that easily from the 404 page settings.

### Maintenance Mode

If you want to enable maintenance mode, you can do that easily from the maintenance mode settings.

### Cookie Consent

If you want to enable cookie consent, you can do that easily from the cookie consent settings.

### Tawk Live Chat

If you want to enable Tawk Live Chat, you can do that easily from the Tawk Live Chat settings.

### Theme Color Setup

If you want to change the theme color of your website, you can do that easily from the theme color settings.

### RTL Setup

If your language is RTL based (like Arabic), then you can change the default LTR layout into RTL very easily.

### Menu Manage

You can show or hide any menu from the menu manage option.

### Update History

You will get all the details about an update in this section:

#### Version: 2.0 (February 09, 2026)

    Overall Changes:
    - Upgraded the script to Laravel 12
    - Improved security and performance
    - Completely changed the front end and back end template. It is a modern design now.

#### Version: 1.6 (August 21, 2022)

    Overall Changes:
    - Changed the phpmailer codes for php 8+
    - Made the script compatible with php 8+

    Changed Files:
    - page.php
    - admin/forget-password.php
    - admin/news.php
    - assets/mail/Exception.php
    - assets/mail/OAuth.php
    - assets/mail/PHPMailer.php
    - assets/mail/POP3.php
    - assets/mail/SMTP.php

#### Version: 1.5 (February 26, 2022)

    Overall Changes:
    - Fixed minor bug in publisher profile page

    Changed Files:
    - admin/header.php

#### Version: 1.4 (July 28, 2021)

    Overall Changes:
    - Home menu selection option added
    - Color change option added
    - Fixed share button issue
    - Database settings table field type changed
    - Remove BASE_URL setup option from "config.php" file.
    So now BASE_URL will be automatically detected and customer does not need to enter it manually.

    Changed Files:
    - admin/settings.php
    - admin/menu.php
    - admin/config.php
    - admin/attorney.php
    - admin/attorney-edit.php
    - admin/slider.php
    - admin/slider-edit.php
    - admin/testimonial.php
    - admin/testimonial-edit.php
    - admin/partner.php
    - admin/partner-edit.php
    - admin/service.php
    - admin/service-edit.php
    - admin/page-edit.php
    - admin/profile-edit.php
    - header.php
    - news.php
    - assets/css/style.css

    Changed in Database:
    - tbl_settings: changed the field types varchar into text
    - Added new field in "tbl_settings". The field name is: website_color
    - Added new table: "tbl_menu_home"

#### Version: 1.3 (December 15, 2020)

    Overall Changes:
    - Replaced ckeditor with summernote.
    - Preloader on/off option added.
    - Google Recaptcha on/off option added.
    - SMTP email system added for all emails.
    - Admin panel forget password system added.
    - Changed database encode to UTF-8 for all tables.
    - Toastr floating messages added for front end.

    Removed Files:
    - root/assets/mail/contact.php

    Moved Files:
    - root/admin/style.css into root/admin/css/style.css

    Removed folder:
    - root/admin/ckeditor

    Changed Files:
    - root/page.php
    - root/header.php
    - root/footer.php
    - root/admin/config.php
    - root/admin/header.php
    - root/admin/footer.php
    - root/admin/settings.php
    - root/assets/css/style.css
    - root/assets/css/bootstrap.min.css
    - root/assets/css/responsive.css
    - root/admin/css/bootstrap.min.css

    Added Files:
    - root/admin/forget-password.php
    - root/admin/reset-password.php
    - root/admin/reset-password-success.php
    - root/admin/fonts/summernote.eot
    - root/admin/fonts/summernote.ttf
    - root/admin/fonts/summernote.woff
    - root/admin/js/summernote.js
    - root/admin/css/summernote.css
    - root/assets/css/toastr.min.css
    - root/assets/js/toastr.min.js
    - root/assets/mail/class.phpmailer.php
    - root/assets/mail/class.smtp.php
    - root/assets/mail/Exception.php
    - root/assets/mail/OAuth.php
    - root/assets/mail/PHPMailer.php
    - root/assets/mail/POP3.php
    - root/assets/mail/SMTP.php

    Database Table Change:
    - tbl_settings (added the SMTP fields, recaptcha and preloader status fields here)
    - tbl_user (added the token field)

    Database Table Unicode Change:
    - Changed database encode to UTF-8 for all tables.
    In order to apply this change, paste the following code in SQL section of phpmyadmin (https://prnt.sc/w291ea).
    Do this for all the tables.

    ALTER TABLE your_table_name CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;

#### Version: 1.2 (March 31, 2019)

    - Added Google re-captcha into the contact page form.
    - Updated the documentation about the setup of re-captcha site key.
    - Updated the database to add re-captcha site key.

#### Version: 1.1 (March 31, 2019)

    - Fixed: Service box responsiveness issue.

#### Version: 1.0 (November 07, 2017)

    - Initial Release

### Support

Email here to get support: phpscriptpoint@gmail.com