{"id":22229607,"url":"https://github.com/julio101290/boilerplatecustumers","last_synced_at":"2026-02-25T22:03:05.648Z","repository":{"id":266167485,"uuid":"897536747","full_name":"julio101290/boilerplatecustumers","owner":"julio101290","description":"CodeIgniter4 Boilerplatecustumers CRUD MVC contain capture basic as name, lastname taxID and SAT Fields invoices CFDI 4.0","archived":false,"fork":false,"pushed_at":"2025-05-06T18:19:53.000Z","size":24398,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T23:48:41.653Z","etag":null,"topics":["cfdi","codeigniter","codeigniter-library","codeigniter4","sat"],"latest_commit_sha":null,"homepage":"https://shalom-now.blogspot.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/julio101290.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-02T19:55:28.000Z","updated_at":"2025-05-06T18:19:31.000Z","dependencies_parsed_at":"2024-12-02T23:41:02.071Z","dependency_job_id":null,"html_url":"https://github.com/julio101290/boilerplatecustumers","commit_stats":null,"previous_names":["julio101290/boilerplatecustumers"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/julio101290/boilerplatecustumers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julio101290%2Fboilerplatecustumers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julio101290%2Fboilerplatecustumers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julio101290%2Fboilerplatecustumers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julio101290%2Fboilerplatecustumers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julio101290","download_url":"https://codeload.github.com/julio101290/boilerplatecustumers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julio101290%2Fboilerplatecustumers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272446267,"owners_count":24936516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cfdi","codeigniter","codeigniter-library","codeigniter4","sat"],"created_at":"2024-12-03T01:11:31.139Z","updated_at":"2026-02-25T22:03:05.606Z","avatar_url":"https://github.com/julio101290.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.okvpn.org/julio101290/boilerplatecustumers/v/stable)](https://packagist.org/packages/julio101290/boilerplatecustumers) [![Total Downloads](https://poser.okvpn.org/julio101290/boilerplatecustumers/downloads)](https://packagist.org/packages/julio101290/boilerplatecustumers) [![Latest Unstable Version](https://poser.okvpn.org/julio101290/boilerplatecustumers/v/unstable)](https://packagist.org/packages/julio101290/boilerplatecustumers) [![License](https://poser.okvpn.org/julio101290/boilerplatecustumers/license)](https://packagist.org/packages/julio101290/boilerplatecustumers)\n\n## CodeIgniter 4 Boilerplate Custumers\nCodeIgniter4 Boilerplatecustumers CRUD MVC contain capture basic as name, lastname taxID and SAT Fields invoices CFDI 4.0\n\n\n## Requirements\n* PhpCfdi\\SatCatalogos\n* julio101290/boilerplatelog\n* hermawan/codeigniter4-datatables\n\n## Installation\n\n### Run commands\n\t\n \tcomposer require phpcfdi/sat-catalogos\n\n   \tcomposer require hermawan/codeigniter4-datatables\n\n     \tcomposer require julio101290/boilerplatelog\n\n\tcomposer require julio101290/boilerplatecompanies\n\n \tcomposer require julio101290/boilerplatebranchoffice\n\n   \tcomposer require julio101290/boilerplatecustumers\n\n### Run command for migration and seeder\n\n\tphp spark boilerplatecompanies:installcompaniescrud\n\n \tphp spark boilerplatelog:installlog\n\n  \tboilerplatebranchoffice:installbranchoffice\n\t\n   \tboilerplatecustumers:installcustumers\n\n ### BaseController.php Config\n\n Add SAT Catalogos Factory and use global variabes from conection DNS with SQLite\n\n like\n\n\t \u003c?php\n\t\n\tnamespace App\\Controllers;\n\t\n\tuse CodeIgniter\\Controller;\n\tuse CodeIgniter\\HTTP\\CLIRequest;\n\tuse CodeIgniter\\HTTP\\IncomingRequest;\n\tuse CodeIgniter\\HTTP\\RequestInterface;\n\tuse CodeIgniter\\HTTP\\ResponseInterface;\n\tuse Psr\\Log\\LoggerInterface;\n \t//ADD\n\tuse PhpCfdi\\SatCatalogos\\Factory;\n\t\n\t/**\n\t * Class BaseController\n\t *\n\t * BaseController provides a convenient place for loading components\n\t * and performing functions that are needed by all your controllers.\n\t * Extend this class in any new controllers:\n\t *     class Home extends BaseController\n\t *\n\t * For security be sure to declare any new methods as protected or private.\n\t */\n\tabstract class BaseController extends Controller\n\t{\n\t    /**\n\t     * Instance of the main Request object.\n\t     *\n\t     * @var CLIRequest|IncomingRequest\n\t     */\n\t    protected $request;\n\t\n\t    /**\n\t     * An array of helpers to be loaded automatically upon\n\t     * class instantiation. These helpers will be available\n\t     * to all other controllers that extend BaseController.\n\t     *\n\t     * @var array\n\t     */\n\t    protected $helpers = [];\n\t    public $catalogosSAT;\n\t    public $unidadesSAT;\n\t    /**\n\t     * Be sure to declare properties for any property fetch you initialized.\n\t     * The creation of dynamic property is deprecated in PHP 8.2.\n\t     */\n\t    // protected $session;\n\t\n\t    /**\n\t     * Constructor.\n\t     */\n\t    public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)\n\t    {\n\t        // Do Not Edit This Line\n\t        parent::initController($request, $response, $logger);\n\t\n\t        // Preload any models, libraries, etc, here.\n\t\n\t        // E.g.: $this-\u003esession = \\Config\\Services::session();\n\t        \n\t        date_default_timezone_set(\"America/Mazatlan\");\n\t\n\t\t//ADD\n\t        $dsn = \"sqlite:\".ROOTPATH.\"writable/database/catalogossat.db\";\n\t        $factory = new Factory();\n\t        $satCatalogos = $factory-\u003ecatalogosFromDsn($dsn);\n\t        $this-\u003ecatalogosSAT = $satCatalogos;\n\t        \n\t       \n\t       \n\t    }\n\t}\n\n \n### Make folder and download Database SAT Catalogs\n* Download and uncompress the file https://github.com/phpcfdi/resources-sat-catalogs/releases/latest/download/catalogs.db.bz2\n* Put in the folder writable/database/catalogossat.db\n\n### Make the menu\n![image](https://github.com/user-attachments/assets/82de5be4-2a71-4aa5-ad9d-5e30e51a025a)\n\n\n\n# Ready\n![image](https://github.com/user-attachments/assets/d3c731a6-96e1-4afe-9ec7-7f1466056151)\n\n\n\nUsage\n-----\nYou can find how it works with the read code routes, controller and views etc. Finnally... Happy Coding!\n\nChangelog\n--------\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\nContributing\n------------\nContributions are very welcome.\n\nLicense\n-------\n\nThis package is free software distributed under the terms of the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulio101290%2Fboilerplatecustumers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulio101290%2Fboilerplatecustumers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulio101290%2Fboilerplatecustumers/lists"}