My company has released a tool for the internal control of domains, subdomains, certificates and URLs status.
https://github.com/nitsnets/Domains-Panel
The software is Laravel 8 + PHP 8 + MySQL 8.
Repository README is in spanish, but is easy to follow all steps:
Create the MySQL database.
-
Clone the repository.
git clone https://github.com/nitsnets/Domains-Panel.git
-
Launch first time composer install with (remember to use PHP 8.0 binary).
composer install --no-scripts && composer install
-
Configure the .env file with the necessary data.
cp .env.example .env
-
Generate the application key.
php artisan key:generate
-
Regenerate the cache.
composer artisan-cache
-
Launch the initial migration.
php artisan migrate
-
Launch the seeder.
php artisan db:seed --class = Database\\Seeders\\Database
-
Configure the cron task for the user related to the project:
* * * * * cd /var/www/status.domains.com/httpdocs && php artisan schedule:run >> storage/logs/artisan-schedule-run.log 2>&1
-
Create the access user (User registration is only available from the terminal).
php artisan user:create --email=user@domain.com --name=Admin --password=StrongPassword2
Configure the server for web access with
DOCUMENT_ROOT
in public.
As design pattern we are using a custom domains pattern with factories instead dependency injection: https://github.com/nitsnets/Domains-Panel/tree/master/app/Domains
Feedback is welcome :)
Top comments (0)