Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikarashihatsu/codeigniter4-kit
A starter kit for CodeIgniter4
https://github.com/nikarashihatsu/codeigniter4-kit
alpinejs codeigniter codeigniter4 daisyui hacktoberfest hacktoberfest-2023 heroicons php starter-kit tailwindcss
Last synced: 3 months ago
JSON representation
A starter kit for CodeIgniter4
- Host: GitHub
- URL: https://github.com/nikarashihatsu/codeigniter4-kit
- Owner: NikarashiHatsu
- License: mit
- Created: 2022-01-23T02:55:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T14:15:36.000Z (over 1 year ago)
- Last Synced: 2024-10-14T00:20:36.132Z (3 months ago)
- Topics: alpinejs, codeigniter, codeigniter4, daisyui, hacktoberfest, hacktoberfest-2023, heroicons, php, starter-kit, tailwindcss
- Language: PHP
- Homepage:
- Size: 890 KB
- Stars: 21
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeIgniter 4 Starter Kit
To me who uses Laravel a lot, it is really painful to find a good starter kit
for a new project. Laravel does a lot of starting points and because there are
visibly none for CodeIgniter, I decided to create a starter kit for CodeIgniter.This starter kit is a mix with Laravel-like project, with the Laravel's
starting packages, so hopefully this starter kit has a good value. Any PRs
regarding improvement to the starting kit is welcome.To-do:
- [x] Basic Authentication
- [ ] User control to edit the user's information via DashboardThe package includes:
- Laravel mix (to mimic Laravel's asset compiling)
- TailwindCSS w/ DaisyUI (you can remove DaisyUI if you prefer to use plain TailwindCSS)
- AlpineJS
- ChartJS
- jQuery
- Simplelightbox
- Sweetalert2## Getting started
- Clone this project.
- Run `composer install`.
- Run `npm install`.
- Run `npm run dev` or `npm run watch` to compile assets.## Authentication
The authentication method is based on the `User` model. Inside the
`LoginController`, the `LoginUser` service will set the user's information to
the session. In default, the authentication only provide `username` as the
authentication key, you can override the key for whatever you like such as
`email`, but you have to make sure that field is exists in the `users` table.