nemundo / framework
Nemundo Framework
Installs: 1 575
Dependents: 7
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- nemundo/core: *
- nemundo/db: *
- nemundo/html: *
README
Installation
composer init
composer require nemundo/framework
Do not create an .ignore File.
Project Intallation
php -r "require __DIR__.'/vendor/autoload.php';(new \Nemundo\Dev\ProjectBuilder\ProjectBuilderScript())->createProject();"
Add Autoloader (composer.json)
"autoload": {
"psr-4": {
"ProjectNamespace\\": "src/"
}
}
Run Composer Update
composer update
Initial Setup
php bin/init.php
Setup
php bin/setup.php
Admin Setup
php bin/admin_setup.php
Create Admin User
php bin/cmd.php admin-user
Password Reset
php bin\cmd.php user-password-reset
Usergroup Clean
php bin/cmd.php usergroup-clean
Htaccess Build
php bin/cmd.php apache-password
Delete unused Tables
sudo php bin/cmd.php model-clean
Database Backup
sudo php bin/cmd.php backup-dump
sudo php bin/cmd.php backup-import
sudo php bin/cmd.php backup-clean
Model Image Resize
sudo php bin/cmd.php model-image-resize
Db Index Delete
php bin/cmd.php db-index-delete
Project Clean (Delete Databas/Files)
php bin/cmd.php project-clean
Copy App Package
php bin/package_setup.php
Scheduler Installation
Folgender Befehl muss als Cronjob eingerichtet werden.
php bin/cmd.php scheduler-check
cronjob -e
* * * * * php /srv/web/[project]/bin/cmd.php scheduler-check > /srv/web/[project]/log/scheduler-check.log 2>&1
Cache Path
Im config.ini muss der Pfad definiert werden.
cache_path=
Config Setup with Argument
php -r "require __DIR__.'/vendor/autoload.php';(new \Nemundo\Project\Config\ProjectConfigArgumentBuilder())->createConfig();"
(new \Nemundo\Project\Config\ProjectConfigArgumentBuilder())->createConfig('/srv/web/project/', 'localhost', 3306, 'root', 'password', 'db1');
Dependency
composer require symfony/mailer
Rss Reader
composer require laminas/laminas-http
composer require laminas/laminas-feed
"laminas/laminas-feed": "*",
"laminas/laminas-http": "*"
Excel
composer require phpoffice/phpspreadsheet
Word
composer require phpoffice/phpword
Mobile Detection
composer require mobiledetect/mobiledetectlib
SSH
composer require phpseclib/phpseclib
Linux
Scheduler Job beenden
ps -aux kill -9 pid_number