Kickstart your development journey with a robust, ready-to-use Laravel foundation. Streamline your web projects, enhance productivity, and bring your creative ideas to life effortlessly. Designed for developers who value efficiency and innovation in their web development process
This project requires PHP 8.3 and Laravel 11 for optimal performance and compatibility.
- Cloning the project:
git clone https://github.com/4selet/4selet-v2.git && cd ./4selet-v2
- Create the environment file
.env
in the root of the project.
cp .env.example .env
- Turn on the PHP Extension
Sodium
- Run the project dependencies:
composer install
- Generate your environment key:
php artisan key:generate
- Regenerate the autoload files:
composer dump-autoload
- Install all node dependencies:
npm install
- Run all migrations:
php artisan migrate
- Run all database seed:
php artisan db:seed
- Create a link for public files
php artisan storage:link
- Done! Run
php artisan serve
to start.
php artisan queue:work
Executes the event list, necessary for sending notifications or performing background tasks.
php artisan queue:work --tries=1
Change QUEUE_CONNECTION
in .env
to database
. For example: QUEUE_CONNECTION=database
php artisan schedule:work
Executes Scheduled Tasks
Note: In production, use Supervisor. Read more in SUPERVISOR.md
Creation of a New Module (introduction)
Create a new module:
php artisan module:make module-name
Create a new controller for the module:
php artisan module:make-controller module-name ControllerName
php artisan module:make-migration create_name_table module-name