{"repo":"samsonasik/ci4-album","free":true,"listed":false,"github":"https://github.com/samsonasik/ci4-album","clone":"git clone https://github.com/samsonasik/ci4-album.git","description":"🔥 CodeIgniter 4 example Album module uses Domain Driven Design Architecture with Tactical Pattern","language":"PHP","stars":94,"topics":["codeigniter","module","codeigniter4","reusable","database","tested","album","query","prg","post-redirect-get"],"license":"MIT","category":"databases-storage","readme_excerpt":"Example of CodeIgniter 4 Module : Album Module ============================================== Feature ------- - [x] CRUD with - [x] Domain Driven Design Architecture with Tactical Pattern - [x] Post/Redirect/Get pattern - [x] Pagination, configurable via Album\\Config\\Album class. - [x] Search - [x] Layout - [x] Flash Message after add/edit/delete Installation ------------ 1. Get The Module a. require via composer OR b. manually, by go to app/ThirdParty directory in project root, and clone this repository to the app/ThirdParty directory: see https://help.github.com/en/github/authenticating-to-github/error-permission-denied-publickey# for common clone issue troubleshooting. then register \"Album\" to App/Config/Autoload.php 's psr4 property: 2. Set CI ENVIRONMENT, base url, index page, and database config in your .env file based on your existing database (If you don't have a .env file, you can copy first from env file: cp env .env first). If the database not exists, create database first. 3. Run db migration 4. Run db seed (Optional) 5. Run development server: 6. Open in browser http://localhost:8080/album Settings -------- Configure pagination per-page, by copy src/Config/Album.php file into app/Config directory, and modify the namespace to Config : In above class, the paginationPerPage property's value can be changed. Testing ------- On very first run, you need to create database, and migration for testing purpose with set phpunit.xml file from phpunit.xml.dist : and then confi","default_branch":null,"files":null,"tree":[],"storefront":"/r/samsonasik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/samsonasik/ci4-album/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}