Content management system for laravel developers’. It’s easy to install and run.
The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it’s highly recommended that you use Homestead as your local Laravel development environment.
However, if you are not using Homestead, you will need to make sure your server meets the following requirements:
1 2 3 4 5 6 |
PHP >= 7.0.0 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension |
Run create-project command with composer to install this project.
Here is the full installation command –
1 |
composer create-project ratulhasan/laravel-cms |
Now Change this options bellow within your .env,
1 2 3 |
DB_DATABASE=homestead // your database name DB_USERNAME=homestead // your database user name DB_PASSWORD=secret // your database password |
1 2 3 4 5 |
MAIL_DRIVER=smtp // change it as your desire MAIL DRIVER MAIL_HOST=smtp.mailtrap.io // change it as your desire MAIL HOST MAIL_PORT=2525 // change it as your desire MAIL PORT MAIL_USERNAME=null // change it as your desire MAIL USERNAME MAIL_PASSWORD=null // change it as your desire MAIL PASSWORD |
Now run
1 |
php artisan migrate |
1 |
php artisan db:seed |
run project.
The stream or file “/var/www/html/laravel-cms/storage/logs/laravel.log” could not be opened: failed to open stream: Permission denied
if see this kind of error
just run this command from outside your project root directory to permit read and write
1 |
sudo chmod -R 777 [directory_name] |
1 |
sudo gedit /etc/apache2/apache2.conf |
Then find the line where there is
1 2 3 4 5 6 7 8 9 |
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> |
replace “None” with “All”
AllowOverride All
Admin url: project/root/admin/login
Email: admin@example.com
Password: 123456
This project is licensed under the MIT License – see the LICENSE.md file for details