Sistem Induk Ma'had Al-Imam Asy-Syathiby
This project based of a TALL stack admin panel starter kit. This started can be used with Laravel 8+, Laravel Livewire 2.5.4+ and AlpineJS 3+.
git clone https://github.com/CreatorB/al-umm.git
cd al-umm
composer install
npm install && npm run dev
php artisan storage:link
Configure the database with your credentials
php artisan migrate --seed
** Dev update, adding title to schedules table**
composer require doctrine/dbal
php artisan migrate --path=/database/migrations/2025_02_23_000001_add_title_to_schedules_table.php
php artisan schedules:update-titles
Useful commands in development
// check current links
php artisan route:list
php artisan route:list --method=GET
php artisan route:list --name=user
php artisan route:list --json
php artisan view:clear && php artisan optimize:clear && rm -rf storage/framework/views/*
// if you have adding new packages, better to run below command again :
composer install ; composer dump-autoload
// or composer update --lock
- Reusable Blade Components
- Custom Error Templates
- Filepond Uploader
- Flatpicker
- Masked Input
composer install --optimize-autoloader --no-dev
php artisan config:cache
php artisan route:cache
php artisan view:cache
chmod -R 775 storage
chmod -R 775 bootstrap/cache
ln -s ../storage/app/public public/storage
#optional
chmod -R 755 /path/to/your/laravel/public
find /path/to/your/laravel/public -type f -exec chmod 644 {} \;
.htaccess @ public directory
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
</IfModule>
.htaccess @ root directory
# unindex search engine
User-agent: *
Disallow: /
# Redirect all requests to the /public folder
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
Since the error occurs when running post-autoload-dump, try installing Composer without executing automatic scripts:
composer install --no-scriptsThen, manually run the following commands to complete the installation:
php artisan clear-compiled
php artisan config:clear
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan optimizeIf your application runs correctly, then the issue is only with Composer scripts.
Try using Composer PHAR, as the installed Composer version on the server might have a bug or be incompatible with PHP 8.3.
-
Download Composer PHAR on your hosting server:
curl -sS https://getcomposer.org/installer | php -
Use Composer PHAR to install dependencies:
php composer.phar install --no-dev --optimize-autoloader
If this works, remove the Composer installed via cPanel and use composer.phar as the default.
Since shared hosting restricts some PHP functions, you can install dependencies on your local machine and then upload the vendor/ folder to the hosting server.
-
On your local machine, run:
composer install --no-dev --optimize-autoloader
-
Upload the entire
vendor/folder topublic_html/al-umm/vendor/via FTP or cPanel File Manager. -
Ensure the
.envfile and other configuration files are correctly set on the hosting server.
docker run -d -p 8001:8000 -p 8003:80 -p 8005:3306 -v /home/creatorbe/dev:/var/www/html/dev --name dev lampn
docker exec -it dev bash
composer install
npm install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
php artisan serve --host=0.0.0.0
npm run dev
CREATE USER 'root'@'172.17.0.1' IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'172.17.0.1';
FLUSH PRIVILEGES;
CREATE DATABASE al_umm;
We welcome contributions from the community to help improve Syathiby Mail. To contribute, please follow these steps:
-
Fork the Repository:
- Click the "Fork" button at the top right of the repository page.
-
Clone Your Fork:
git clone https://github.com/CreatorB/al-umm.git cd al-umm -
Create a New Branch:
git checkout -b feature/your-feature-name
-
Make Your Changes:
- Implement your feature or bug fix.
- Ensure that your code follows the project's coding standards.
-
Commit Your Changes:
git commit -m "Add your commit message here" -
Push to Your Fork:
git push origin feature/your-feature-name
-
Create a Pull Request:
- Go to the original repository and click the "New Pull Request" button.
- Select your branch and submit the pull request.
It is open-sourced software licensed under the MIT license.